{"id":102203,"date":"2026-09-08T11:12:23","date_gmt":"2026-09-08T03:12:23","guid":{"rendered":"https:\/\/www.wsisp.com\/helps\/102203.html"},"modified":"2026-09-08T11:12:23","modified_gmt":"2026-09-08T03:12:23","slug":"%e5%a4%a7%e5%8e%82-c-c-2023-2025-%e9%9d%a2%e8%af%95%e9%a2%98%e6%b1%87%e6%80%bb","status":"publish","type":"post","link":"https:\/\/www.wsisp.com\/helps\/102203.html","title":{"rendered":"\u5927\u5382 C\/C++ 2023\u20132025 \u9762\u8bd5\u9898\u6c47\u603b"},"content":{"rendered":"<h2 id=\"%E2%80%8B%E7%BC%96%E8%BE%91\" style=\"text-align:center\"><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"200\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/09\/20260908031222-6a9f7d16531c7.jpg\" width=\"200\" \/><\/h2>\n<p>\u4f60\u5237\u4e86\u51e0\u5341\u5957\u5927\u5382\u9762\u7ecf&#xff0c;\u53d1\u73b0\u8003\u6765\u8003\u53bb\u5c31\u662f\u90a3\u51e0\u4e2a\u6838\u5fc3\u5751&#xff1a;\u865a\u8868\u5e03\u5c40\u3001\u667a\u80fd\u6307\u9488\u5faa\u73af\u5f15\u7528\u3001vector \u6269\u5bb9\u3001epoll \u7684 ET\/LT\u3001TCP \u7684 TIME_WAIT\u2026\u2026\u4f46\u95ee\u9898\u662f\u4e0d\u77e5\u9053\u54ea\u5bb6\u7231\u95ee\u54ea\u4e2a\u3001\u54ea\u4e2a\u5b63\u8282\u66f4\u96be\u3001\u53cc\u975e\u8be5\u600e\u4e48\u6392\u4f18\u5148\u7ea7\u3002\u672c\u7bc7\u662f\u95ee\u9898\u6e05\u5355\u7bc7&#xff1a;\u53ea\u6c47\u603b\u5341\u4e8c\u5bb6\u5927\u5382\u8fd1\u4e09\u5e74\u7684 C\/C&#043;&#043; \u9762\u8bd5\u771f\u9898&#xff0c;\u6309\u300c\u5382\u300d\u62c6\u5f00\u3001\u6309\u300c\u96be\u5ea6\u300d\u9012\u8fdb\u3001\u6309\u300c\u5b63\u8282\u300d\u6807\u6ce8\u2014\u2014\u53ea\u5217\u9898\u76ee\u3001\u4e0d\u5199\u7b54\u6848\u3002\u6bcf\u9053\u9898\u7684\u8be6\u89e3\u7b54\u6848\u540e\u7eed\u6309\u5382\u5206\u7bc7\u5355\u72ec\u51fa\u3002\u5148\u628a\u9898\u76ee\u8fc7\u4e00\u904d&#xff0c;\u6478\u6e05\u81ea\u5df1\u8981\u8865\u54ea&#xff0c;\u518d\u9010\u7bc7\u5543\u7b54\u6848\u3002<\/p>\n<p style=\"margin-left:40px\">\n<p id=\"%E4%B8%80%E3%80%81%E5%AD%97%E8%8A%82%E8%B7%B3%E5%8A%A8%EF%BC%88%E9%9A%BE%E5%BA%A6%20%E2%98%85%E2%98%85%E2%98%85%E2%98%86%EF%BC%8C%E7%AE%97%E6%B3%95%E6%9D%83%E9%87%8D%E6%9C%80%E9%AB%98%EF%BC%89-toc\" style=\"margin-left:40px\">\u4e00\u3001\u5b57\u8282\u8df3\u52a8&#xff08;\u96be\u5ea6 \u2605\u2605\u2605\u2606&#xff0c;\u7b97\u6cd5\u6743\u91cd\u6700\u9ad8&#xff09;<\/p>\n<p id=\"%E2%91%A0%20%E5%9F%BA%E7%A1%80%E5%B1%82%EF%BC%88C%2FC%2B%2B%20%E8%AF%AD%E6%B3%95%E3%80%81%E5%9F%BA%E7%A1%80%E6%95%B0%E6%8D%AE%E7%BB%93%E6%9E%84%EF%BC%89-toc\" style=\"margin-left:80px\">\u2460 \u57fa\u7840\u5c42&#xff08;C\/C&#043;&#043; \u8bed\u6cd5\u3001\u57fa\u7840\u6570\u636e\u7ed3\u6784&#xff09;<\/p>\n<p id=\"%E2%91%A1%20%E8%BF%9B%E9%98%B6%E5%B1%82%EF%BC%88%E5%AF%B9%E8%B1%A1%E6%A8%A1%E5%9E%8B%E3%80%81%E5%86%85%E5%AD%98%E3%80%81STL%E3%80%81OS%2F%E7%BD%91%E7%BB%9C%EF%BC%89-toc\" style=\"margin-left:80px\">\u2461 \u8fdb\u9636\u5c42&#xff08;\u5bf9\u8c61\u6a21\u578b\u3001\u5185\u5b58\u3001STL\u3001OS\/\u7f51\u7edc&#xff09;<\/p>\n<p id=\"%E2%91%A2%20%E9%AB%98%E9%9A%BE%E5%B1%82%EF%BC%88%E5%B9%B6%E5%8F%91%E3%80%81%E6%89%8B%E6%92%95%E3%80%81%E8%AE%BE%E8%AE%A1%EF%BC%89-toc\" style=\"margin-left:80px\">\u2462 \u9ad8\u96be\u5c42&#xff08;\u5e76\u53d1\u3001\u624b\u6495\u3001\u8bbe\u8ba1&#xff09;<\/p>\n<p id=\"%E4%BA%8C%E3%80%81%E8%85%BE%E8%AE%AF%EF%BC%88%E9%9A%BE%E5%BA%A6%20%E2%98%85%E2%98%85%E2%98%85%E2%98%85%EF%BC%8C%E5%BA%95%E5%B1%82%E6%B7%B1%E6%8C%96%E6%9C%80%E7%8B%A0%EF%BC%89-toc\" style=\"margin-left:40px\">\u4e8c\u3001\u817e\u8baf&#xff08;\u96be\u5ea6 \u2605\u2605\u2605\u2605&#xff0c;\u5e95\u5c42\u6df1\u6316\u6700\u72e0&#xff09;<\/p>\n<p id=\"%E2%91%A0%20%E5%9F%BA%E7%A1%80%E5%B1%82-toc\" style=\"margin-left:80px\">\u2460 \u57fa\u7840\u5c42<\/p>\n<p id=\"%E2%91%A1%20%E8%BF%9B%E9%98%B6%E5%B1%82-toc\" style=\"margin-left:80px\">\u2461 \u8fdb\u9636\u5c42<\/p>\n<p id=\"%E2%91%A2%20%E9%AB%98%E9%9A%BE%E5%B1%82-toc\" style=\"margin-left:80px\">\u2462 \u9ad8\u96be\u5c42<\/p>\n<p id=\"%E4%B8%89%E3%80%81%E9%98%BF%E9%87%8C%E5%B7%B4%E5%B7%B4%EF%BC%88%E9%9A%BE%E5%BA%A6%20%E2%98%85%E2%98%85%E2%98%85%E2%98%85%EF%BC%8C%E9%87%8D%20JVM%20%E4%B9%8B%E5%A4%96%E7%9A%84%20C%2B%2B%20%E5%9F%BA%E7%A1%80%20%2B%20%E7%B3%BB%E7%BB%9F%E8%AE%BE%E8%AE%A1%EF%BC%89-toc\" style=\"margin-left:40px\">\u4e09\u3001\u963f\u91cc\u5df4\u5df4&#xff08;\u96be\u5ea6 \u2605\u2605\u2605\u2605&#xff0c;\u91cd JVM \u4e4b\u5916\u7684 C&#043;&#043; \u57fa\u7840 &#043; \u7cfb\u7edf\u8bbe\u8ba1&#xff09;<\/p>\n<p id=\"%E2%91%A0%20%E5%9F%BA%E7%A1%80%E5%B1%82-toc\" style=\"margin-left:80px\">\u2460 \u57fa\u7840\u5c42<\/p>\n<p id=\"%E2%91%A1%20%E8%BF%9B%E9%98%B6%E5%B1%82-toc\" style=\"margin-left:80px\">\u2461 \u8fdb\u9636\u5c42<\/p>\n<p id=\"%E2%91%A2%20%E9%AB%98%E9%9A%BE%E5%B1%82-toc\" style=\"margin-left:80px\">\u2462 \u9ad8\u96be\u5c42<\/p>\n<p id=\"%E5%9B%9B%E3%80%81%E7%BE%8E%E5%9B%A2%EF%BC%88%E9%9A%BE%E5%BA%A6%20%E2%98%85%E2%98%85%E2%98%85%E2%98%86%EF%BC%8C%E5%81%8F%E4%B8%9A%E5%8A%A1%E8%90%BD%E5%9C%B0%20%2B%20%E5%B7%A5%E7%A8%8B%E7%BB%86%E8%8A%82%EF%BC%89-toc\" style=\"margin-left:40px\">\u56db\u3001\u7f8e\u56e2&#xff08;\u96be\u5ea6 \u2605\u2605\u2605\u2606&#xff0c;\u504f\u4e1a\u52a1\u843d\u5730 &#043; \u5de5\u7a0b\u7ec6\u8282&#xff09;<\/p>\n<p id=\"%E2%91%A0%20%E5%9F%BA%E7%A1%80%E5%B1%82-toc\" style=\"margin-left:80px\">\u2460 \u57fa\u7840\u5c42<\/p>\n<p id=\"%E2%91%A1%20%E8%BF%9B%E9%98%B6%E5%B1%82-toc\" style=\"margin-left:80px\">\u2461 \u8fdb\u9636\u5c42<\/p>\n<p id=\"%E2%91%A2%20%E9%AB%98%E9%9A%BE%E5%B1%82-toc\" style=\"margin-left:80px\">\u2462 \u9ad8\u96be\u5c42<\/p>\n<p id=\"%E4%BA%94%E3%80%81%E7%99%BE%E5%BA%A6%EF%BC%88%E9%9A%BE%E5%BA%A6%20%E2%98%85%E2%98%85%E2%98%85%EF%BC%8C%E9%87%8D%E7%AE%97%E6%B3%95%20%2B%20%E6%90%9C%E7%B4%A2%2F%E5%9F%BA%E7%A1%80%E6%9E%B6%E6%9E%84%EF%BC%89-toc\" style=\"margin-left:40px\">\u4e94\u3001\u767e\u5ea6&#xff08;\u96be\u5ea6 \u2605\u2605\u2605&#xff0c;\u91cd\u7b97\u6cd5 &#043; \u641c\u7d22\/\u57fa\u7840\u67b6\u6784&#xff09;<\/p>\n<p id=\"%E2%91%A0%20%E5%9F%BA%E7%A1%80%E5%B1%82-toc\" style=\"margin-left:80px\">\u2460 \u57fa\u7840\u5c42<\/p>\n<p id=\"%E2%91%A1%20%E8%BF%9B%E9%98%B6%E5%B1%82-toc\" style=\"margin-left:80px\">\u2461 \u8fdb\u9636\u5c42<\/p>\n<p id=\"%E2%91%A2%20%E9%AB%98%E9%9A%BE%E5%B1%82-toc\" style=\"margin-left:80px\">\u2462 \u9ad8\u96be\u5c42<\/p>\n<p id=\"%E5%85%AD%E3%80%81%E5%8D%8E%E4%B8%BA%20%2F%20%E5%8D%8E%E4%B8%BA%20OD%EF%BC%88%E9%9A%BE%E5%BA%A6%20%E2%98%85%E2%98%85%E2%98%86%EF%BC%8C%E9%87%8D%E5%9F%BA%E7%A1%80%E5%B9%BF%E5%BA%A6%20%2B%20%E6%9C%BA%E8%AF%95%EF%BC%89-toc\" style=\"margin-left:40px\">\u516d\u3001\u534e\u4e3a \/ \u534e\u4e3a OD&#xff08;\u96be\u5ea6 \u2605\u2605\u2606&#xff0c;\u91cd\u57fa\u7840\u5e7f\u5ea6 &#043; \u673a\u8bd5&#xff09;<\/p>\n<p id=\"%E2%91%A0%20%E5%9F%BA%E7%A1%80%E5%B1%82-toc\" style=\"margin-left:80px\">\u2460 \u57fa\u7840\u5c42<\/p>\n<p id=\"%E2%91%A1%20%E8%BF%9B%E9%98%B6%E5%B1%82-toc\" style=\"margin-left:80px\">\u2461 \u8fdb\u9636\u5c42<\/p>\n<p id=\"%E2%91%A2%20%E9%AB%98%E9%9A%BE%E5%B1%82%EF%BC%88%E5%8D%8E%E4%B8%BA%E5%81%8F%E5%B0%91%EF%BC%8COD%20%E6%9C%BA%E8%AF%95%E4%B8%BA%E4%B8%BB%EF%BC%89-toc\" style=\"margin-left:80px\">\u2462 \u9ad8\u96be\u5c42&#xff08;\u534e\u4e3a\u504f\u5c11&#xff0c;OD \u673a\u8bd5\u4e3a\u4e3b&#xff09;<\/p>\n<p id=\"%E4%B8%83%E3%80%81%E4%BA%AC%E4%B8%9C%EF%BC%88%E9%9A%BE%E5%BA%A6%20%E2%98%85%E2%98%85%E2%98%85%EF%BC%8C%E5%81%8F%E5%90%8E%E5%8F%B0%E4%B8%9A%E5%8A%A1%20%2B%20%E5%9F%BA%E7%A1%80%EF%BC%89-toc\" style=\"margin-left:40px\">\u4e03\u3001\u4eac\u4e1c&#xff08;\u96be\u5ea6 \u2605\u2605\u2605&#xff0c;\u504f\u540e\u53f0\u4e1a\u52a1 &#043; \u57fa\u7840&#xff09;<\/p>\n<p id=\"%E2%91%A0%20%E5%9F%BA%E7%A1%80%E5%B1%82-toc\" style=\"margin-left:80px\">\u2460 \u57fa\u7840\u5c42<\/p>\n<p id=\"%E2%91%A1%20%E8%BF%9B%E9%98%B6%E5%B1%82-toc\" style=\"margin-left:80px\">\u2461 \u8fdb\u9636\u5c42<\/p>\n<p id=\"%E2%91%A2%20%E9%AB%98%E9%9A%BE%E5%B1%82-toc\" style=\"margin-left:80px\">\u2462 \u9ad8\u96be\u5c42<\/p>\n<p id=\"%E5%85%AB%E3%80%81%E7%BD%91%E6%98%93%EF%BC%88%E9%9A%BE%E5%BA%A6%20%E2%98%85%E2%98%85%E2%98%85%EF%BC%8C%E6%B8%B8%E6%88%8F%2F%E5%90%8E%E5%8F%B0%E5%8F%8C%E7%BA%BF%EF%BC%89-toc\" style=\"margin-left:40px\">\u516b\u3001\u7f51\u6613&#xff08;\u96be\u5ea6 \u2605\u2605\u2605&#xff0c;\u6e38\u620f\/\u540e\u53f0\u53cc\u7ebf&#xff09;<\/p>\n<p id=\"%E2%91%A0%20%E5%9F%BA%E7%A1%80%E5%B1%82-toc\" style=\"margin-left:80px\">\u2460 \u57fa\u7840\u5c42<\/p>\n<p id=\"%E2%91%A1%20%E8%BF%9B%E9%98%B6%E5%B1%82-toc\" style=\"margin-left:80px\">\u2461 \u8fdb\u9636\u5c42<\/p>\n<p id=\"%E2%91%A2%20%E9%AB%98%E9%9A%BE%E5%B1%82-toc\" style=\"margin-left:80px\">\u2462 \u9ad8\u96be\u5c42<\/p>\n<p id=\"%E4%B9%9D%E3%80%81%E6%8B%BC%E5%A4%9A%E5%A4%9A%EF%BC%88%E9%9A%BE%E5%BA%A6%20%E2%98%85%E2%98%85%E2%98%85%E2%98%85%EF%BC%8C%E9%87%8D%E7%AE%97%E6%B3%95%20%2B%20%E9%AB%98%E5%B9%B6%E5%8F%91%20%2B%20%E6%8A%97%E5%8E%8B%EF%BC%89-toc\" style=\"margin-left:40px\">\u4e5d\u3001\u62fc\u591a\u591a&#xff08;\u96be\u5ea6 \u2605\u2605\u2605\u2605&#xff0c;\u91cd\u7b97\u6cd5 &#043; \u9ad8\u5e76\u53d1 &#043; \u6297\u538b&#xff09;<\/p>\n<p id=\"%E2%91%A0%20%E5%9F%BA%E7%A1%80%E5%B1%82-toc\" style=\"margin-left:80px\">\u2460 \u57fa\u7840\u5c42<\/p>\n<p id=\"%E2%91%A1%20%E8%BF%9B%E9%98%B6%E5%B1%82-toc\" style=\"margin-left:80px\">\u2461 \u8fdb\u9636\u5c42<\/p>\n<p id=\"%E2%91%A2%20%E9%AB%98%E9%9A%BE%E5%B1%82-toc\" style=\"margin-left:80px\">\u2462 \u9ad8\u96be\u5c42<\/p>\n<p id=\"%E5%8D%81%E3%80%81%E5%BF%AB%E6%89%8B%EF%BC%88%E9%9A%BE%E5%BA%A6%20%E2%98%85%E2%98%85%E2%98%85%E2%98%86%EF%BC%8C%E7%9F%AD%E8%A7%86%E9%A2%91%E5%90%8E%E5%8F%B0%20%2B%20%E7%AE%97%E6%B3%95%EF%BC%89-toc\" style=\"margin-left:40px\">\u5341\u3001\u5feb\u624b&#xff08;\u96be\u5ea6 \u2605\u2605\u2605\u2606&#xff0c;\u77ed\u89c6\u9891\u540e\u53f0 &#043; \u7b97\u6cd5&#xff09;<\/p>\n<p id=\"%E2%91%A0%20%E5%9F%BA%E7%A1%80%E5%B1%82-toc\" style=\"margin-left:80px\">\u2460 \u57fa\u7840\u5c42<\/p>\n<p id=\"%E2%91%A1%20%E8%BF%9B%E9%98%B6%E5%B1%82-toc\" style=\"margin-left:80px\">\u2461 \u8fdb\u9636\u5c42<\/p>\n<p id=\"%E2%91%A2%20%E9%AB%98%E9%9A%BE%E5%B1%82-toc\" style=\"margin-left:80px\">\u2462 \u9ad8\u96be\u5c42<\/p>\n<p id=\"%E5%8D%81%E4%B8%80%E3%80%81%E5%B0%8F%E7%B1%B3%EF%BC%88%E9%9A%BE%E5%BA%A6%20%E2%98%85%E2%98%85%E2%98%85%EF%BC%8C%E5%81%8F%E5%B5%8C%E5%85%A5%E5%BC%8F%2F%E6%89%8B%E6%9C%BA%E7%B3%BB%E7%BB%9F%20%2B%20%E5%90%8E%E5%8F%B0%EF%BC%89-toc\" style=\"margin-left:40px\">\u5341\u4e00\u3001\u5c0f\u7c73&#xff08;\u96be\u5ea6 \u2605\u2605\u2605&#xff0c;\u504f\u5d4c\u5165\u5f0f\/\u624b\u673a\u7cfb\u7edf &#043; \u540e\u53f0&#xff09;<\/p>\n<p id=\"%E2%91%A0%20%E5%9F%BA%E7%A1%80%E5%B1%82-toc\" style=\"margin-left:80px\">\u2460 \u57fa\u7840\u5c42<\/p>\n<p id=\"%E2%91%A1%20%E8%BF%9B%E9%98%B6%E5%B1%82-toc\" style=\"margin-left:80px\">\u2461 \u8fdb\u9636\u5c42<\/p>\n<p id=\"%E2%91%A2%20%E9%AB%98%E9%9A%BE%E5%B1%82-toc\" style=\"margin-left:80px\">\u2462 \u9ad8\u96be\u5c42<\/p>\n<p id=\"%E5%8D%81%E4%BA%8C%E3%80%81%E6%BB%B4%E6%BB%B4%EF%BC%88%E9%9A%BE%E5%BA%A6%20%E2%98%85%E2%98%85%E2%98%85%E2%98%86%EF%BC%8C%E5%87%BA%E8%A1%8C%E5%90%8E%E5%8F%B0%20%2B%20%E7%AE%97%E6%B3%95%20%2B%20%E5%9C%B0%E5%9B%BE%EF%BC%89-toc\" style=\"margin-left:40px\">\u5341\u4e8c\u3001\u6ef4\u6ef4&#xff08;\u96be\u5ea6 \u2605\u2605\u2605\u2606&#xff0c;\u51fa\u884c\u540e\u53f0 &#043; \u7b97\u6cd5 &#043; \u5730\u56fe&#xff09;<\/p>\n<p id=\"%E2%91%A0%20%E5%9F%BA%E7%A1%80%E5%B1%82-toc\" style=\"margin-left:80px\">\u2460 \u57fa\u7840\u5c42<\/p>\n<p id=\"%E2%91%A1%20%E8%BF%9B%E9%98%B6%E5%B1%82-toc\" style=\"margin-left:80px\">\u2461 \u8fdb\u9636\u5c42<\/p>\n<p id=\"%E2%91%A2%20%E9%AB%98%E9%9A%BE%E5%B1%82-toc\" style=\"margin-left:80px\">\u2462 \u9ad8\u96be\u5c42<\/p>\n<p id=\"%E5%8D%81%E4%B8%89%E3%80%81%E5%90%84%E5%A4%A7%E5%8E%82%E9%9D%A2%E8%AF%95%E7%89%B9%E7%82%B9%E6%A8%AA%E5%90%91%E5%AF%B9%E6%AF%94-toc\" style=\"margin-left:40px\">\u5341\u4e09\u3001\u5404\u5927\u5382\u9762\u8bd5\u7279\u70b9\u6a2a\u5411\u5bf9\u6bd4<\/p>\n<p id=\"13.1%20%E6%A8%AA%E5%90%91%E8%A7%84%E5%BE%8B%EF%BC%88%E5%80%BC%E5%BE%97%E8%AE%B0%E4%BD%8F%E7%9A%84%205%20%E6%9D%A1%EF%BC%89-toc\" style=\"margin-left:80px\">13.1 \u6a2a\u5411\u89c4\u5f8b&#xff08;\u503c\u5f97\u8bb0\u4f4f\u7684 5 \u6761&#xff09;<\/p>\n<p id=\"%E5%8D%81%E5%9B%9B%E3%80%81%E5%9C%A8%E6%A0%A1%E7%94%9F%E4%B8%8E%E5%BA%94%E5%B1%8A%E7%94%9F%E5%88%86%E9%98%B6%E6%AE%B5%E5%A4%87%E8%80%83%E8%B7%AF%E7%BA%BF-toc\" style=\"margin-left:40px\">\u5341\u56db\u3001\u5728\u6821\u751f\u4e0e\u5e94\u5c4a\u751f\u5206\u9636\u6bb5\u5907\u8003\u8def\u7ebf<\/p>\n<p id=\"14.1%20%E5%A4%A7%E4%B8%80%2F%E5%A4%A7%E4%BA%8C%E4%B8%8A%EF%BC%9A%E6%8A%8A%E5%9F%BA%E7%A1%80%E7%84%8A%E6%AD%BB%EF%BC%88%E7%8E%B0%E5%9C%A8%E2%80%93%E6%98%8E%E5%B9%B4%EF%BC%89-toc\" style=\"margin-left:80px\">14.1 \u5927\u4e00\/\u5927\u4e8c\u4e0a&#xff1a;\u628a\u57fa\u7840\u710a\u6b7b&#xff08;\u73b0\u5728\u2013\u660e\u5e74&#xff09;<\/p>\n<p id=\"14.2%20%E5%A4%A7%E4%BA%8C%E4%B8%8B%2F%E5%A4%A7%E4%B8%89%EF%BC%9A%E5%86%B2%E5%BA%95%E5%B1%82%20%2B%20%E5%81%9A%E9%A1%B9%E7%9B%AE-toc\" style=\"margin-left:80px\">14.2 \u5927\u4e8c\u4e0b\/\u5927\u4e09&#xff1a;\u51b2\u5e95\u5c42 &#043; \u505a\u9879\u76ee<\/p>\n<p id=\"14.3%20%E5%A4%A7%E4%B8%89%E4%B8%8B%2F%E5%A4%A7%E5%9B%9B%EF%BC%9A%E7%A7%8B%E6%8B%9B%E5%86%B2%E5%88%BA-toc\" style=\"margin-left:80px\">14.3 \u5927\u4e09\u4e0b\/\u5927\u56db&#xff1a;\u79cb\u62db\u51b2\u523a<\/p>\n<p id=\"%E5%8D%81%E4%BA%94%E3%80%81%E7%BB%93%E8%AF%AD-toc\" style=\"margin-left:40px\">\u5341\u4e94\u3001\u7ed3\u8bed<\/p>\n<hr \/>\n<p><span style=\"color:#fe2c24\">\u5148\u8bf4\u6e05\u695a&#xff1a;\u6570\u636e\u4ece\u54ea\u6765\u3001\u5b63\u8282\u600e\u4e48\u6807&#xff08;\u8bda\u5b9e\u58f0\u660e&#xff09;<\/span><\/p>\n<p>\u6765\u6e90&#xff1a;\u672c\u6587\u9898\u76ee\u6765\u81ea\u516c\u5f00\u9762\u7ecf\u805a\u5408\u2014\u2014\u725b\u5ba2\u7f51\u3001\u9762\u8bd5\u9e2d\u3001CSDN\u3001\u77e5\u4e4e\u4e0a 2023\u20132025 \u5e74\u6821\u62db\/\u5b9e\u4e60\/\u63d0\u524d\u6279\u7684 C\/C&#043;&#043; \u540e\u7aef\u3001\u5ba2\u6237\u7aef\u3001\u97f3\u89c6\u9891\u3001\u57fa\u7840\u67b6\u6784\u65b9\u5411\u7684\u771f\u5b9e\u590d\u76d8&#xff0c;\u80fd\u5bf9\u5e94\u5230\u516c\u5f00\u8ba8\u8bba\u7684\u8003\u70b9\u90fd\u6309\u300c\u516c\u5f00\u9762\u7ecf\u5171\u8bc6\u300d\u7ed9\u51fa\u3002\u5927\u5382\u8003\u70b9\u4e09\u5e74\u9ad8\u5ea6\u7a33\u5b9a&#xff0c;\u6240\u4ee5\u6309\u7a33\u5b9a\u56fe\u8c31\u7ec4\u7ec7\u3002<\/p>\n<p>\u5e78\u5b58\u8005\u504f\u5dee&#xff1a;\u9762\u7ecf\u662f\u300c\u8fc7\u4e86\/\u9762\u5d29\u4e86\u300d\u7684\u4eba\u5199\u7684&#xff0c;\u6709\u8bb0\u5fc6\u8bef\u5dee\u548c\u5e78\u5b58\u8005\u504f\u5dee&#xff0c;\u4e0d\u662f\u5b98\u65b9\u9898\u5e93&#xff0c;\u7528\u6765\u5efa\u7acb\u590d\u4e60\u9776\u5fc3&#xff0c;\u4e0d\u80fd\u66ff\u4ee3\u7cfb\u7edf\u5543\u4e66&#xff08;\u300aC&#043;&#043; Primer\u300b\u300aSTL \u6e90\u7801\u5256\u6790\u300b\u300a\u64cd\u4f5c\u7cfb\u7edf\u6982\u5ff5\u300b\u300aTCP\/IP \u8be6\u89e3\u300b&#xff09;\u3002<\/p>\n<p>\u5b63\u8282\u6807\u6ce8\u65b9\u6cd5\u8bba&#xff08;\u91cd\u70b9&#xff09;&#xff1a;\u5927\u5382\u6821\u62db\u8282\u594f\u662f \u63d0\u524d\u6279&#xff08;7\u20138 \u6708&#xff0c;\u6700\u96be\u3001\u5e38\u8003\u6e90\u7801\/\u8bbe\u8ba1&#xff09;\u2192 \u79cb\u62db\u4e3b\u6279&#xff08;8\u201311 \u6708&#xff0c;\u9898\u91cf\u6700\u5927\u3001\u5e95\u5c42\u6df1\u6316\u6700\u591a&#xff09;\u2192 \u6625\u62db\/\u6691\u671f\u5b9e\u4e60&#xff08;3\u20135 \u6708&#xff0c;\u504f\u57fa\u7840&#043;\u9879\u76ee&#043;\u4e2d\u7b49\u624b\u6495&#xff09;\u3002\u540c\u4e00\u77e5\u8bc6\u70b9\u5168\u5e74\u90fd\u53ef\u80fd\u51fa\u73b0&#xff0c;\u6240\u4ee5\u6211\u7684\u6807\u7b7e\u662f\u300c\u5b63\u578b\u300d\u800c\u975e\u4f2a\u9020\u5177\u4f53\u65e5\u671f&#xff1a;<\/p>\n<table>\n<tbody>\n<tr>\n<td>\n<p>\u6807\u7b7e<\/p>\n<\/td>\n<td>\n<p>\u542b\u4e49<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p>\u3010\u79cb\u62db\u00b7\u4e3b\u6279\u3011<\/p>\n<\/td>\n<td>\n<p>\u79cb\u62db\u4e3b\u6218\u573a&#xff0c;\u9898\u91cf\u6700\u5927\u3001\u5e95\u5c42\u8ffd\u95ee\u6700\u591a<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p>\u3010\u63d0\u524d\u6279\u00b7\u9ad8\u96be\u3011<\/p>\n<\/td>\n<td>\n<p>7\u20138 \u6708\u63d0\u524d\u6279&#xff0c;\u7ade\u4e89\u5c0f\u4f46\u96be\u5ea6\u6700\u9ad8&#xff0c;\u5e38\u8003\u7cfb\u7edf\u8bbe\u8ba1\/\u6e90\u7801<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p>\u3010\u6625\u62db\u00b7\u5b9e\u4e60\u3011<\/p>\n<\/td>\n<td>\n<p>3\u20135 \u6708\u6625\u62db\u4e0e\u6691\u671f\u5b9e\u4e60&#xff0c;\u504f\u57fa\u7840&#043;\u9879\u76ee&#043;\u4e2d\u7b49\u624b\u6495<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p>\u3010\u56db\u5b63\u901a\u7528\u00b7\u57fa\u7840\u3011<\/p>\n<\/td>\n<td>\n<p>\u5168\u5e74\u5404\u573a\u90fd\u53ef\u80fd\u51fa\u73b0\u7684\u57fa\u7840\u9898<\/p>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<hr \/>\n<h3 id=\"\"><\/h3>\n<h3 id=\"%E4%B8%80%E3%80%81%E5%AD%97%E8%8A%82%E8%B7%B3%E5%8A%A8%EF%BC%88%E9%9A%BE%E5%BA%A6%20%E2%98%85%E2%98%85%E2%98%85%E2%98%86%EF%BC%8C%E7%AE%97%E6%B3%95%E6%9D%83%E9%87%8D%E6%9C%80%E9%AB%98%EF%BC%89\">\u4e00\u3001\u5b57\u8282\u8df3\u52a8&#xff08;\u96be\u5ea6 \u2605\u2605\u2605\u2606&#xff0c;\u7b97\u6cd5\u6743\u91cd\u6700\u9ad8&#xff09;<\/h3>\n<p>\u98ce\u683c&#xff1a;\u624b\u6495\u4ee3\u7801\u5fc5\u8003\u4e14\u5360\u6bd4\u5927&#xff08;\u4e00\u9762\u5f80\u5f80\u76f4\u63a5\u5199\u9898&#xff09;&#xff0c;C&#043;&#043; \u57fa\u7840 &#043; STL &#043; \u64cd\u4f5c\u7cfb\u7edf &#043; \u7f51\u7edc\u90fd\u8981&#xff0c;\u4e8c\u9762\u91cd\u9879\u76ee\u6df1\u6316\u4e0e\u7cfb\u7edf\u8bbe\u8ba1\u3002\u7b97\u6cd5\u4e0d\u597d\u57fa\u672c\u8fc7\u4e0d\u4e86&#xff0c;\u767d\u677f\u5199\u5bf9 &#043; \u8bb2\u6e05\u590d\u6742\u5ea6\u662f\u786c\u95e8\u69db\u3002<\/p>\n<h4 id=\"%E2%91%A0%20%E5%9F%BA%E7%A1%80%E5%B1%82%EF%BC%88C%2FC%2B%2B%20%E8%AF%AD%E6%B3%95%E3%80%81%E5%9F%BA%E7%A1%80%E6%95%B0%E6%8D%AE%E7%BB%93%E6%9E%84%EF%BC%89\">\u2460 \u57fa\u7840\u5c42&#xff08;C\/C&#043;&#043; \u8bed\u6cd5\u3001\u57fa\u7840\u6570\u636e\u7ed3\u6784&#xff09;<\/h4>\n<ul>\n<li>\u3010\u56db\u5b63\u901a\u7528\u00b7\u57fa\u7840\u3011static \u6709\u51e0\u79cd\u7528\u6cd5&#xff1f;<\/li>\n<\/ul>\n<ul>\n<li>\u3010\u79cb\u62db\u00b7\u4e3b\u6279\u3011const \u4e0e constexpr \u533a\u522b&#xff1f;<\/li>\n<\/ul>\n<ul>\n<li>\u3010\u6625\u62db\u00b7\u5b9e\u4e60\u3011C \u548c C&#043;&#043; \u7684 struct \u533a\u522b&#xff1f;<\/li>\n<\/ul>\n<ul>\n<li>\u3010\u56db\u5b63\u901a\u7528\u00b7\u57fa\u7840\u3011\u56db\u79cd cast \u5404\u81ea\u4f55\u65f6\u7528&#xff1f;<\/li>\n<\/ul>\n<ul>\n<li>\u3010\u79cb\u62db\u00b7\u4e3b\u6279\u3011\u5feb\u6392\u65f6\u95f4\u590d\u6742\u5ea6\u4e0e\u6700\u574f\u60c5\u51b5&#xff1f;\u7a33\u5b9a\u5417&#xff1f;<\/li>\n<\/ul>\n<h4 id=\"%E2%91%A1%20%E8%BF%9B%E9%98%B6%E5%B1%82%EF%BC%88%E5%AF%B9%E8%B1%A1%E6%A8%A1%E5%9E%8B%E3%80%81%E5%86%85%E5%AD%98%E3%80%81STL%E3%80%81OS%2F%E7%BD%91%E7%BB%9C%EF%BC%89\">\u2461 \u8fdb\u9636\u5c42&#xff08;\u5bf9\u8c61\u6a21\u578b\u3001\u5185\u5b58\u3001STL\u3001OS\/\u7f51\u7edc&#xff09;<\/h4>\n<ul>\n<li>\u3010\u79cb\u62db\u00b7\u4e3b\u6279\u3011\u865a\u51fd\u6570\u600e\u4e48\u5b9e\u73b0&#xff1f;vptr \u5728\u54ea&#xff1f;\u591a\u7ee7\u627f\u865a\u8868\u600e\u4e48\u5e03\u5c40&#xff1f;<\/li>\n<\/ul>\n<ul>\n<li>\u3010\u79cb\u62db\u00b7\u4e3b\u6279\u3011shared_ptr \u5f15\u7528\u8ba1\u6570\u5b58\u5728\u54ea&#xff1f;\u7ebf\u7a0b\u5b89\u5168\u5417&#xff1f;<\/li>\n<\/ul>\n<ul>\n<li>\u3010\u79cb\u62db\u00b7\u4e3b\u6279\u3011vector \u6269\u5bb9\u673a\u5236&#xff1f;\u54ea\u4e9b\u64cd\u4f5c\u4f1a\u4f7f\u8fed\u4ee3\u5668\u5931\u6548&#xff1f;<\/li>\n<\/ul>\n<ul>\n<li>\u3010\u79cb\u62db\u00b7\u4e3b\u6279\u3011\u5185\u5b58\u5bf9\u9f50\u4e3a\u4ec0\u4e48\u91cd\u8981&#xff1f;#pragma pack \u505a\u4ec0\u4e48&#xff1f;<\/li>\n<\/ul>\n<ul>\n<li>\u3010\u79cb\u62db\u00b7\u4e3b\u6279\u3011TCP \u4e3a\u4ec0\u4e48 TIME_WAIT \u662f 2MSL&#xff1f;\u592a\u591a\u600e\u4e48\u529e&#xff1f;<\/li>\n<\/ul>\n<ul>\n<li>\u3010\u79cb\u62db\u00b7\u4e3b\u6279\u3011epoll \u7684 ET \u548c LT \u533a\u522b&#xff1f;ET \u4e0b accept \u4e3a\u4f55\u53ef\u80fd\u4e22\u8fde\u63a5&#xff1f;<\/li>\n<\/ul>\n<h4 id=\"%E2%91%A2%20%E9%AB%98%E9%9A%BE%E5%B1%82%EF%BC%88%E5%B9%B6%E5%8F%91%E3%80%81%E6%89%8B%E6%92%95%E3%80%81%E8%AE%BE%E8%AE%A1%EF%BC%89\">\u2462 \u9ad8\u96be\u5c42&#xff08;\u5e76\u53d1\u3001\u624b\u6495\u3001\u8bbe\u8ba1&#xff09;<\/h4>\n<ul>\n<li>\u3010\u63d0\u524d\u6279\u00b7\u9ad8\u96be\u3011\u624b\u5199\u7ebf\u7a0b\u5b89\u5168\u5355\u4f8b&#xff08;C&#043;&#043;11 \u4e4b\u540e\u7684\u6700\u4f18\u5199\u6cd5&#xff09;\u3002<\/li>\n<\/ul>\n<ul>\n<li>\u3010\u79cb\u62db\u00b7\u4e3b\u6279\u3011\u624b\u6495 LRU Cache&#xff0c;get\/put \u90fd O(1)\u3002<\/li>\n<\/ul>\n<ul>\n<li>\u3010\u63d0\u524d\u6279\u00b7\u9ad8\u96be\u3011TopK \u600e\u4e48\u6c42&#xff1f;\u6d77\u91cf\u6570\u636e&#xff08;\u5185\u5b58\u653e\u4e0d\u4e0b&#xff09;\u600e\u4e48\u529e&#xff1f;<\/li>\n<\/ul>\n<ul>\n<li>\u3010\u63d0\u524d\u6279\u00b7\u9ad8\u96be\u3011std::move \u5230\u5e95\u505a\u4e86\u4ec0\u4e48&#xff1f;\u53f3\u503c\u5f15\u7528\u3001\u5b8c\u7f8e\u8f6c\u53d1\u662f\u4ec0\u4e48&#xff1f;<\/li>\n<\/ul>\n<ul>\n<li>\u3010\u79cb\u62db\u00b7\u4e3b\u6279\u3011\u624b\u5199\u4e00\u4e2a\u7b80\u6613\u7ebf\u7a0b\u6c60\u3002<\/li>\n<\/ul>\n<hr \/>\n<h3 id=\"%E4%BA%8C%E3%80%81%E8%85%BE%E8%AE%AF%EF%BC%88%E9%9A%BE%E5%BA%A6%20%E2%98%85%E2%98%85%E2%98%85%E2%98%85%EF%BC%8C%E5%BA%95%E5%B1%82%E6%B7%B1%E6%8C%96%E6%9C%80%E7%8B%A0%EF%BC%89\">\u4e8c\u3001\u817e\u8baf&#xff08;\u96be\u5ea6 \u2605\u2605\u2605\u2605&#xff0c;\u5e95\u5c42\u6df1\u6316\u6700\u72e0&#xff09;<\/h3>\n<p>\u98ce\u683c&#xff1a;\u300c\u57fa\u7840\u624e\u5b9e &#043; \u6df1\u5ea6\u6316 &#043; \u9879\u76ee\u771f\u5b9e\u843d\u5730\u300d\u3002\u8ffd\u95ee\u4e0d\u662f\u300c\u4f1a\u4e0d\u4f1a\u7528\u300d\u800c\u662f\u300c\u5e95\u5c42\u600e\u4e48\u5b9e\u73b0\u3001\u80fd\u4e0d\u80fd\u753b\u56fe\u300d\u3002\u540e\u53f0\/\u6e38\u620f\/\u97f3\u89c6\u9891\u65b9\u5411\u5bf9 C&#043;&#043; \u5bf9\u8c61\u6a21\u578b\u3001\u5185\u5b58\u3001\u7f51\u7edc\u3001\u5e76\u53d1\u6316\u5230\u6e90\u7801\u7ea7\u3002<\/p>\n<h4 id=\"%E2%91%A0%20%E5%9F%BA%E7%A1%80%E5%B1%82\">\u2460 \u57fa\u7840\u5c42<\/h4>\n<ul>\n<li>\u3010\u56db\u5b63\u901a\u7528\u00b7\u57fa\u7840\u3011C&#043;&#043; \u7a0b\u5e8f\u7684\u5185\u5b58\u5e03\u5c40&#xff08;text\/rodata\/data\/bss\/heap\/stack&#xff09;\u5404\u81ea\u5b58\u4ec0\u4e48&#xff1f;<\/li>\n<\/ul>\n<ul>\n<li>\u3010\u79cb\u62db\u00b7\u4e3b\u6279\u3011\u6784\u9020\u51fd\u6570\/\u6790\u6784\u51fd\u6570\u80fd\u662f\u865a\u51fd\u6570\u5417&#xff1f;\u4e3a\u4ec0\u4e48&#xff1f;<\/li>\n<\/ul>\n<ul>\n<li>\u3010\u79cb\u62db\u00b7\u4e3b\u6279\u3011new\/delete \u4e0e malloc\/free \u7684 11 \u5c42\u5dee\u5f02&#xff08;\u8bf4\u6838\u5fc3\u51e0\u6761&#xff09;\u3002<\/li>\n<\/ul>\n<ul>\n<li>\u3010\u6625\u62db\u00b7\u5b9e\u4e60\u3011\u6df1\u62f7\u8d1d vs \u6d45\u62f7\u8d1d&#xff0c;\u4f55\u65f6\u5fc5\u987b\u81ea\u5df1\u5199\u62f7\u8d1d\u6784\u9020&#xff1f;<\/li>\n<\/ul>\n<h4 id=\"%E2%91%A1%20%E8%BF%9B%E9%98%B6%E5%B1%82\">\u2461 \u8fdb\u9636\u5c42<\/h4>\n<ul>\n<li>\u3010\u79cb\u62db\u00b7\u4e3b\u6279\u3011\u865a\u51fd\u6570\u8868\u5185\u5b58\u5e03\u5c40\u753b\u51fa\u6765&#xff1a;Base{foo();int x} : Derived{bar();int y} \u7684\u5bf9\u8c61\u957f\u4ec0\u4e48\u6837&#xff1f;<\/li>\n<\/ul>\n<ul>\n<li>\u3010\u79cb\u62db\u00b7\u4e3b\u6279\u3011final \u5173\u952e\u5b57\u4e24\u4e2a\u4f5c\u7528&#xff1f;<\/li>\n<\/ul>\n<ul>\n<li>\u3010\u79cb\u62db\u00b7\u4e3b\u6279\u3011\u667a\u80fd\u6307\u9488\u4e09\u91cd\u9677\u9631&#xff1a;\u5faa\u73af\u5f15\u7528\u600e\u4e48\u7834&#xff1f;unique_ptr \u6240\u6709\u6743\u8f6c\u79fb\u5e95\u5c42\u600e\u4e48\u5b9e\u73b0&#xff1f;<\/li>\n<\/ul>\n<ul>\n<li>\u3010\u79cb\u62db\u00b7\u4e3b\u6279\u3011\u6b7b\u9501\u56db\u4e2a\u5fc5\u8981\u6761\u4ef6&#xff1f;\u600e\u4e48\u9884\u9632&#xff1f;<\/li>\n<\/ul>\n<ul>\n<li>\u3010\u79cb\u62db\u00b7\u4e3b\u6279\u3011\u4e92\u65a5\u9501\u3001\u81ea\u65cb\u9501\u3001\u8bfb\u5199\u9501\u3001\u6761\u4ef6\u53d8\u91cf\u5404\u81ea\u9002\u7528\u573a\u666f&#xff1f;<\/li>\n<\/ul>\n<h4 id=\"%E2%91%A2%20%E9%AB%98%E9%9A%BE%E5%B1%82\">\u2462 \u9ad8\u96be\u5c42<\/h4>\n<ul>\n<li>\u3010\u63d0\u524d\u6279\u00b7\u9ad8\u96be\u3011\u8bbe\u8ba1\u4e00\u4e2a\u7b80\u6613\u65e5\u5fd7\u5e93 \/ \u5b9a\u65f6\u5668 \/ \u9650\u6d41\u5668&#xff08;\u9009\u4e00&#xff09;\u3002<\/li>\n<\/ul>\n<ul>\n<li>\u3010\u63d0\u524d\u6279\u00b7\u9ad8\u96be\u3011\u5185\u5b58\u5c4f\u969c&#xff08;memory barrier&#xff09;\u662f\u4ec0\u4e48&#xff1f;\u4e3a\u4ec0\u4e48\u9700\u8981&#xff1f;<\/li>\n<\/ul>\n<ul>\n<li>\u3010\u79cb\u62db\u00b7\u4e3b\u6279\u3011\u624b\u5199 vector \u7b80\u6613\u7248&#xff08;\u542b\u6269\u5bb9\u3001\u62f7\u8d1d\u3001\u79fb\u52a8&#xff09;\u3002<\/li>\n<\/ul>\n<ul>\n<li>\u3010\u79cb\u62db\u00b7\u4e3b\u6279\u3011select\/poll\/epoll \u533a\u522b&#xff1f;\u4e3a\u4ec0\u4e48 epoll \u9ad8\u5e76\u53d1\u4e0b\u66f4\u5feb&#xff1f;<\/li>\n<\/ul>\n<ul>\n<li>\u3010\u63d0\u524d\u6279\u00b7\u9ad8\u96be\u3011\u5e38\u89c1\u7684\u8bbe\u8ba1\u6a21\u5f0f&#xff08;\u5355\u4f8b\u3001\u5de5\u5382\u3001\u89c2\u5bdf\u8005&#xff09;\u5728\u4f60\u4eec\u9879\u76ee\u600e\u4e48\u7528\u7684&#xff1f;<\/li>\n<\/ul>\n<hr \/>\n<h3 id=\"%E4%B8%89%E3%80%81%E9%98%BF%E9%87%8C%E5%B7%B4%E5%B7%B4%EF%BC%88%E9%9A%BE%E5%BA%A6%20%E2%98%85%E2%98%85%E2%98%85%E2%98%85%EF%BC%8C%E9%87%8D%20JVM%20%E4%B9%8B%E5%A4%96%E7%9A%84%20C%2B%2B%20%E5%9F%BA%E7%A1%80%20%2B%20%E7%B3%BB%E7%BB%9F%E8%AE%BE%E8%AE%A1%EF%BC%89\">\u4e09\u3001\u963f\u91cc\u5df4\u5df4&#xff08;\u96be\u5ea6 \u2605\u2605\u2605\u2605&#xff0c;\u91cd JVM \u4e4b\u5916\u7684 C&#043;&#043; \u57fa\u7840 &#043; \u7cfb\u7edf\u8bbe\u8ba1&#xff09;<\/h3>\n<p>\u98ce\u683c&#xff1a;\u963f\u91cc C&#043;&#043; \u5c97&#xff08;\u5982\u9489\u9489\u3001\u6dd8\u5929\u3001\u4e91\u667a\u80fd\u57fa\u7840\u8f6f\u4ef6&#xff09;\u504f\u300c\u57fa\u7840 &#043; \u7cfb\u7edf\u8bbe\u8ba1 &#043; \u4e1a\u52a1\u573a\u666f\u300d\u3002\u4e00\u9762\u57fa\u7840\u624e\u5b9e&#xff0c;\u4e8c\u9762\u5f00\u59cb\u603c\u9879\u76ee\u67b6\u6784\u548c\u6269\u5c55\u6027&#xff0c;\u5bf9 STL \u6e90\u7801\u3001\u5e76\u53d1\u3001\u7f51\u7edc\u8981\u6c42\u4e0d\u6bd4\u817e\u8baf\u4f4e&#xff0c;\u4f46\u624b\u6495\u5f3a\u5ea6\u7565\u4f4e\u4e8e\u5b57\u8282\u3002<\/p>\n<h4 id=\"%E2%91%A0%20%E5%9F%BA%E7%A1%80%E5%B1%82\">\u2460 \u57fa\u7840\u5c42<\/h4>\n<ul>\n<li>\u3010\u56db\u5b63\u901a\u7528\u00b7\u57fa\u7840\u3011\u5f15\u7528\u548c\u6307\u9488\u7684\u533a\u522b&#xff1f;&#xff08;\u5df2\u5bf9\u6bd4&#xff0c;\u963f\u91cc\u5e38\u8ba9\u4f60\u5f53\u9762\u8bf4\u5168&#xff09;<\/li>\n<\/ul>\n<ul>\n<li>\u3010\u79cb\u62db\u00b7\u4e3b\u6279\u3011const \u6210\u5458\u51fd\u6570&#xff08;void f() const&#xff09;\u6709\u4ec0\u4e48\u7528&#xff1f;<\/li>\n<\/ul>\n<ul>\n<li>\u3010\u6625\u62db\u00b7\u5b9e\u4e60\u3011\u51fd\u6570\u91cd\u8f7d\u548c\u91cd\u5199\u7684\u533a\u522b&#xff1f;<\/li>\n<\/ul>\n<ul>\n<li>\u3010\u79cb\u62db\u00b7\u4e3b\u6279\u3011\u4ec0\u4e48\u662f RAII&#xff1f;\u4e3e\u4e00\u4e2a\u9879\u76ee\u91cc\u7528\u7684\u4f8b\u5b50\u3002<\/li>\n<\/ul>\n<h4 id=\"%E2%91%A1%20%E8%BF%9B%E9%98%B6%E5%B1%82\">\u2461 \u8fdb\u9636\u5c42<\/h4>\n<ul>\n<li>\u3010\u79cb\u62db\u00b7\u4e3b\u6279\u3011unordered_map \u54c8\u5e0c\u51b2\u7a81\u600e\u4e48\u5904\u7406&#xff1f;\u6700\u574f\u60c5\u51b5\u662f\u4ec0\u4e48&#xff1f;<\/li>\n<\/ul>\n<ul>\n<li>\u3010\u79cb\u62db\u00b7\u4e3b\u6279\u3011\u4ec0\u4e48\u662f\u79fb\u52a8\u8bed\u4e49&#xff1f;\u4e3a\u4ec0\u4e48\u5b83\u80fd\u63d0\u5347\u6027\u80fd&#xff1f;<\/li>\n<\/ul>\n<ul>\n<li>\u3010\u79cb\u62db\u00b7\u4e3b\u6279\u3011C&#043;&#043;11\/14\/17\/20 \u4f60\u6700\u5e38\u7528\u54ea\u4e9b\u65b0\u7279\u6027&#xff1f;<\/li>\n<\/ul>\n<ul>\n<li>\u3010\u79cb\u62db\u00b7\u4e3b\u6279\u3011\u4ec0\u4e48\u662f\u5185\u5b58\u6cc4\u6f0f&#xff1f;C&#043;&#043; \u91cc\u600e\u4e48\u7cfb\u7edf\u5316\u907f\u514d&#xff1f;<\/li>\n<\/ul>\n<h4 id=\"%E2%91%A2%20%E9%AB%98%E9%9A%BE%E5%B1%82\">\u2462 \u9ad8\u96be\u5c42<\/h4>\n<ul>\n<li>\u3010\u63d0\u524d\u6279\u00b7\u9ad8\u96be\u3011\u8bbe\u8ba1\u4e00\u4e2a\u9ad8\u5e76\u53d1\u8ba1\u6570\u5668 \/ \u9650\u6d41\u4e2d\u95f4\u4ef6&#xff08;\u963f\u91cc\u7231\u95ee\u8bbe\u8ba1&#xff09;\u3002<\/li>\n<\/ul>\n<ul>\n<li>\u3010\u63d0\u524d\u6279\u00b7\u9ad8\u96be\u3011std::atomic \u80fd\u4fdd\u8bc1\u4ec0\u4e48&#xff1f;memory_order \u6709\u54ea\u51e0\u79cd&#xff1f;<\/li>\n<\/ul>\n<ul>\n<li>\u3010\u79cb\u62db\u00b7\u4e3b\u6279\u3011\u624b\u6495&#xff1a;\u5408\u5e76\u4e24\u4e2a\u6709\u5e8f\u94fe\u8868 \/ \u53cd\u8f6c\u94fe\u8868&#xff08;\u767d\u677f&#xff09;\u3002<\/li>\n<\/ul>\n<ul>\n<li>\u3010\u79cb\u62db\u00b7\u4e3b\u6279\u3011\u4f60\u7684\u9879\u76ee\u91cc\u600e\u4e48\u5904\u7406\u9ad8\u5e76\u53d1\u4e0b\u7684\u6570\u636e\u5171\u4eab&#xff1f;<\/li>\n<\/ul>\n<hr \/>\n<h3 id=\"%E5%9B%9B%E3%80%81%E7%BE%8E%E5%9B%A2%EF%BC%88%E9%9A%BE%E5%BA%A6%20%E2%98%85%E2%98%85%E2%98%85%E2%98%86%EF%BC%8C%E5%81%8F%E4%B8%9A%E5%8A%A1%E8%90%BD%E5%9C%B0%20%2B%20%E5%B7%A5%E7%A8%8B%E7%BB%86%E8%8A%82%EF%BC%89\">\u56db\u3001\u7f8e\u56e2&#xff08;\u96be\u5ea6 \u2605\u2605\u2605\u2606&#xff0c;\u504f\u4e1a\u52a1\u843d\u5730 &#043; \u5de5\u7a0b\u7ec6\u8282&#xff09;<\/h3>\n<p>\u98ce\u683c&#xff1a;\u7f8e\u56e2\u5230\u5e97\/\u5916\u5356\/\u914d\u9001\u7684\u540e\u53f0 C&#043;&#043; \u5c97&#xff0c;\u91cd\u300c\u5de5\u7a0b\u80fd\u529b &#043; \u4e1a\u52a1\u573a\u666f &#043; \u57fa\u7840\u300d\u3002\u624b\u6495\u4e2d\u7b49\u504f\u4e0a&#xff0c;\u5bf9 STL\u3001\u7f51\u7edc\u3001\u6570\u636e\u5e93\u7ed3\u5408\u95ee\u5f97\u591a&#xff0c;\u559c\u6b22\u300c\u7ed9\u4f60\u4e2a\u4e1a\u52a1\u573a\u666f\u600e\u4e48\u8bbe\u8ba1\u300d\u3002<\/p>\n<h4 id=\"%E2%91%A0%20%E5%9F%BA%E7%A1%80%E5%B1%82\">\u2460 \u57fa\u7840\u5c42<\/h4>\n<ul>\n<li>\u3010\u56db\u5b63\u901a\u7528\u00b7\u57fa\u7840\u3011sizeof \u548c strlen \u533a\u522b&#xff1f;<\/li>\n<\/ul>\n<ul>\n<li>\u3010\u6625\u62db\u00b7\u5b9e\u4e60\u3011\u6570\u7ec4\u540d\u548c\u6307\u9488\u533a\u522b&#xff1f;<\/li>\n<\/ul>\n<ul>\n<li>\u3010\u79cb\u62db\u00b7\u4e3b\u6279\u3011\u5b8f\u5b9a\u4e49\u548c inline \u51fd\u6570\u533a\u522b&#xff1f;<\/li>\n<\/ul>\n<h4 id=\"%E2%91%A1%20%E8%BF%9B%E9%98%B6%E5%B1%82\">\u2461 \u8fdb\u9636\u5c42<\/h4>\n<ul>\n<li>\u3010\u79cb\u62db\u00b7\u4e3b\u6279\u3011vector \u548c list \u533a\u522b&#xff1f;&#xff08;\u5df2\u5bf9\u6bd4&#xff09;\u4ec0\u4e48\u573a\u666f\u7528 deque&#xff1f;<\/li>\n<\/ul>\n<ul>\n<li>\u3010\u79cb\u62db\u00b7\u4e3b\u6279\u3011\u904d\u5386\u5bb9\u5668\u65f6\u6b63\u786e\u5220\u9664\u5143\u7d20\u600e\u4e48\u5199&#xff1f;<\/li>\n<\/ul>\n<ul>\n<li>\u3010\u79cb\u62db\u00b7\u4e3b\u6279\u3011\u8fdb\u7a0b\u95f4\u901a\u4fe1\u6709\u54ea\u4e9b\u65b9\u5f0f&#xff1f;<\/li>\n<\/ul>\n<ul>\n<li>\u3010\u79cb\u62db\u00b7\u4e3b\u6279\u3011TCP \u62e5\u585e\u63a7\u5236\u77e5\u9053\u5417&#xff08;\u6162\u542f\u52a8\/\u62e5\u585e\u907f\u514d\/\u5feb\u91cd\u4f20&#xff09;&#xff1f;<\/li>\n<\/ul>\n<h4 id=\"%E2%91%A2%20%E9%AB%98%E9%9A%BE%E5%B1%82\">\u2462 \u9ad8\u96be\u5c42<\/h4>\n<ul>\n<li>\u3010\u63d0\u524d\u6279\u00b7\u9ad8\u96be\u3011\u8bbe\u8ba1\u4e00\u4e2a\u77ed\u94fe\u7cfb\u7edf \/ \u5916\u5356\u914d\u9001\u8def\u5f84\u7f13\u5b58&#xff08;\u4e1a\u52a1\u573a\u666f\u9898&#xff09;\u3002<\/li>\n<\/ul>\n<ul>\n<li>\u3010\u79cb\u62db\u00b7\u4e3b\u6279\u3011\u624b\u6495&#xff1a;\u4e8c\u53c9\u6811\u5c42\u5e8f\u904d\u5386 \/ \u6700\u8fd1\u516c\u5171\u7956\u5148&#xff08;LCA&#xff09;\u3002<\/li>\n<\/ul>\n<ul>\n<li>\u3010\u79cb\u62db\u00b7\u4e3b\u6279\u3011MySQL \u7d22\u5f15\u4e3a\u4ec0\u4e48\u7528 B&#043; \u6811&#xff1f;\u548c\u7ea2\u9ed1\u6811\/\u54c8\u5e0c\u6bd4&#xff1f;<\/li>\n<\/ul>\n<hr \/>\n<h3 id=\"%E4%BA%94%E3%80%81%E7%99%BE%E5%BA%A6%EF%BC%88%E9%9A%BE%E5%BA%A6%20%E2%98%85%E2%98%85%E2%98%85%EF%BC%8C%E9%87%8D%E7%AE%97%E6%B3%95%20%2B%20%E6%90%9C%E7%B4%A2%2F%E5%9F%BA%E7%A1%80%E6%9E%B6%E6%9E%84%EF%BC%89\">\u4e94\u3001\u767e\u5ea6&#xff08;\u96be\u5ea6 \u2605\u2605\u2605&#xff0c;\u91cd\u7b97\u6cd5 &#043; \u641c\u7d22\/\u57fa\u7840\u67b6\u6784&#xff09;<\/h3>\n<p>\u98ce\u683c&#xff1a;\u767e\u5ea6 C&#043;&#043; \u5c97&#xff08;\u641c\u7d22\u3001\u51e4\u5de2\u3001\u57fa\u7840\u67b6\u6784&#xff09;\u7b97\u6cd5\u5360\u6bd4\u9ad8\u3001\u5bf9\u6570\u636e\u7ed3\u6784\u4e0e STL \u8981\u6c42\u624e\u5b9e&#xff0c;\u5e95\u5c42\u8ffd\u95ee\u6bd4\u817e\u8baf\u6e29\u548c\u4f46\u5e7f\u5ea6\u4e0d\u4f4e&#xff0c;\u6625\u62db\u5b9e\u4e60\u76f8\u5bf9\u53cb\u597d\u3002<\/p>\n<h4 id=\"%E2%91%A0%20%E5%9F%BA%E7%A1%80%E5%B1%82\">\u2460 \u57fa\u7840\u5c42<\/h4>\n<ul>\n<li>\u3010\u56db\u5b63\u901a\u7528\u00b7\u57fa\u7840\u3011\u6307\u9488\u6570\u7ec4\u548c\u6570\u7ec4\u6307\u9488\u533a\u522b&#xff1f;<\/li>\n<\/ul>\n<ul>\n<li>\u3010\u6625\u62db\u00b7\u5b9e\u4e60\u3011\u4ec0\u4e48\u662f\u91ce\u6307\u9488&#xff1f;\u600e\u4e48\u907f\u514d&#xff1f;<\/li>\n<\/ul>\n<ul>\n<li>\u3010\u79cb\u62db\u00b7\u4e3b\u6279\u3011struct \u5185\u5b58\u5927\u5c0f\u600e\u4e48\u7b97&#xff08;\u542b\u5bf9\u9f50\u4e0e\u4f4d\u57df&#xff09;&#xff1f;<\/li>\n<\/ul>\n<h4 id=\"%E2%91%A1%20%E8%BF%9B%E9%98%B6%E5%B1%82\">\u2461 \u8fdb\u9636\u5c42<\/h4>\n<ul>\n<li>\u3010\u79cb\u62db\u00b7\u4e3b\u6279\u3011\u54c8\u5e0c\u8868&#xff08;unordered_map&#xff09;\u548c\u7ea2\u9ed1\u6811&#xff08;map&#xff09;\u5728\u767e\u5ea6\u641c\u7d22\u573a\u666f\u600e\u4e48\u9009&#xff1f;<\/li>\n<\/ul>\n<ul>\n<li>\u3010\u79cb\u62db\u00b7\u4e3b\u6279\u3011\u4ec0\u4e48\u662f\u8fed\u4ee3\u5668\u5931\u6548&#xff1f;vector\/map \u5404\u4e3e\u4e00\u4e2a\u4f8b\u5b50\u3002<\/li>\n<\/ul>\n<ul>\n<li>\u3010\u79cb\u62db\u00b7\u4e3b\u6279\u3011C&#043;&#043; \u7684\u62f7\u8d1d\u4f18\u5316&#xff08;RVO\/NRVO&#xff09;\u662f\u4ec0\u4e48&#xff1f;<\/li>\n<\/ul>\n<h4 id=\"%E2%91%A2%20%E9%AB%98%E9%9A%BE%E5%B1%82\">\u2462 \u9ad8\u96be\u5c42<\/h4>\n<ul>\n<li>\u3010\u63d0\u524d\u6279\u00b7\u9ad8\u96be\u3011\u6d77\u91cf\u65e5\u5fd7\u91cc\u627e\u51fa\u73b0\u9891\u7387\u6700\u9ad8\u7684 TopK \u4e2a URL&#xff08;\u767e\u5ea6\u7ecf\u5178&#xff09;\u3002<\/li>\n<\/ul>\n<ul>\n<li>\u3010\u79cb\u62db\u00b7\u4e3b\u6279\u3011\u624b\u5199\u5feb\u6392 \/ \u5806\u6392&#xff0c;\u5e76\u5206\u6790\u7a33\u5b9a\u6027\u4e0e\u590d\u6742\u5ea6\u3002<\/li>\n<\/ul>\n<ul>\n<li>\u3010\u79cb\u62db\u00b7\u4e3b\u6279\u3011\u624b\u6495&#xff1a;\u65e0\u91cd\u590d\u5b57\u7b26\u7684\u6700\u957f\u5b50\u4e32 \/ \u4e09\u6570\u4e4b\u548c\u3002<\/li>\n<\/ul>\n<hr \/>\n<h3 id=\"%E5%85%AD%E3%80%81%E5%8D%8E%E4%B8%BA%20%2F%20%E5%8D%8E%E4%B8%BA%20OD%EF%BC%88%E9%9A%BE%E5%BA%A6%20%E2%98%85%E2%98%85%E2%98%86%EF%BC%8C%E9%87%8D%E5%9F%BA%E7%A1%80%E5%B9%BF%E5%BA%A6%20%2B%20%E6%9C%BA%E8%AF%95%EF%BC%89\">\u516d\u3001\u534e\u4e3a \/ \u534e\u4e3a OD&#xff08;\u96be\u5ea6 \u2605\u2605\u2606&#xff0c;\u91cd\u57fa\u7840\u5e7f\u5ea6 &#043; \u673a\u8bd5&#xff09;<\/h3>\n<p>\u98ce\u683c&#xff1a;\u534e\u4e3a\u6b63\u5f0f\u6279\u504f\u300c\u57fa\u7840\u5168\u9762 &#043; \u624b\u6495\u673a\u8bd5&#xff08;\u591a\u4e3a LeetCode \u7b80\u5355~\u4e2d\u7b49&#xff09;\u300d&#xff0c;\u5bf9\u53cc\u975e\u76f8\u5bf9\u53cb\u597d&#xff1b;\u534e\u4e3a OD&#xff08;\u5916\u5305\u8f6c\u5168&#xff09;\u673a\u8bd5\u5360\u6bd4\u5927&#xff08;3 \u9053\u7f16\u7a0b\u9898&#xff09;&#xff0c;\u9762\u8bd5\u95ee\u5f97\u6bd4\u4e00\u7ebf\u5927\u5382\u6d45&#xff0c;\u4f46\u8303\u56f4\u5e7f\u3001\u4e0d\u6df1\u6316\u3002\u6ce8\u610f\u534e\u4e3a OD \u7b80\u5386\u7b5b\u9009\u548c\u673a\u8bd5\u5206\u6570\u7ebf\u662f\u786c\u95e8\u69db\u3002<\/p>\n<h4 id=\"%E2%91%A0%20%E5%9F%BA%E7%A1%80%E5%B1%82\">\u2460 \u57fa\u7840\u5c42<\/h4>\n<ul>\n<li>\u3010\u56db\u5b63\u901a\u7528\u00b7\u57fa\u7840\u3011C&#043;&#043; \u4e09\u5927\u7279\u6027\u662f\u4ec0\u4e48&#xff1f;<\/li>\n<\/ul>\n<ul>\n<li>\u3010\u6625\u62db\u00b7\u5b9e\u4e60\u3011new\/delete \u548c malloc\/free \u533a\u522b&#xff1f;&#xff08;\u534e\u4e3a\u5fc5\u95ee\u57fa\u7840&#xff09;<\/li>\n<\/ul>\n<ul>\n<li>\u3010\u79cb\u62db\u00b7\u4e3b\u6279\u3011\u5f15\u7528\u548c\u6307\u9488\u533a\u522b&#xff1f;&#xff08;\u534e\u4e3a\u57fa\u7840\u9898\u9ad8\u9891&#xff09;<\/li>\n<\/ul>\n<ul>\n<li>\u3010\u56db\u5b63\u901a\u7528\u00b7\u57fa\u7840\u3011\u7eaf\u865a\u51fd\u6570\u548c\u865a\u51fd\u6570\u533a\u522b&#xff1f;<\/li>\n<\/ul>\n<h4 id=\"%E2%91%A1%20%E8%BF%9B%E9%98%B6%E5%B1%82\">\u2461 \u8fdb\u9636\u5c42<\/h4>\n<ul>\n<li>\u3010\u79cb\u62db\u00b7\u4e3b\u6279\u3011\u591a\u6001\u600e\u4e48\u5b9e\u73b0&#xff08;\u5e95\u5c42&#xff09;&#xff1f;<\/li>\n<\/ul>\n<ul>\n<li>\u3010\u79cb\u62db\u00b7\u4e3b\u6279\u3011shared_ptr \u548c unique_ptr \u600e\u4e48\u9009&#xff1f;<\/li>\n<\/ul>\n<ul>\n<li>\u3010\u79cb\u62db\u00b7\u4e3b\u6279\u3011vector \u548c list \u533a\u522b&#xff1f;&#xff08;\u534e\u4e3a\u5e38\u8003\u5bb9\u5668\u5bf9\u6bd4&#xff09;<\/li>\n<\/ul>\n<ul>\n<li>\u3010\u56db\u5b63\u901a\u7528\u3011const \u7684\u5e38\u89c1\u7528\u6cd5&#xff1f;<\/li>\n<\/ul>\n<h4 id=\"%E2%91%A2%20%E9%AB%98%E9%9A%BE%E5%B1%82%EF%BC%88%E5%8D%8E%E4%B8%BA%E5%81%8F%E5%B0%91%EF%BC%8COD%20%E6%9C%BA%E8%AF%95%E4%B8%BA%E4%B8%BB%EF%BC%89\">\u2462 \u9ad8\u96be\u5c42&#xff08;\u534e\u4e3a\u504f\u5c11&#xff0c;OD \u673a\u8bd5\u4e3a\u4e3b&#xff09;<\/h4>\n<ul>\n<li>\u3010\u5f85\u9a8c\u8bc1\u3011OD \u673a\u8bd5\u5e38\u89c1\u9898\u578b&#xff1a;\u5b57\u7b26\u4e32\u5904\u7406\u3001\u54c8\u5e0c\u8ba1\u6570\u3001\u6a21\u62df\u3001DFS\/BFS \u7b80\u5355\u56fe\u3002<\/li>\n<\/ul>\n<ul>\n<li>\u3010\u79cb\u62db\u00b7\u4e3b\u6279\u3011\u600e\u4e48\u907f\u514d\u5185\u5b58\u6cc4\u6f0f&#xff1f;<\/li>\n<\/ul>\n<hr \/>\n<h3 id=\"%E4%B8%83%E3%80%81%E4%BA%AC%E4%B8%9C%EF%BC%88%E9%9A%BE%E5%BA%A6%20%E2%98%85%E2%98%85%E2%98%85%EF%BC%8C%E5%81%8F%E5%90%8E%E5%8F%B0%E4%B8%9A%E5%8A%A1%20%2B%20%E5%9F%BA%E7%A1%80%EF%BC%89\">\u4e03\u3001\u4eac\u4e1c&#xff08;\u96be\u5ea6 \u2605\u2605\u2605&#xff0c;\u504f\u540e\u53f0\u4e1a\u52a1 &#043; \u57fa\u7840&#xff09;<\/h3>\n<p>\u98ce\u683c&#xff1a;\u4eac\u4e1c\u96f6\u552e\/\u7269\u6d41\u540e\u53f0 C&#043;&#043; \u5c97&#xff0c;\u57fa\u7840\u548c\u5b57\u8282\u7c7b\u4f3c\u4f46\u624b\u6495\u96be\u5ea6\u7565\u4f4e&#xff0c;\u91cd\u89c6 STL\u3001\u7f51\u7edc\u3001\u6570\u636e\u5e93\u7ed3\u5408\u4e1a\u52a1&#xff0c;\u5bf9\u300c\u5de5\u7a0b\u89c4\u8303\u3001\u4ee3\u7801\u53ef\u8bfb\u6027\u300d\u6709\u8981\u6c42\u3002<\/p>\n<h4 id=\"%E2%91%A0%20%E5%9F%BA%E7%A1%80%E5%B1%82\">\u2460 \u57fa\u7840\u5c42<\/h4>\n<ul>\n<li>\u3010\u6625\u62db\u00b7\u5b9e\u4e60\u3011extern &#034;C&#034; \u662f\u5e72\u4ec0\u4e48\u7684&#xff1f;<\/li>\n<\/ul>\n<ul>\n<li>\u3010\u56db\u5b63\u901a\u7528\u00b7\u57fa\u7840\u3011\u5934\u6587\u4ef6\u4e3a\u4ec0\u4e48\u8981\u52a0 include guard \/ #pragma once&#xff1f;<\/li>\n<\/ul>\n<ul>\n<li>\u3010\u79cb\u62db\u00b7\u4e3b\u6279\u3011\u5de6\u503c\u3001\u53f3\u503c\u3001\u5de6\u503c\u5f15\u7528\u3001\u53f3\u503c\u5f15\u7528&#xff1f;<\/li>\n<\/ul>\n<h4 id=\"%E2%91%A1%20%E8%BF%9B%E9%98%B6%E5%B1%82\">\u2461 \u8fdb\u9636\u5c42<\/h4>\n<ul>\n<li>\u3010\u79cb\u62db\u00b7\u4e3b\u6279\u3011string \u7684 SSO&#xff08;\u77ed\u5b57\u7b26\u4e32\u4f18\u5316&#xff09;\u662f\u4ec0\u4e48&#xff1f;<\/li>\n<\/ul>\n<ul>\n<li>\u3010\u79cb\u62db\u00b7\u4e3b\u6279\u3011map \u548c unordered_map \u533a\u522b&#xff1f;&#xff08;\u5df2\u5bf9\u6bd4&#xff09;<\/li>\n<\/ul>\n<ul>\n<li>\u3010\u79cb\u62db\u00b7\u4e3b\u6279\u3011\u4ec0\u4e48\u662f\u7f13\u5b58\u4e00\u81f4\u6027&#xff1f;MESI \u4e86\u89e3\u5417&#xff1f;<\/li>\n<\/ul>\n<h4 id=\"%E2%91%A2%20%E9%AB%98%E9%9A%BE%E5%B1%82\">\u2462 \u9ad8\u96be\u5c42<\/h4>\n<ul>\n<li>\u3010\u63d0\u524d\u6279\u00b7\u9ad8\u96be\u3011\u8bbe\u8ba1\u4e00\u4e2a\u8d2d\u7269\u8f66\/\u5e93\u5b58\u6263\u51cf\u7684\u9ad8\u5e76\u53d1\u65b9\u6848\u3002<\/li>\n<\/ul>\n<ul>\n<li>\u3010\u79cb\u62db\u00b7\u4e3b\u6279\u3011\u624b\u6495&#xff1a;\u73af\u5f62\u94fe\u8868\u68c0\u6d4b \/ \u76f8\u4ea4\u94fe\u8868\u3002<\/li>\n<\/ul>\n<ul>\n<li>\u3010\u79cb\u62db\u00b7\u4e3b\u6279\u3011\u624b\u6495&#xff1a;\u5b9e\u73b0 strStr \/ \u6700\u957f\u56de\u6587\u5b50\u4e32\u3002<\/li>\n<\/ul>\n<hr \/>\n<h3 id=\"%E5%85%AB%E3%80%81%E7%BD%91%E6%98%93%EF%BC%88%E9%9A%BE%E5%BA%A6%20%E2%98%85%E2%98%85%E2%98%85%EF%BC%8C%E6%B8%B8%E6%88%8F%2F%E5%90%8E%E5%8F%B0%E5%8F%8C%E7%BA%BF%EF%BC%89\">\u516b\u3001\u7f51\u6613&#xff08;\u96be\u5ea6 \u2605\u2605\u2605&#xff0c;\u6e38\u620f\/\u540e\u53f0\u53cc\u7ebf&#xff09;<\/h3>\n<p>\u98ce\u683c&#xff1a;\u7f51\u6613 C&#043;&#043; \u5c97\u5206\u4e24\u8def&#xff1a;\u6e38\u620f&#xff08;\u96f7\u706b\/\u4e92\u5a31&#xff0c;\u91cd C&#043;&#043; \u5e95\u5c42\u3001\u5185\u5b58\u3001\u6e32\u67d3\u76f8\u5173&#xff09;\u548c\u540e\u53f0&#xff08;\u4e25\u9009\/\u4e91\u97f3\u4e50&#xff0c;\u504f\u7f51\u7edc\/\u5e76\u53d1&#xff09;\u3002\u6574\u4f53\u57fa\u7840\u624e\u5b9e &#043; \u4e00\u5b9a\u624b\u6495&#xff0c;\u6e38\u620f\u7ebf\u5bf9 C&#043;&#043; \u529f\u529b\u8981\u6c42\u66f4\u9ad8\u3002<\/p>\n<h4 id=\"%E2%91%A0%20%E5%9F%BA%E7%A1%80%E5%B1%82\">\u2460 \u57fa\u7840\u5c42<\/h4>\n<ul>\n<li>\u3010\u6625\u62db\u00b7\u5b9e\u4e60\u3011\u4ec0\u4e48\u662f\u591a\u6001&#xff1f;\u7f16\u8bd1\u671f\u591a\u6001\u548c\u8fd0\u884c\u671f\u591a\u6001\u5206\u522b\u6307\u4ec0\u4e48&#xff1f;<\/li>\n<\/ul>\n<ul>\n<li>\u3010\u56db\u5b63\u901a\u7528\u00b7\u57fa\u7840\u3011inline \u51fd\u6570\u4f1a\u4e0d\u4f1a\u4e00\u5b9a\u88ab\u5c55\u5f00&#xff1f;<\/li>\n<\/ul>\n<ul>\n<li>\u3010\u79cb\u62db\u00b7\u4e3b\u6279\u3011\u4ec0\u4e48\u662f\u672a\u5b9a\u4e49\u884c\u4e3a&#xff08;UB&#xff09;&#xff1f;\u4e3e\u4e09\u4e2a\u4f8b\u5b50\u3002<\/li>\n<\/ul>\n<h4 id=\"%E2%91%A1%20%E8%BF%9B%E9%98%B6%E5%B1%82\">\u2461 \u8fdb\u9636\u5c42<\/h4>\n<ul>\n<li>\u3010\u79cb\u62db\u00b7\u4e3b\u6279\u3011\u865a\u7ee7\u627f\u89e3\u51b3\u4ec0\u4e48\u95ee\u9898&#xff1f;\u4ee3\u4ef7\u662f\u4ec0\u4e48&#xff1f;<\/li>\n<\/ul>\n<ul>\n<li>\u3010\u79cb\u62db\u00b7\u4e3b\u6279\u3011\u667a\u80fd\u6307\u9488\u7684\u5f15\u7528\u8ba1\u6570\u7ebf\u7a0b\u5b89\u5168\u600e\u4e48\u7406\u89e3&#xff1f;&#xff08;\u5df2\u8bb2&#xff0c;\u7f51\u6613\u6e38\u620f\u7ebf\u6df1\u6316&#xff09;<\/li>\n<\/ul>\n<ul>\n<li>\u3010\u79cb\u62db\u00b7\u4e3b\u6279\u3011std::thread \u548c pthread \u533a\u522b&#xff1f;detach \u548c join \u533a\u522b&#xff1f;<\/li>\n<\/ul>\n<h4 id=\"%E2%91%A2%20%E9%AB%98%E9%9A%BE%E5%B1%82\">\u2462 \u9ad8\u96be\u5c42<\/h4>\n<ul>\n<li>\u3010\u63d0\u524d\u6279\u00b7\u9ad8\u96be\u3011\u6e38\u620f\u91cc\u5927\u91cf\u5c0f\u5bf9\u8c61&#xff08;\u5b50\u5f39\/\u7c92\u5b50&#xff09;\u600e\u4e48\u7ba1\u7406\u5185\u5b58&#xff1f;<\/li>\n<\/ul>\n<ul>\n<li>\u3010\u79cb\u62db\u00b7\u4e3b\u6279\u3011\u624b\u6495&#xff1a;\u5b9e\u73b0\u4e00\u4e2a\u5b9a\u957f\u5185\u5b58\u6c60 \/ \u7b80\u5355\u7684\u5bf9\u8c61\u6c60\u3002<\/li>\n<\/ul>\n<ul>\n<li>\u3010\u79cb\u62db\u00b7\u4e3b\u6279\u3011\u624b\u6495&#xff1a;\u5bf9\u79f0\u7684\u4e8c\u53c9\u6811 \/ \u4e8c\u53c9\u6811\u7684\u955c\u50cf\u3002<\/li>\n<\/ul>\n<hr \/>\n<h3 id=\"%E4%B9%9D%E3%80%81%E6%8B%BC%E5%A4%9A%E5%A4%9A%EF%BC%88%E9%9A%BE%E5%BA%A6%20%E2%98%85%E2%98%85%E2%98%85%E2%98%85%EF%BC%8C%E9%87%8D%E7%AE%97%E6%B3%95%20%2B%20%E9%AB%98%E5%B9%B6%E5%8F%91%20%2B%20%E6%8A%97%E5%8E%8B%EF%BC%89\">\u4e5d\u3001\u62fc\u591a\u591a&#xff08;\u96be\u5ea6 \u2605\u2605\u2605\u2605&#xff0c;\u91cd\u7b97\u6cd5 &#043; \u9ad8\u5e76\u53d1 &#043; \u6297\u538b&#xff09;<\/h3>\n<p>\u98ce\u683c&#xff1a;\u62fc\u591a\u591a C&#043;&#043; \u5c97&#xff08;\u7535\u5546\/\u652f\u4ed8\/\u98ce\u63a7\u540e\u53f0&#xff09;\u4ee5\u300c\u7b97\u6cd5\u786c &#043; \u624b\u6495\u591a &#043; \u95ee\u5f97\u6df1\u300d\u8457\u79f0&#xff0c;\u9762\u8bd5\u8f6e\u6b21\u591a\u3001\u8282\u594f\u5feb&#xff0c;\u5bf9 STL \u5e95\u5c42\u3001\u5e76\u53d1\u3001\u6d77\u91cf\u6570\u636e\u9898\u8981\u6c42\u9ad8&#xff0c;\u662f\u9664\u5b57\u8282\u5916\u624b\u6495\u6700\u72e0\u7684\u5382\u4e4b\u4e00\u3002<\/p>\n<h4 id=\"%E2%91%A0%20%E5%9F%BA%E7%A1%80%E5%B1%82\">\u2460 \u57fa\u7840\u5c42<\/h4>\n<ul>\n<li>\u3010\u56db\u5b63\u901a\u7528\u00b7\u57fa\u7840\u3011\u4faf\u6377\u8bf4\u7684\u300cC&#043;&#043; \u5bf9\u8c61\u6a21\u578b\u300d\u4f60\u4e86\u89e3\u591a\u5c11&#xff1f;<\/li>\n<\/ul>\n<ul>\n<li>\u3010\u79cb\u62db\u00b7\u4e3b\u6279\u3011volatile \u5173\u952e\u5b57\u5230\u5e95\u4fdd\u8bc1\u4ec0\u4e48\u3001\u4e0d\u4fdd\u8bc1\u4ec0\u4e48&#xff1f;<\/li>\n<\/ul>\n<ul>\n<li>\u3010\u6625\u62db\u00b7\u5b9e\u4e60\u3011\u4ec0\u4e48\u662f trivial \/ non-trivial \u7c7b\u578b&#xff1f;<\/li>\n<\/ul>\n<h4 id=\"%E2%91%A1%20%E8%BF%9B%E9%98%B6%E5%B1%82\">\u2461 \u8fdb\u9636\u5c42<\/h4>\n<ul>\n<li>\u3010\u79cb\u62db\u00b7\u4e3b\u6279\u3011shared_ptr \u7684\u5faa\u73af\u5f15\u7528\u5177\u4f53\u4ee3\u7801\u600e\u4e48\u5199\u3001\u600e\u4e48\u7834&#xff1f;&#xff08;\u5df2\u8bb2&#xff09;<\/li>\n<\/ul>\n<ul>\n<li>\u3010\u79cb\u62db\u00b7\u4e3b\u6279\u3011vector \u6269\u5bb9\u65f6\u8fed\u4ee3\u5668\/\u6307\u9488\/\u5f15\u7528\u5168\u5931\u6548&#xff0c;\u4e3a\u4ec0\u4e48&#xff1f;<\/li>\n<\/ul>\n<ul>\n<li>\u3010\u79cb\u62db\u00b7\u4e3b\u6279\u3011epoll \u4e3a\u4ec0\u4e48\u6bd4 select \u9002\u5408\u5341\u4e07\u7ea7\u8fde\u63a5&#xff1f;&#xff08;\u5df2\u8bb2&#xff0c;\u62fc\u591a\u591a\u9ad8\u5e76\u53d1\u5fc5\u95ee&#xff09;<\/li>\n<\/ul>\n<h4 id=\"%E2%91%A2%20%E9%AB%98%E9%9A%BE%E5%B1%82\">\u2462 \u9ad8\u96be\u5c42<\/h4>\n<ul>\n<li>\u3010\u63d0\u524d\u6279\u00b7\u9ad8\u96be\u301110 \u4ebf\u6574\u6570\u627e\u4e2d\u4f4d\u6570&#xff08;\u5185\u5b58\u9650\u5236 1G&#xff09;&#xff1f;\u6d77\u91cf\u6570\u636e\u53bb\u91cd&#xff1f;<\/li>\n<\/ul>\n<ul>\n<li>\u3010\u79cb\u62db\u00b7\u4e3b\u6279\u3011\u624b\u6495&#xff1a;\u63a5\u96e8\u6c34 \/ \u6700\u5927\u77e9\u5f62&#xff08;\u5355\u8c03\u6808&#xff09;&#xff1f;\u7f16\u8f91\u8ddd\u79bb&#xff08;DP&#xff09;&#xff1f;<\/li>\n<\/ul>\n<ul>\n<li>\u3010\u79cb\u62db\u00b7\u4e3b\u6279\u3011\u624b\u6495&#xff1a;\u5b9e\u73b0\u4e00\u4e2a\u7ebf\u7a0b\u5b89\u5168\u7684\u963b\u585e\u961f\u5217\u3002<\/li>\n<\/ul>\n<ul>\n<li>\u3010\u63d0\u524d\u6279\u00b7\u9ad8\u96be\u3011\u9ad8\u5e76\u53d1\u4e0b\u5982\u4f55\u8bbe\u8ba1\u4e00\u4e2a\u79d2\u6740\u7cfb\u7edf&#xff08;\u62fc\u591a\u591a\u6838\u5fc3\u4e1a\u52a1&#xff09;&#xff1f;<\/li>\n<\/ul>\n<hr \/>\n<h3 id=\"%E5%8D%81%E3%80%81%E5%BF%AB%E6%89%8B%EF%BC%88%E9%9A%BE%E5%BA%A6%20%E2%98%85%E2%98%85%E2%98%85%E2%98%86%EF%BC%8C%E7%9F%AD%E8%A7%86%E9%A2%91%E5%90%8E%E5%8F%B0%20%2B%20%E7%AE%97%E6%B3%95%EF%BC%89\">\u5341\u3001\u5feb\u624b&#xff08;\u96be\u5ea6 \u2605\u2605\u2605\u2606&#xff0c;\u77ed\u89c6\u9891\u540e\u53f0 &#043; \u7b97\u6cd5&#xff09;<\/h3>\n<p>\u98ce\u683c&#xff1a;\u5feb\u624b C&#043;&#043; \u5c97&#xff08;\u77ed\u89c6\u9891\/\u63a8\u8350\/\u57fa\u7840\u8bbe\u65bd&#xff09;\u57fa\u7840\u548c\u7b97\u6cd5\u5e76\u91cd&#xff0c;\u624b\u6495\u4e2d\u7b49\u504f\u4e0a&#xff0c;\u5bf9\u7f51\u7edc\u3001\u5b58\u50a8\u3001\u5206\u5e03\u5f0f\u6982\u5ff5\u6709\u8981\u6c42&#xff0c;\u6574\u4f53\u63a5\u8fd1\u7f8e\u56e2\/\u767e\u5ea6\u7684\u96be\u5ea6\u533a\u95f4\u3002<\/p>\n<h4 id=\"%E2%91%A0%20%E5%9F%BA%E7%A1%80%E5%B1%82\">\u2460 \u57fa\u7840\u5c42<\/h4>\n<ul>\n<li>\u3010\u56db\u5b63\u901a\u7528\u00b7\u57fa\u7840\u3011\u524d\u7f6e &#043;&#043; \u548c\u540e\u7f6e &#043;&#043; \u7684\u533a\u522b&#xff08;\u8fd0\u7b97\u7b26\u91cd\u8f7d\u89d2\u5ea6&#xff09;&#xff1f;<\/li>\n<\/ul>\n<ul>\n<li>\u3010\u6625\u62db\u00b7\u5b9e\u4e60\u3011this \u6307\u9488\u662f\u4ec0\u4e48&#xff1f;\u4e3a\u4ec0\u4e48\u6709\u65f6\u4f1a\u4e3a\u7a7a\u4e5f\u80fd\u8c03\u7528\u6210\u5458\u51fd\u6570&#xff1f;<\/li>\n<\/ul>\n<h4 id=\"%E2%91%A1%20%E8%BF%9B%E9%98%B6%E5%B1%82\">\u2461 \u8fdb\u9636\u5c42<\/h4>\n<ul>\n<li>\u3010\u79cb\u62db\u00b7\u4e3b\u6279\u3011\u6a21\u677f\u7279\u5316\u548c\u504f\u7279\u5316\u662f\u4ec0\u4e48&#xff1f;<\/li>\n<\/ul>\n<ul>\n<li>\u3010\u79cb\u62db\u00b7\u4e3b\u6279\u3011\u5b8c\u7f8e\u8f6c\u53d1&#xff08;forward&#xff09;\u4e3a\u4ec0\u4e48\u9700\u8981\u5f15\u7528\u6298\u53e0&#xff1f;<\/li>\n<\/ul>\n<ul>\n<li>\u3010\u79cb\u62db\u00b7\u4e3b\u6279\u3011shared_ptr \u7684 enable_shared_from_this \u662f\u5e72\u561b\u7684&#xff1f;<\/li>\n<\/ul>\n<h4 id=\"%E2%91%A2%20%E9%AB%98%E9%9A%BE%E5%B1%82\">\u2462 \u9ad8\u96be\u5c42<\/h4>\n<ul>\n<li>\u3010\u63d0\u524d\u6279\u00b7\u9ad8\u96be\u3011\u8bbe\u8ba1\u4e00\u4e2a\u63a8\u8350\u7cfb\u7edf\u7684\u7279\u5f81\u7f13\u5b58\u5c42&#xff08;\u5feb\u624b\u4e1a\u52a1&#xff09;\u3002<\/li>\n<\/ul>\n<ul>\n<li>\u3010\u79cb\u62db\u00b7\u4e3b\u6279\u3011\u624b\u6495&#xff1a;\u6700\u957f\u9012\u589e\u5b50\u5e8f\u5217&#xff08;LIS&#xff09;\/ \u7f16\u8f91\u8ddd\u79bb\u3002<\/li>\n<\/ul>\n<ul>\n<li>\u3010\u79cb\u62db\u00b7\u4e3b\u6279\u3011\u624b\u6495&#xff1a;K \u4e2a\u4e00\u7ec4\u7ffb\u8f6c\u94fe\u8868\u3002<\/li>\n<\/ul>\n<hr \/>\n<h3 id=\"%E5%8D%81%E4%B8%80%E3%80%81%E5%B0%8F%E7%B1%B3%EF%BC%88%E9%9A%BE%E5%BA%A6%20%E2%98%85%E2%98%85%E2%98%85%EF%BC%8C%E5%81%8F%E5%B5%8C%E5%85%A5%E5%BC%8F%2F%E6%89%8B%E6%9C%BA%E7%B3%BB%E7%BB%9F%20%2B%20%E5%90%8E%E5%8F%B0%EF%BC%89\">\u5341\u4e00\u3001\u5c0f\u7c73&#xff08;\u96be\u5ea6 \u2605\u2605\u2605&#xff0c;\u504f\u5d4c\u5165\u5f0f\/\u624b\u673a\u7cfb\u7edf &#043; \u540e\u53f0&#xff09;<\/h3>\n<p>\u98ce\u683c&#xff1a;\u5c0f\u7c73 C&#043;&#043; \u5c97\u5206\u624b\u673a\u7cfb\u7edf\/\u5d4c\u5165\u5f0f&#xff08;MIUI\u3001\u6f8e\u6e43\u3001IoT&#xff09;\u548c\u4e92\u8054\u7f51\u540e\u53f0\u4e24\u8def\u3002\u7cfb\u7edf\/\u5d4c\u5165\u5f0f\u7ebf\u91cd C &#043; \u5e95\u5c42&#xff08;\u5185\u5b58\u3001\u9a71\u52a8\u3001\u8de8\u5e73\u53f0&#xff09;&#xff0c;\u540e\u53f0\u7ebf\u63a5\u8fd1\u4eac\u4e1c\u96be\u5ea6\u3002\u6574\u4f53\u6bd4\u4e00\u7ebf\u5927\u5382\u6e29\u548c&#xff0c;\u5bf9\u53cc\u975e\u53cb\u597d\u5ea6\u8f83\u9ad8\u3002<\/p>\n<h4 id=\"%E2%91%A0%20%E5%9F%BA%E7%A1%80%E5%B1%82\">\u2460 \u57fa\u7840\u5c42<\/h4>\n<ul>\n<li>\u3010\u6625\u62db\u00b7\u5b9e\u4e60\u3011C \u548c C&#043;&#043; \u5728\u5d4c\u5165\u5f0f\u91cc\u600e\u4e48\u9009&#xff1f;extern &#034;C&#034; \u5728\u6df7\u5408\u7f16\u7a0b\u91cc\u5e72\u561b&#xff1f;&#xff08;\u5df2\u8bb2&#xff09;<\/li>\n<\/ul>\n<ul>\n<li>\u3010\u56db\u5b63\u901a\u7528\u00b7\u57fa\u7840\u3011\u5927\u7aef\u5c0f\u7aef\u662f\u4ec0\u4e48&#xff1f;\u600e\u4e48\u5224\u65ad\u672c\u673a\u5b57\u8282\u5e8f&#xff1f;<\/li>\n<\/ul>\n<h4 id=\"%E2%91%A1%20%E8%BF%9B%E9%98%B6%E5%B1%82\">\u2461 \u8fdb\u9636\u5c42<\/h4>\n<ul>\n<li>\u3010\u79cb\u62db\u00b7\u4e3b\u6279\u3011volatile \u5728\u5d4c\u5165\u5f0f\u91cc\u7684\u771f\u5b9e\u7528\u9014&#xff1f;<\/li>\n<\/ul>\n<ul>\n<li>\u3010\u79cb\u62db\u00b7\u4e3b\u6279\u3011malloc \u5728\u5d4c\u5165\u5f0f\u91cc\u7684\u95ee\u9898&#xff1f;\u4e3a\u4ec0\u4e48\u5e38\u7528\u5185\u5b58\u6c60&#xff1f;<\/li>\n<\/ul>\n<h4 id=\"%E2%91%A2%20%E9%AB%98%E9%9A%BE%E5%B1%82\">\u2462 \u9ad8\u96be\u5c42<\/h4>\n<ul>\n<li>\u3010\u5f85\u9a8c\u8bc1\u3011\u5c0f\u7c73\u7cfb\u7edf\u7ebf\u53ef\u80fd\u95ee&#xff1a;\u5185\u5b58\u788e\u7247\u600e\u4e48\u6392\u67e5&#xff1f;\u6808\u6ea2\u51fa\u600e\u4e48\u9632&#xff1f;<\/li>\n<\/ul>\n<ul>\n<li>\u3010\u79cb\u62db\u00b7\u4e3b\u6279\u3011\u624b\u6495&#xff1a;\u4e8c\u5206\u67e5\u627e&#xff08;\u542b\u8fb9\u754c\u53d8\u4f53&#xff09;\/ \u4e24\u4e2a\u6709\u5e8f\u6570\u7ec4\u7684\u4e2d\u4f4d\u6570\u3002<\/li>\n<\/ul>\n<hr \/>\n<h3 id=\"%E5%8D%81%E4%BA%8C%E3%80%81%E6%BB%B4%E6%BB%B4%EF%BC%88%E9%9A%BE%E5%BA%A6%20%E2%98%85%E2%98%85%E2%98%85%E2%98%86%EF%BC%8C%E5%87%BA%E8%A1%8C%E5%90%8E%E5%8F%B0%20%2B%20%E7%AE%97%E6%B3%95%20%2B%20%E5%9C%B0%E5%9B%BE%EF%BC%89\">\u5341\u4e8c\u3001\u6ef4\u6ef4&#xff08;\u96be\u5ea6 \u2605\u2605\u2605\u2606&#xff0c;\u51fa\u884c\u540e\u53f0 &#043; \u7b97\u6cd5 &#043; \u5730\u56fe&#xff09;<\/h3>\n<p>\u98ce\u683c&#xff1a;\u6ef4\u6ef4 C&#043;&#043; \u5c97&#xff08;\u51fa\u884c\/\u5730\u56fe\/\u8c03\u5ea6\u540e\u53f0&#xff09;\u57fa\u7840\u548c\u7b97\u6cd5\u5e76\u91cd&#xff0c;\u5730\u56fe\/\u7a7a\u95f4\u76f8\u5173\u9898\u6709\u7279\u8272&#xff0c;\u5bf9 STL\u3001\u7f51\u7edc\u3001\u5e76\u53d1\u8981\u6c42\u624e\u5b9e&#xff0c;\u96be\u5ea6\u4ecb\u4e8e\u7f8e\u56e2\u548c\u5b57\u8282\u4e4b\u95f4\u3002<\/p>\n<h4 id=\"%E2%91%A0%20%E5%9F%BA%E7%A1%80%E5%B1%82\">\u2460 \u57fa\u7840\u5c42<\/h4>\n<ul>\n<li>\u3010\u56db\u5b63\u901a\u7528\u00b7\u57fa\u7840\u3011constexpr \u548c const \u5728\u7f16\u8bd1\u671f\u7684\u533a\u522b&#xff1f;&#xff08;\u5df2\u8bb2&#xff09;<\/li>\n<\/ul>\n<ul>\n<li>\u3010\u6625\u62db\u00b7\u5b9e\u4e60\u3011\u4ec0\u4e48\u662f\u547d\u540d\u7a7a\u95f4&#xff08;namespace&#xff09;&#xff1f;using namespace std \u4e3a\u4ec0\u4e48\u4e0d\u63a8\u8350\u5199\u5728\u5934\u6587\u4ef6&#xff1f;<\/li>\n<\/ul>\n<h4 id=\"%E2%91%A1%20%E8%BF%9B%E9%98%B6%E5%B1%82\">\u2461 \u8fdb\u9636\u5c42<\/h4>\n<ul>\n<li>\u3010\u79cb\u62db\u00b7\u4e3b\u6279\u3011unordered_map \u7684 reserve \u6709\u4ec0\u4e48\u7528&#xff1f;rehash \u4ee3\u4ef7&#xff1f;<\/li>\n<\/ul>\n<ul>\n<li>\u3010\u79cb\u62db\u00b7\u4e3b\u6279\u3011\u6761\u4ef6\u53d8\u91cf\u4e3a\u4ec0\u4e48\u5fc5\u987b\u548c\u4e92\u65a5\u9501\u4e00\u8d77\u7528\u3001\u4e14\u7528 while \u800c\u975e if \u5224\u65ad&#xff1f;<\/li>\n<\/ul>\n<h4 id=\"%E2%91%A2%20%E9%AB%98%E9%9A%BE%E5%B1%82\">\u2462 \u9ad8\u96be\u5c42<\/h4>\n<ul>\n<li>\u3010\u63d0\u524d\u6279\u00b7\u9ad8\u96be\u3011\u8bbe\u8ba1\u4e00\u4e2a\u53f8\u673a\u5c31\u8fd1\u6d3e\u5355\u7684\u5339\u914d\u6a21\u5757&#xff08;\u6ef4\u6ef4\u4e1a\u52a1&#xff09;\u3002<\/li>\n<\/ul>\n<ul>\n<li>\u3010\u79cb\u62db\u00b7\u4e3b\u6279\u3011\u624b\u6495&#xff1a;\u6ed1\u52a8\u7a97\u53e3\u6700\u5927\u503c&#xff08;\u5355\u8c03\u961f\u5217&#xff09;\/ \u67f1\u72b6\u56fe\u6700\u5927\u77e9\u5f62&#xff08;\u5355\u8c03\u6808&#xff09;\u3002<\/li>\n<\/ul>\n<ul>\n<li>\u3010\u79cb\u62db\u00b7\u4e3b\u6279\u3011\u624b\u6495&#xff1a;\u5c9b\u5c7f\u6570\u91cf&#xff08;DFS\/BFS&#xff09;\/ \u670b\u53cb\u5708&#xff08;\u5e76\u67e5\u96c6&#xff09;\u3002<\/li>\n<\/ul>\n<hr \/>\n<h3 id=\"%E5%8D%81%E4%B8%89%E3%80%81%E5%90%84%E5%A4%A7%E5%8E%82%E9%9D%A2%E8%AF%95%E7%89%B9%E7%82%B9%E6%A8%AA%E5%90%91%E5%AF%B9%E6%AF%94\">\u5341\u4e09\u3001\u5404\u5927\u5382\u9762\u8bd5\u7279\u70b9\u6a2a\u5411\u5bf9\u6bd4<\/h3>\n<table>\n<tbody>\n<tr>\n<td>\n<p>\u5927\u5382<\/p>\n<\/td>\n<td>\n<p>\u6574\u4f53\u96be\u5ea6<\/p>\n<\/td>\n<td>\n<p>\u98ce\u683c\u6807\u7b7e<\/p>\n<\/td>\n<td>\n<p>\u504f\u7231\u8003\u70b9<\/p>\n<\/td>\n<td>\n<p>\u624b\u6495\u5f3a\u5ea6<\/p>\n<\/td>\n<td>\n<p>\u5bf9\u53cc\u975e\u6001\u5ea6<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p>\u5b57\u8282\u8df3\u52a8<\/p>\n<\/td>\n<td>\n<p>\u2605\u2605\u2605\u2606<\/p>\n<\/td>\n<td>\n<p>\u7b97\u6cd5\u4e3a\u738b<\/p>\n<\/td>\n<td>\n<p>\u7b97\u6cd5&#043;STL&#043;OS&#043;\u7f51\u7edc&#xff0c;\u767d\u677f\u5199\u5bf9<\/p>\n<\/td>\n<td>\n<p>\u6781\u9ad8<\/p>\n<\/td>\n<td>\n<p>\u8f83\u53cb\u597d&#xff08;\u770b\u80fd\u529b&#xff09;<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p>\u817e\u8baf<\/p>\n<\/td>\n<td>\n<p>\u2605\u2605\u2605\u2605<\/p>\n<\/td>\n<td>\n<p>\u5e95\u5c42\u6df1\u6316<\/p>\n<\/td>\n<td>\n<p>\u5bf9\u8c61\u6a21\u578b\/\u865a\u8868\u3001\u5185\u5b58\u5e03\u5c40\u3001epoll\u3001\u6b7b\u9501<\/p>\n<\/td>\n<td>\n<p>\u9ad8<\/p>\n<\/td>\n<td>\n<p>\u504f\u91cd\u57fa\u7840\u6df1\u5ea6<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p>\u963f\u91cc\u5df4\u5df4<\/p>\n<\/td>\n<td>\n<p>\u2605\u2605\u2605\u2605<\/p>\n<\/td>\n<td>\n<p>\u57fa\u7840&#043;\u8bbe\u8ba1<\/p>\n<\/td>\n<td>\n<p>STL \u6e90\u7801\u3001\u5e76\u53d1\u3001\u7cfb\u7edf\u8bbe\u8ba1\u3001\u4e1a\u52a1\u573a\u666f<\/p>\n<\/td>\n<td>\n<p>\u4e2d\u9ad8<\/p>\n<\/td>\n<td>\n<p>\u770b\u9879\u76ee\u843d\u5730<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p>\u7f8e\u56e2<\/p>\n<\/td>\n<td>\n<p>\u2605\u2605\u2605\u2606<\/p>\n<\/td>\n<td>\n<p>\u4e1a\u52a1\u843d\u5730<\/p>\n<\/td>\n<td>\n<p>STL\u3001\u7f51\u7edc\u3001MySQL\u3001\u4e1a\u52a1\u573a\u666f\u8bbe\u8ba1<\/p>\n<\/td>\n<td>\n<p>\u4e2d<\/p>\n<\/td>\n<td>\n<p>\u4e2d\u7b49\u53cb\u597d<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p>\u767e\u5ea6<\/p>\n<\/td>\n<td>\n<p>\u2605\u2605\u2605<\/p>\n<\/td>\n<td>\n<p>\u7b97\u6cd5&#043;\u5e7f\u5ea6<\/p>\n<\/td>\n<td>\n<p>\u6570\u636e\u7ed3\u6784\u3001STL\u3001\u6d77\u91cf\u6570\u636e\u9898<\/p>\n<\/td>\n<td>\n<p>\u9ad8<\/p>\n<\/td>\n<td>\n<p>\u8f83\u53cb\u597d<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p>\u534e\u4e3a\/OD<\/p>\n<\/td>\n<td>\n<p>\u2605\u2605\u2606<\/p>\n<\/td>\n<td>\n<p>\u57fa\u7840&#043;\u673a\u8bd5<\/p>\n<\/td>\n<td>\n<p>\u4e09\u5927\u7279\u6027\u3001\u57fa\u7840\u5bb9\u5668\u3001\u673a\u8bd5\u7f16\u7a0b<\/p>\n<\/td>\n<td>\n<p>\u4e2d&#xff08;OD \u673a\u8bd5&#xff09;<\/p>\n<\/td>\n<td>\n<p>\u53cc\u975e\u6700\u53cb\u597d<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p>\u4eac\u4e1c<\/p>\n<\/td>\n<td>\n<p>\u2605\u2605\u2605<\/p>\n<\/td>\n<td>\n<p>\u540e\u53f0\u4e1a\u52a1<\/p>\n<\/td>\n<td>\n<p>STL\u3001\u7f51\u7edc\u3001\u9ad8\u5e76\u53d1\u4e1a\u52a1\u8bbe\u8ba1<\/p>\n<\/td>\n<td>\n<p>\u4e2d<\/p>\n<\/td>\n<td>\n<p>\u4e2d\u7b49<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p>\u7f51\u6613<\/p>\n<\/td>\n<td>\n<p>\u2605\u2605\u2605<\/p>\n<\/td>\n<td>\n<p>\u6e38\u620f\/\u540e\u53f0\u53cc\u7ebf<\/p>\n<\/td>\n<td>\n<p>\u865a\u7ee7\u627f\u3001\u5bf9\u8c61\u6c60\u3001\u5185\u5b58\u7ba1\u7406<\/p>\n<\/td>\n<td>\n<p>\u4e2d<\/p>\n<\/td>\n<td>\n<p>\u4e2d\u7b49<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p>\u62fc\u591a\u591a<\/p>\n<\/td>\n<td>\n<p>\u2605\u2605\u2605\u2605<\/p>\n<\/td>\n<td>\n<p>\u7b97\u6cd5&#043;\u9ad8\u5e76\u53d1<\/p>\n<\/td>\n<td>\n<p>\u6d77\u91cf\u6570\u636e\u3001\u5e76\u53d1\u3001STL \u5e95\u5c42\u3001\u79d2\u6740<\/p>\n<\/td>\n<td>\n<p>\u6781\u9ad8<\/p>\n<\/td>\n<td>\n<p>\u770b\u786c\u5b9e\u529b<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p>\u5feb\u624b<\/p>\n<\/td>\n<td>\n<p>\u2605\u2605\u2605\u2606<\/p>\n<\/td>\n<td>\n<p>\u7b97\u6cd5&#043;\u5b58\u50a8<\/p>\n<\/td>\n<td>\n<p>DP\/\u5355\u8c03\u6808\u3001\u6a21\u677f\u3001shared_from_this<\/p>\n<\/td>\n<td>\n<p>\u4e2d\u9ad8<\/p>\n<\/td>\n<td>\n<p>\u4e2d\u7b49<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p>\u5c0f\u7c73<\/p>\n<\/td>\n<td>\n<p>\u2605\u2605\u2605<\/p>\n<\/td>\n<td>\n<p>\u5d4c\u5165\u5f0f\/\u540e\u53f0<\/p>\n<\/td>\n<td>\n<p>C \u5e95\u5c42\u3001\u5b57\u8282\u5e8f\u3001\u5185\u5b58\u6c60<\/p>\n<\/td>\n<td>\n<p>\u4e2d<\/p>\n<\/td>\n<td>\n<p>\u53cc\u975e\u53cb\u597d<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p>\u6ef4\u6ef4<\/p>\n<\/td>\n<td>\n<p>\u2605\u2605\u2605\u2606<\/p>\n<\/td>\n<td>\n<p>\u51fa\u884c&#043;\u5730\u56fe<\/p>\n<\/td>\n<td>\n<p>\u5355\u8c03\u6808\/\u961f\u5217\u3001\u5e76\u67e5\u96c6\u3001\u5e76\u53d1<\/p>\n<\/td>\n<td>\n<p>\u4e2d\u9ad8<\/p>\n<\/td>\n<td>\n<p>\u4e2d\u7b49<\/p>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h4 id=\"13.1%20%E6%A8%AA%E5%90%91%E8%A7%84%E5%BE%8B%EF%BC%88%E5%80%BC%E5%BE%97%E8%AE%B0%E4%BD%8F%E7%9A%84%205%20%E6%9D%A1%EF%BC%89\">13.1 \u6a2a\u5411\u89c4\u5f8b&#xff08;\u503c\u5f97\u8bb0\u4f4f\u7684 5 \u6761&#xff09;<\/h4>\n<ul>\n<li>\u5e95\u5c42\u662f\u5206\u6c34\u5cad&#xff1a;\u817e\u8baf\/\u62fc\u591a\u591a\/\u963f\u91cc\u628a\u300c\u865a\u8868\u5e03\u5c40\u3001\u667a\u80fd\u6307\u9488\u8ba1\u6570\u3001vector \u6269\u5bb9\u3001epoll\u300d\u6316\u5230\u5b9e\u73b0\u7ea7&#xff0c;\u53ea\u4f1a\u80cc\u5b9a\u4e49\u4e00\u5b9a\u88ab\u6302&#xff1b;\u5b57\u8282\/\u767e\u5ea6\u66f4\u770b\u300c\u5199\u5bf9 &#043; \u8bb2\u6e05\u590d\u6742\u5ea6\u300d\u3002<\/li>\n<\/ul>\n<ul>\n<li>\u624b\u6495\u662f\u786c\u95e8\u69db&#xff1a;\u5b57\u8282\u3001\u62fc\u591a\u591a\u624b\u6495\u6700\u72e0&#xff08;\u4e2d\u7b49\u504f\u96be\u3001\u5f53\u573a\u5199\u5bf9&#xff09;&#xff1b;\u817e\u8baf\/\u963f\u91cc\u624b\u6495\u4e2d\u7b49\u4f46\u4f1a\u8ba9\u4f60\u300c\u8fb9\u5199\u8fb9\u8bb2\u4e3a\u4ec0\u4e48\u300d&#xff1b;\u534e\u4e3a OD \u673a\u8bd5\u662f\u5206\u6570\u95e8\u69db\u3002<\/li>\n<\/ul>\n<ul>\n<li>\u5b63\u8282\u5dee\u5f02\u771f\u5b9e\u5b58\u5728&#xff1a;\u63d0\u524d\u6279&#xff08;7\u20138 \u6708&#xff09;\u6700\u96be\u3001\u5e38\u8003\u8bbe\u8ba1\/\u6e90\u7801&#xff1b;\u79cb\u62db\u4e3b\u6279&#xff08;8\u201311 \u6708&#xff09;\u9898\u91cf\u6700\u5927\u3001\u5e95\u5c42\u8ffd\u95ee\u6700\u591a&#xff1b;\u6625\u62db\/\u5b9e\u4e60&#xff08;3\u20135 \u6708&#xff09;\u504f\u57fa\u7840&#043;\u9879\u76ee&#043;\u4e2d\u7b49\u624b\u6495&#xff0c;\u662f\u53cc\u975e\u6027\u4ef7\u6bd4\u6700\u9ad8\u7684\u7a97\u53e3\u3002<\/li>\n<\/ul>\n<ul>\n<li>STL \u5e95\u5c42\u662f\u5171\u540c\u9ad8\u9891&#xff1a;\u5341\u4e8c\u5bb6\u91cc\u5341\u4e00\u5bb6\u90fd\u95ee vector\/map\/unordered_map \u7684\u5e95\u5c42\u4e0e\u590d\u6742\u5ea6&#xff0c;\u8fd9\u662f\u6027\u4ef7\u6bd4\u6700\u9ad8\u7684\u590d\u4e60\u677f\u5757\u3002<\/li>\n<\/ul>\n<ul>\n<li>\u53cc\u975e\u7a81\u56f4\u9760\u300c\u6df1\u5ea6&#043;\u9879\u76ee\u300d&#xff1a;\u534e\u4e3a\/\u5c0f\u7c73\/\u7f8e\u56e2\/\u767e\u5ea6\u5bf9\u53cc\u975e\u76f8\u5bf9\u53cb\u597d&#xff0c;\u4f46\u90fd\u9700\u8981\u4f60\u80fd\u628a\u67d0\u4e00\u5757\u8bb2\u5230\u6bd4\u79d1\u73ed\u751f\u6df1\u3001\u4e14\u9879\u76ee\u80fd\u7ecf\u5f97\u8d77\u8ffd\u95ee\u3002<\/li>\n<\/ul>\n<hr \/>\n<h3 id=\"%E5%8D%81%E5%9B%9B%E3%80%81%E5%9C%A8%E6%A0%A1%E7%94%9F%E4%B8%8E%E5%BA%94%E5%B1%8A%E7%94%9F%E5%88%86%E9%98%B6%E6%AE%B5%E5%A4%87%E8%80%83%E8%B7%AF%E7%BA%BF\">\u5341\u56db\u3001\u5728\u6821\u751f\u4e0e\u5e94\u5c4a\u751f\u5206\u9636\u6bb5\u5907\u8003\u8def\u7ebf<\/h3>\n<p>\u65e0\u8bba\u4f60\u662f\u521a\u5165\u95e8\u7684\u5927\u4e00\u5927\u4e8c\u5728\u6821\u751f&#xff0c;\u8fd8\u662f\u5373\u5c06\u79cb\u62db\u7684\u5e94\u5c4a\u751f&#xff0c;\u65f6\u95f4\u7a97\u53e3\u90fd\u8fd8\u5728\u3002\u6309\u300c\u5148\u592f\u5b9e\u3001\u518d\u6df1\u6316\u3001\u540e\u51b2\u523a\u300d\u4e09\u9636\u6bb5\u6392&#xff1a;<\/p>\n<h4 id=\"14.1%20%E5%A4%A7%E4%B8%80%2F%E5%A4%A7%E4%BA%8C%E4%B8%8A%EF%BC%9A%E6%8A%8A%E5%9F%BA%E7%A1%80%E7%84%8A%E6%AD%BB%EF%BC%88%E7%8E%B0%E5%9C%A8%E2%80%93%E6%98%8E%E5%B9%B4%EF%BC%89\">14.1 \u5927\u4e00\/\u5927\u4e8c\u4e0a&#xff1a;\u628a\u57fa\u7840\u710a\u6b7b&#xff08;\u73b0\u5728\u2013\u660e\u5e74&#xff09;<\/h4>\n<ul>\n<li>\u5543\u900f C&#043;&#043; \u5bf9\u8c61\u6a21\u578b\u4e0e STL \u6e90\u7801&#xff1a;\u8bfb\u300aC&#043;&#043; Primer\u300b\u6253\u5e95&#xff0c;\u518d\u8bfb\u300aSTL \u6e90\u7801\u5256\u6790\u300b\u628a vector\/map\/unordered_map \u5e95\u5c42\u753b\u51fa\u6765\u3002<\/li>\n<\/ul>\n<ul>\n<li>\u6570\u636e\u7ed3\u6784\u4e0e\u7b97\u6cd5\u5237\u7a7f&#xff1a;LeetCode \u70ed\u9898 100 &#043; \u5251\u6307 Offer&#xff0c;\u94fe\u8868\/\u6811\/DP\/\u4e8c\u5206\/\u6ed1\u7a97\/\u5355\u8c03\u6808\u662f\u9762\u8bd5\u91cd\u707e\u533a&#xff0c;\u767d\u677f\u5199\u5bf9\u662f\u5e95\u7ebf\u3002<\/li>\n<\/ul>\n<ul>\n<li>Linux \u7ee7\u7eed\u6df1\u5165&#xff1a;\u638c\u63e1\u865a\u62df\u5730\u5740\/ELF\/\u7ba1\u9053\u4e4b\u540e&#xff0c;\u4e0b\u4e00\u6b65\u8865\u300c\u7ebf\u7a0b\u540c\u6b65\u3001\u6b7b\u9501\u3001epoll\u300d&#xff0c;\u6b63\u597d\u5bf9\u63a5\u672c\u6587\u5e76\u53d1\u7ae0\u8282\u3002<\/li>\n<\/ul>\n<h4 id=\"14.2%20%E5%A4%A7%E4%BA%8C%E4%B8%8B%2F%E5%A4%A7%E4%B8%89%EF%BC%9A%E5%86%B2%E5%BA%95%E5%B1%82%20%2B%20%E5%81%9A%E9%A1%B9%E7%9B%AE\">14.2 \u5927\u4e8c\u4e0b\/\u5927\u4e09&#xff1a;\u51b2\u5e95\u5c42 &#043; \u505a\u9879\u76ee<\/h4>\n<ul>\n<li>\u64cd\u4f5c\u7cfb\u7edf\u4e0e\u7f51\u7edc\u7cfb\u7edf\u5b66&#xff1a;\u300a\u64cd\u4f5c\u7cfb\u7edf\u6982\u5ff5\u300b\u300aTCP\/IP \u8be6\u89e3\u300b&#xff0c;\u628a\u672c\u6587\u7684 epoll\/\u6b7b\u9501\/TCP \u4ece\u300c\u4f1a\u7b54\u300d\u7ec3\u5230\u300c\u80fd\u753b\u56fe\u8bb2\u300d\u3002\u8fd9\u90e8\u5206\u6070\u6070\u662f\u62c9\u5f00\u5dee\u8ddd\u7684\u5173\u952e\u3002<\/li>\n<\/ul>\n<ul>\n<li>\u505a\u4e00\u4e2a\u80fd\u8bb2\u6df1\u7684\u9879\u76ee&#xff1a;\u63a8\u8350\u81ea\u7814\u300c\u8f7b\u91cf\u7ebf\u7a0b\u6c60 \/ \u7f51\u7edc\u5e93 \/ \u7b80\u6613 Redis\u300d&#xff0c;\u628a RAII\u3001\u667a\u80fd\u6307\u9488\u3001epoll\u3001\u9501\u90fd\u7528\u4e0a&#xff0c;\u9762\u8bd5\u65f6\u7ecf\u5f97\u8d77\u8ffd\u95ee\u3002<\/li>\n<\/ul>\n<ul>\n<li>\u5f00\u59cb\u6295\u5b9e\u4e60&#xff1a;\u5927\u4e8c\u4e0b\u6691\u671f\u4e89\u53d6\u5c0f\u5382\/\u4e2d\u5382\u5b9e\u4e60&#xff0c;\u5927\u4e09\u4e0a\u51b2\u5927\u5382\u6691\u671f\u5b9e\u4e60&#xff08;\u6625\u62db\u7a97\u53e3&#xff0c;\u96be\u5ea6\u4f4e\u4e8e\u79cb\u62db&#xff09;\u3002<\/li>\n<\/ul>\n<h4 id=\"14.3%20%E5%A4%A7%E4%B8%89%E4%B8%8B%2F%E5%A4%A7%E5%9B%9B%EF%BC%9A%E7%A7%8B%E6%8B%9B%E5%86%B2%E5%88%BA\">14.3 \u5927\u4e09\u4e0b\/\u5927\u56db&#xff1a;\u79cb\u62db\u51b2\u523a<\/h4>\n<ul>\n<li>\u6309\u5382\u5237\u9762\u7ecf&#xff1a;\u63d0\u524d\u6279\u51b2\u5b57\u8282\/\u62fc\u591a\u591a&#xff08;\u62fc\u7b97\u6cd5&#xff09;&#xff0c;\u79cb\u62db\u4e3b\u6279\u5e7f\u6295\u817e\u8baf\/\u963f\u91cc\/\u7f8e\u56e2\/\u767e\u5ea6&#xff0c;\u534e\u4e3a OD\/\u5c0f\u7c73\u4f5c\u4e3a\u4fdd\u5e95\u53cc\u975e\u53cb\u597d\u9879\u3002<\/li>\n<\/ul>\n<ul>\n<li>\u628a\u672c\u6587\u5f53\u9776\u5fc3&#xff1a;\u6bcf\u5f20\u8868\u3001\u6bcf\u4e2a\u6613\u6df7\u70b9\u90fd\u80fd\u95ed\u773c\u7b54 &#043; \u753b\u56fe&#xff0c;\u624b\u6495\u9898\u9650\u65f6\u5199\u5bf9\u3002\u672c\u6587\u8986\u76d6\u7684\u5341\u4e8c\u5bb6\u8003\u70b9\u5c31\u662f\u4f60\u7684\u590d\u4e60\u5730\u56fe\u3002<\/li>\n<\/ul>\n<ul>\n<li>\u8bda\u5b9e\u5b9a\u4f4d&#xff1a;\u53cc\u975e\u4e0d\u662f\u6b7b\u5c40&#xff0c;\u4f46\u300c\u53ea\u80cc\u516b\u80a1\u3001\u9879\u76ee\u6c34\u300d\u4e00\u5b9a\u6302&#xff1b;\u628a\u67d0\u4e00\u4e24\u5757\u8bb2\u5230\u6bd4\u79d1\u73ed\u6df1&#xff0c;\u6bd4\u6cdb\u6cdb\u94fa\u5e7f\u5ea6\u6709\u7528\u3002<\/li>\n<\/ul>\n<hr \/>\n<h3 id=\"%E5%8D%81%E4%BA%94%E3%80%81%E7%BB%93%E8%AF%AD\">\u5341\u4e94\u3001\u7ed3\u8bed<\/h3>\n<p>\u672c\u7bc7\u5148\u628a\u5341\u4e8c\u5bb6\u7684\u9898\u76ee\u6e05\u5355\u6446\u6e05\u695a&#xff0c;\u8ba9\u4f60\u4e00\u773c\u770b\u6e05\u8be5\u590d\u4e60\u4ec0\u4e48\u3002\u7b54\u6848\u4e0d\u5728\u672c\u7bc7\u2014\u2014\u540e\u7eed\u4f1a\u6309\u5382\u9010\u7bc7\u51fa\u8be6\u89e3&#xff08;\u542b\u6bcf\u4e2a\u6613\u6df7\u70b9\u7684\u7b54\u6848\u3001\u624b\u6495\u9898\u7684\u6807\u51c6\u5199\u6cd5\u3001\u9762\u8bd5\u5b98\u8ffd\u95ee\u89d2\u5ea6&#xff09;\u3002\u5177\u4f53\u9898\u2192\u5b63\u8282\u7684\u7cbe\u786e\u5bf9\u5e94\u65e0\u6cd5\u9010\u6761\u6eaf\u6e90&#xff0c;\u51e1\u6211\u63a8\u65ad\u5904\u90fd\u6253\u4e86\u3010\u5f85\u9a8c\u8bc1\u3011&#xff1b;\u9762\u7ecf\u6709\u5e78\u5b58\u8005\u504f\u5dee&#xff0c;\u9898\u76ee\u6e05\u5355\u7528\u4e8e\u5efa\u7acb\u590d\u4e60\u9776\u5fc3&#xff0c;\u4e0d\u80fd\u66ff\u4ee3\u7cfb\u7edf\u5543\u4e66\u3002<\/p>\n<p>\u5982\u679c\u89c9\u5f97\u6709\u7528&#xff0c;\u70b9\u8d5e\u6536\u85cf\u8d70\u4e00\u6ce2\u3002\u7b54\u6848\u7cfb\u5217\u6211\u4f1a\u6309\u5382\u4ece\u5b57\u8282\u5f00\u59cb\u9010\u7bc7\u51fa&#xff0c;\u8bc4\u8bba\u533a\u544a\u8bc9\u6211\u4f60\u60f3\u5148\u770b\u54ea\u5bb6\u7684\u7b54\u6848\u8be6\u89e3\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u4f60\u5237\u4e86\u51e0\u5341\u5957\u5927\u5382\u9762\u7ecf&#xff0c;\u53d1\u73b0\u8003\u6765\u8003\u53bb\u5c31\u662f\u90a3\u51e0\u4e2a\u6838\u5fc3\u5751&#xff1a;\u865a\u8868\u5e03\u5c40\u3001\u667a\u80fd\u6307\u9488\u5faa\u73af\u5f15\u7528\u3001vector \u6269\u5bb9\u3001epoll \u7684 ET\/LT\u3001TCP \u7684 TIME_WAIT\u2026\u2026\u4f46\u95ee\u9898\u662f\u4e0d\u77e5\u9053\u54ea\u5bb6\u7231\u95ee\u54ea\u4e2a\u3001\u54ea\u4e2a\u5b63\u8282\u66f4\u96be\u3001\u53cc\u975e\u8be5\u600e\u4e48\u6392\u4f18\u5148\u7ea7\u3002\u672c\u7bc7\u662f\u95ee\u9898\u6e05\u5355\u7bc7&#xff1a;\u53ea\u6c47\u603b\u5341\u4e8c\u5bb6\u5927\u5382\u8fd1\u4e09\u5e74\u7684 C\/C \u9762\u8bd5\u771f\u9898&#xff0c;\u6309\u300c\u5382\u300d\u62c6\u5f00\u3001\u6309\u300c\u96be\u5ea6\u300d\u9012\u8fdb\u3001\u6309\u300c\u5b63\u8282\u300d\u6807\u6ce8\u2014\u2014\u53ea\u5217\u9898\u76ee\u3001\u4e0d\u5199\u7b54\u6848\u3002\u6bcf\u9053\u9898\u7684\u8be6\u89e3\u7b54\u6848\u540e\u7eed\u6309\u5382\u5206\u7bc7\u5355\u72ec\u51fa\u3002\u5148\u628a\u9898\u76ee\u8fc7\u4e00\u904d&#xff0c;\u6478\u6e05<\/p>\n","protected":false},"author":2,"featured_media":102202,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[55,190],"topic":[],"class_list":["post-102203","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-server","tag-c","tag-190"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v20.3 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>\u5927\u5382 C\/C++ 2023\u20132025 \u9762\u8bd5\u9898\u6c47\u603b - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.wsisp.com\/helps\/102203.html\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"\u5927\u5382 C\/C++ 2023\u20132025 \u9762\u8bd5\u9898\u6c47\u603b - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"og:description\" content=\"\u4f60\u5237\u4e86\u51e0\u5341\u5957\u5927\u5382\u9762\u7ecf&#xff0c;\u53d1\u73b0\u8003\u6765\u8003\u53bb\u5c31\u662f\u90a3\u51e0\u4e2a\u6838\u5fc3\u5751&#xff1a;\u865a\u8868\u5e03\u5c40\u3001\u667a\u80fd\u6307\u9488\u5faa\u73af\u5f15\u7528\u3001vector \u6269\u5bb9\u3001epoll \u7684 ET\/LT\u3001TCP \u7684 TIME_WAIT\u2026\u2026\u4f46\u95ee\u9898\u662f\u4e0d\u77e5\u9053\u54ea\u5bb6\u7231\u95ee\u54ea\u4e2a\u3001\u54ea\u4e2a\u5b63\u8282\u66f4\u96be\u3001\u53cc\u975e\u8be5\u600e\u4e48\u6392\u4f18\u5148\u7ea7\u3002\u672c\u7bc7\u662f\u95ee\u9898\u6e05\u5355\u7bc7&#xff1a;\u53ea\u6c47\u603b\u5341\u4e8c\u5bb6\u5927\u5382\u8fd1\u4e09\u5e74\u7684 C\/C \u9762\u8bd5\u771f\u9898&#xff0c;\u6309\u300c\u5382\u300d\u62c6\u5f00\u3001\u6309\u300c\u96be\u5ea6\u300d\u9012\u8fdb\u3001\u6309\u300c\u5b63\u8282\u300d\u6807\u6ce8\u2014\u2014\u53ea\u5217\u9898\u76ee\u3001\u4e0d\u5199\u7b54\u6848\u3002\u6bcf\u9053\u9898\u7684\u8be6\u89e3\u7b54\u6848\u540e\u7eed\u6309\u5382\u5206\u7bc7\u5355\u72ec\u51fa\u3002\u5148\u628a\u9898\u76ee\u8fc7\u4e00\u904d&#xff0c;\u6478\u6e05\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.wsisp.com\/helps\/102203.html\" \/>\n<meta property=\"og:site_name\" content=\"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"article:published_time\" content=\"2026-09-08T03:12:23+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/09\/20260908031222-6a9f7d16531c7.jpg\" \/>\n<meta name=\"author\" content=\"admin\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"\u4f5c\u8005\" \/>\n\t<meta name=\"twitter:data1\" content=\"admin\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4\" \/>\n\t<meta name=\"twitter:data2\" content=\"6 \u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/102203.html\",\"url\":\"https:\/\/www.wsisp.com\/helps\/102203.html\",\"name\":\"\u5927\u5382 C\/C++ 2023\u20132025 \u9762\u8bd5\u9898\u6c47\u603b - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"isPartOf\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\"},\"datePublished\":\"2026-09-08T03:12:23+00:00\",\"dateModified\":\"2026-09-08T03:12:23+00:00\",\"author\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/102203.html#breadcrumb\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.wsisp.com\/helps\/102203.html\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/102203.html#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"https:\/\/www.wsisp.com\/helps\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"\u5927\u5382 C\/C++ 2023\u20132025 \u9762\u8bd5\u9898\u6c47\u603b\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\",\"url\":\"https:\/\/www.wsisp.com\/helps\/\",\"name\":\"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"description\":\"\u9999\u6e2f\u670d\u52a1\u5668_\u9999\u6e2f\u4e91\u670d\u52a1\u5668\u8d44\u8baf_\u670d\u52a1\u5668\u5e2e\u52a9\u6587\u6863_\u670d\u52a1\u5668\u6559\u7a0b\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.wsisp.com\/helps\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"zh-Hans\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\",\"name\":\"admin\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-Hans\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery\",\"contentUrl\":\"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery\",\"caption\":\"admin\"},\"sameAs\":[\"http:\/\/wp.wsisp.com\"],\"url\":\"https:\/\/www.wsisp.com\/helps\/author\/admin\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"\u5927\u5382 C\/C++ 2023\u20132025 \u9762\u8bd5\u9898\u6c47\u603b - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.wsisp.com\/helps\/102203.html","og_locale":"zh_CN","og_type":"article","og_title":"\u5927\u5382 C\/C++ 2023\u20132025 \u9762\u8bd5\u9898\u6c47\u603b - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","og_description":"\u4f60\u5237\u4e86\u51e0\u5341\u5957\u5927\u5382\u9762\u7ecf&#xff0c;\u53d1\u73b0\u8003\u6765\u8003\u53bb\u5c31\u662f\u90a3\u51e0\u4e2a\u6838\u5fc3\u5751&#xff1a;\u865a\u8868\u5e03\u5c40\u3001\u667a\u80fd\u6307\u9488\u5faa\u73af\u5f15\u7528\u3001vector \u6269\u5bb9\u3001epoll \u7684 ET\/LT\u3001TCP \u7684 TIME_WAIT\u2026\u2026\u4f46\u95ee\u9898\u662f\u4e0d\u77e5\u9053\u54ea\u5bb6\u7231\u95ee\u54ea\u4e2a\u3001\u54ea\u4e2a\u5b63\u8282\u66f4\u96be\u3001\u53cc\u975e\u8be5\u600e\u4e48\u6392\u4f18\u5148\u7ea7\u3002\u672c\u7bc7\u662f\u95ee\u9898\u6e05\u5355\u7bc7&#xff1a;\u53ea\u6c47\u603b\u5341\u4e8c\u5bb6\u5927\u5382\u8fd1\u4e09\u5e74\u7684 C\/C \u9762\u8bd5\u771f\u9898&#xff0c;\u6309\u300c\u5382\u300d\u62c6\u5f00\u3001\u6309\u300c\u96be\u5ea6\u300d\u9012\u8fdb\u3001\u6309\u300c\u5b63\u8282\u300d\u6807\u6ce8\u2014\u2014\u53ea\u5217\u9898\u76ee\u3001\u4e0d\u5199\u7b54\u6848\u3002\u6bcf\u9053\u9898\u7684\u8be6\u89e3\u7b54\u6848\u540e\u7eed\u6309\u5382\u5206\u7bc7\u5355\u72ec\u51fa\u3002\u5148\u628a\u9898\u76ee\u8fc7\u4e00\u904d&#xff0c;\u6478\u6e05","og_url":"https:\/\/www.wsisp.com\/helps\/102203.html","og_site_name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","article_published_time":"2026-09-08T03:12:23+00:00","og_image":[{"url":"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/09\/20260908031222-6a9f7d16531c7.jpg"}],"author":"admin","twitter_card":"summary_large_image","twitter_misc":{"\u4f5c\u8005":"admin","\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4":"6 \u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.wsisp.com\/helps\/102203.html","url":"https:\/\/www.wsisp.com\/helps\/102203.html","name":"\u5927\u5382 C\/C++ 2023\u20132025 \u9762\u8bd5\u9898\u6c47\u603b - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","isPartOf":{"@id":"https:\/\/www.wsisp.com\/helps\/#website"},"datePublished":"2026-09-08T03:12:23+00:00","dateModified":"2026-09-08T03:12:23+00:00","author":{"@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41"},"breadcrumb":{"@id":"https:\/\/www.wsisp.com\/helps\/102203.html#breadcrumb"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.wsisp.com\/helps\/102203.html"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.wsisp.com\/helps\/102203.html#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"https:\/\/www.wsisp.com\/helps"},{"@type":"ListItem","position":2,"name":"\u5927\u5382 C\/C++ 2023\u20132025 \u9762\u8bd5\u9898\u6c47\u603b"}]},{"@type":"WebSite","@id":"https:\/\/www.wsisp.com\/helps\/#website","url":"https:\/\/www.wsisp.com\/helps\/","name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","description":"\u9999\u6e2f\u670d\u52a1\u5668_\u9999\u6e2f\u4e91\u670d\u52a1\u5668\u8d44\u8baf_\u670d\u52a1\u5668\u5e2e\u52a9\u6587\u6863_\u670d\u52a1\u5668\u6559\u7a0b","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.wsisp.com\/helps\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"zh-Hans"},{"@type":"Person","@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41","name":"admin","image":{"@type":"ImageObject","inLanguage":"zh-Hans","@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/image\/","url":"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery","contentUrl":"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery","caption":"admin"},"sameAs":["http:\/\/wp.wsisp.com"],"url":"https:\/\/www.wsisp.com\/helps\/author\/admin"}]}},"_links":{"self":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/102203","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/comments?post=102203"}],"version-history":[{"count":0,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/102203\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media\/102202"}],"wp:attachment":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media?parent=102203"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/categories?post=102203"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/tags?post=102203"},{"taxonomy":"topic","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/topic?post=102203"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}