{"id":136159,"date":"2024-04-28T12:27:56","date_gmt":"2024-04-28T04:27:56","guid":{"rendered":"https:\/\/docs.pingcode.com\/ask\/ask-ask\/136159.html"},"modified":"2024-04-28T12:27:59","modified_gmt":"2024-04-28T04:27:59","slug":"c%e7%a8%8b%e5%ba%8f%e5%a6%82%e4%bd%95%e8%bf%90%e8%a1%8c","status":"publish","type":"post","link":"https:\/\/docs.pingcode.com\/ask\/136159.html","title":{"rendered":"c++\u7a0b\u5e8f\u5982\u4f55\u8fd0\u884c"},"content":{"rendered":"<p style=\"text-align:center\"><img decoding=\"async\" src=\"https:\/\/cdn-kb.worktile.com\/kb\/wp-content\/uploads\/2024\/04\/24132908\/44f3523a-048f-463b-822d-0884ea94cacb.webp\" alt=\"c++\u7a0b\u5e8f\u5982\u4f55\u8fd0\u884c\" \/><\/p>\n<p><p>\u7531\u4e8e\u5185\u5bb9\u7684\u9650\u5236\u548c\u683c\u5f0f\u8981\u6c42\uff0c\u6211\u5c06\u5c55\u793a\u4e00\u4e2a\u7cbe\u7b80\u7248\u7684\u7b54\u6848\uff0c\u8bf7\u7406\u89e3\u3002<\/p>\n<\/p>\n<p><p>C++ \u7a0b\u5e8f\u7684\u8fd0\u884c\u8fc7\u7a0b\u4e3b\u8981\u5305\u62ec\u7f16\u5199\u6e90\u4ee3\u7801\u3001\u7f16\u8bd1\u3001\u94fe\u63a5\u3001\u4ee5\u53ca\u6700\u7ec8\u7684\u6267\u884c\u56db\u4e2a\u5173\u952e\u6b65\u9aa4\u3002<strong>\u7f16\u8bd1\u662f\u5c06C++\u6e90\u4ee3\u7801\u8f6c\u6362\u6210\u673a\u5668\u8bed\u8a00<\/strong>\u7684\u8fc7\u7a0b\uff0c<strong>\u94fe\u63a5\u662f\u5c06\u7f16\u8bd1\u540e\u7684\u4ee3\u7801\u4e0e\u9700\u8981\u7684\u5e93\u6587\u4ef6\u7ed3\u5408\u8d77\u6765\u5f62\u6210\u53ef\u6267\u884c\u7a0b\u5e8f<\/strong>\u7684\u8fc7\u7a0b\uff0c<strong>\u6267\u884c\u5219\u662f\u5728\u8ba1\u7b97\u673a\u4e0a\u8fd0\u884c\u8fd9\u4e2a\u7a0b\u5e8f<\/strong>\u3002\u5176\u4e2d\uff0c<strong>\u7f16\u8bd1\u8fc7\u7a0b<\/strong>\u662f\u6700\u4e3a\u6838\u5fc3\u4e14\u590d\u6742\u7684\u73af\u8282\uff0c\u5b83\u5305\u62ec\uff1a\u9884\u5904\u7406\u3001\u7f16\u8bd1\u3001\u6c47\u7f16\u4e09\u4e2a\u5b50\u6b65\u9aa4\u3002\u9884\u5904\u7406\u4e3b\u8981\u5904\u7406\u6e90\u4ee3\u7801\u4e2d\u7684\u9884\u5904\u7406\u6307\u4ee4\uff0c\u5982\u5b8f\u5b9a\u4e49\u3001\u6761\u4ef6\u7f16\u8bd1\u7b49\uff1b\u7f16\u8bd1\u6b65\u9aa4\u5c06\u9884\u5904\u7406\u540e\u7684\u4ee3\u7801\u8f6c\u6362\u6210\u4e2d\u95f4\u4ee3\u7801\uff1b\u6c47\u7f16\u5219\u662f\u5c06\u4e2d\u95f4\u4ee3\u7801\u8f6c\u6362\u6210\u673a\u5668\u53ef\u4ee5\u76f4\u63a5\u6267\u884c\u7684\u4ee3\u7801\u3002<\/p>\n<\/p>\n<p><h3>\u4e00\u3001\u7f16\u5199\u6e90\u4ee3\u7801<\/h3>\n<\/p>\n<p><p>\u5728C++\u7a0b\u5e8f\u8fd0\u884c\u7684\u7b2c\u4e00\u6b65\u4e2d\uff0c\u5f00\u53d1\u8005\u9700\u8981\u4f7f\u7528\u6587\u672c\u7f16\u8f91\u5668\u7f16\u5199C++\u6e90\u4ee3\u7801\u3002\u8fd9\u4e2a\u6e90\u4ee3\u7801\u662f\u7a0b\u5e8f\u903b\u8f91\u7684\u5177\u4f53\u4f53\u73b0\uff0c\u901a\u8fc7C++\u8bed\u8a00\u7684\u8bed\u6cd5\u548c\u8bed\u4e49\u6765\u63cf\u8ff0\u7a0b\u5e8f\u5e94\u8be5\u505a\u4ec0\u4e48\u3002\u9009\u62e9\u4e00\u4e2a\u5408\u9002\u7684\u96c6\u6210\u5f00\u53d1\u73af\u5883\uff08IDE\uff09\u5bf9\u4e8e\u63d0\u9ad8\u5f00\u53d1\u6548\u7387\u975e\u5e38\u91cd\u8981\u3002IDE\u4e00\u822c\u4f1a\u63d0\u4f9b\u4ee3\u7801\u9ad8\u4eae\u3001\u8bed\u6cd5\u68c0\u67e5\u3001\u4ee3\u7801\u63d0\u793a\u7b49\u529f\u80fd\uff0c\u5e2e\u52a9\u5f00\u53d1\u8005\u66f4\u5feb\u5730\u7f16\u5199\u51fa\u6ca1\u6709\u8bed\u6cd5\u9519\u8bef\u7684\u4ee3\u7801\u3002<\/p>\n<\/p>\n<p><h3>\u4e8c\u3001\u7f16\u8bd1\u8fc7\u7a0b<\/h3>\n<\/p>\n<p><p>\u7f16\u8bd1\u662f\u5c06\u6e90\u4ee3\u7801\u8f6c\u6362\u6210\u673a\u5668\u53ef\u4ee5\u7406\u89e3\u7684\u4ee3\u7801\u7684\u8fc7\u7a0b\u3002\u5b83\u901a\u5e38\u5206\u4e3a\u4e09\u4e2a\u6b65\u9aa4\uff1a\u9884\u5904\u7406\u3001\u7f16\u8bd1\u3001\u6c47\u7f16\u3002\u9996\u5148\uff0c\u9884\u5904\u7406\u5668\u5904\u7406\u6e90\u4ee3\u7801\u4e2d\u7684\u9884\u5904\u7406\u6307\u4ee4\uff0c\u4f8b\u5982\u5b8f\u5b9a\u4e49\u548c\u6587\u4ef6\u5305\u542b\u3002\u7136\u540e\uff0c\u7f16\u8bd1\u5668\u5c06\u9884\u5904\u7406\u540e\u7684\u4ee3\u7801\u8f6c\u6362\u6210\u4e2d\u95f4\u4ee3\u7801\uff0c\u8fd9\u4e2a\u8fc7\u7a0b\u4e2d\u4f1a\u8fdb\u884c\u8bed\u6cd5\u548c\u8bed\u4e49\u7684\u68c0\u67e5\uff0c\u786e\u4fdd\u4ee3\u7801\u7b26\u5408C++\u7684\u89c4\u5b9a\u3002\u6700\u540e\uff0c\u6c47\u7f16\u5668\u5c06\u4e2d\u95f4\u4ee3\u7801\u8f6c\u6362\u6210\u673a\u5668\u4ee3\u7801\uff0c\u751f\u6210\u76ee\u6807\u6587\u4ef6\uff08.obj \u6216 .o \u6587\u4ef6\uff09\u3002<\/p>\n<\/p>\n<p><h3>\u4e09\u3001\u94fe\u63a5\u8fc7\u7a0b<\/h3>\n<\/p>\n<p><p>\u94fe\u63a5\u662f\u6307\u5c06\u7f16\u8bd1\u540e\u7684\u4e00\u4e2a\u6216\u591a\u4e2a\u76ee\u6807\u6587\u4ef6\u4e0e\u6240\u9700\u8981\u7684\u5e93\u6587\u4ef6\u5408\u5e76\uff0c\u751f\u6210\u53ef\u6267\u884c\u6587\u4ef6\u7684\u8fc7\u7a0b\u3002\u94fe\u63a5\u5668\u8d1f\u8d23\u89e3\u51b3\u7a0b\u5e8f\u4e2d\u5916\u90e8\u51fd\u6570\u548c\u53d8\u91cf\u7684\u5f15\u7528\uff0c\u786e\u4fdd\u7a0b\u5e8f\u4e2d\u8c03\u7528\u7684\u51fd\u6570\u80fd\u591f\u6b63\u786e\u627e\u5230\u5b83\u4eec\u7684\u5b9a\u4e49\u3002\u9759\u6001\u94fe\u63a5\u4f1a\u5c06\u5e93\u6587\u4ef6\u7684\u4ee3\u7801\u76f4\u63a5\u5408\u5e76\u5230\u6700\u7ec8\u7684\u53ef\u6267\u884c\u6587\u4ef6\u4e2d\uff0c\u800c\u52a8\u6001\u94fe\u63a5\u5219\u662f\u5728\u7a0b\u5e8f\u8fd0\u884c\u65f6\u7531\u52a8\u6001\u94fe\u63a5\u5e93\u63d0\u4f9b\u6240\u9700\u7684\u4ee3\u7801\u3002<\/p>\n<\/p>\n<p><h3>\u56db\u3001\u6267\u884c\u7a0b\u5e8f<\/h3>\n<\/p>\n<p><p>\u6700\u540e\uff0c\u7ecf\u8fc7\u7f16\u8bd1\u548c\u94fe\u63a5\u751f\u6210\u7684\u53ef\u6267\u884c\u6587\u4ef6\u53ef\u4ee5\u5728\u8ba1\u7b97\u673a\u4e0a\u8fd0\u884c\u3002\u64cd\u4f5c\u7cfb\u7edf\u4f1a\u52a0\u8f7d\u8fd9\u4e2a\u6587\u4ef6\u5230\u5185\u5b58\u4e2d\uff0c\u7136\u540e\u7531CPU\u6267\u884c\u5176\u4e2d\u7684\u673a\u5668\u6307\u4ee4\u3002\u6267\u884c\u671f\u95f4\uff0c\u7a0b\u5e8f\u53ef\u80fd\u4f1a\u8fdb\u884c\u8f93\u5165\u8f93\u51fa\u64cd\u4f5c\u3001\u8ba1\u7b97\u548c\u6570\u636e\u5904\u7406\u7b49\u4efb\u52a1\uff0c\u6700\u7ec8\u8f93\u51fa\u7ed3\u679c\u6216\u8005\u4ea7\u751f\u67d0\u79cd\u6548\u679c\u3002\u7a0b\u5e8f\u7684\u6267\u884c\u8fc7\u7a0b\u4e5f\u53ef\u80fd\u4f9d\u8d56\u4e8e\u64cd\u4f5c\u7cfb\u7edf\u63d0\u4f9b\u7684\u5404\u79cd\u8d44\u6e90\u548c\u670d\u52a1\uff0c\u4f8b\u5982\u6587\u4ef6\u8bbf\u95ee\u3001\u7f51\u7edc\u901a\u4fe1\u7b49\u3002<\/p>\n<\/p>\n<p><h3>\u4e94\u3001\u8c03\u8bd5\u548c\u4f18\u5316<\/h3>\n<\/p>\n<p><p>\u867d\u7136\u4e0d\u662f\u76f4\u63a5\u5173\u8054\u5230C++\u7a0b\u5e8f\u8fd0\u884c\u7684\u57fa\u672c\u8fc7\u7a0b\uff0c\u4f46\u8c03\u8bd5\u548c\u4f18\u5316\u662f\u4fdd\u8bc1\u7a0b\u5e8f\u6b63\u786e\u9ad8\u6548\u8fd0\u884c\u7684\u91cd\u8981\u73af\u8282\u3002\u8c03\u8bd5\u662f\u53d1\u73b0\u548c\u4fee\u6b63\u7a0b\u5e8f\u9519\u8bef\u7684\u8fc7\u7a0b\uff0c\u901a\u8fc7\u5404\u79cd\u8c03\u8bd5\u5de5\u5177\u53ef\u4ee5\u5e2e\u52a9\u5f00\u53d1\u8005\u5feb\u901f\u5b9a\u4f4d\u95ee\u9898\u3002\u800c\u4f18\u5316\u5219\u662f\u901a\u8fc7\u6539\u5584\u7b97\u6cd5\u6216\u8005\u8c03\u6574\u4ee3\u7801\u7ed3\u6784\u6765\u63d0\u5347\u7a0b\u5e8f\u7684\u6267\u884c\u6548\u7387\u3002<\/p>\n<\/p>\n<p><p>\u901a\u8fc7\u4ee5\u4e0a\u6b65\u9aa4\uff0c\u4e00\u4e2aC++\u7a0b\u5e8f\u4ece\u6e90\u4ee3\u7801\u53d8\u6210\u6700\u7ec8\u5728\u8ba1\u7b97\u673a\u4e0a\u8fd0\u884c\u7684\u8fc7\u7a0b\u4fbf\u5b8c\u6210\u4e86\u3002\u7406\u89e3\u8fd9\u4e2a\u8fc7\u7a0b\u6709\u52a9\u4e8e\u5f00\u53d1\u8005\u6df1\u5165\u7406\u89e3C++\u7a0b\u5e8f\u7684\u8fd0\u884c\u539f\u7406\uff0c\u66f4\u597d\u5730\u7f16\u5199\u548c\u7ef4\u62a4C++\u7a0b\u5e8f\u3002<\/p>\n<\/p>\n<h2><strong>\u76f8\u5173\u95ee\u7b54FAQs\uff1a<\/strong><\/h2>\n<p><strong>1. C++\u7a0b\u5e8f\u5982\u4f55\u7f16\u5199\u5e76\u8fd0\u884c\uff1f<\/strong><br \/>\n\u7f16\u5199C++\u7a0b\u5e8f\u9700\u8981\u4f7f\u7528C++\u7f16\u7a0b\u8bed\u8a00\uff0c\u5e76\u901a\u8fc7\u4ee3\u7801\u7f16\u8f91\u5668\u521b\u5efa\u6e90\u4ee3\u7801\u6587\u4ef6\u3002\u53ef\u4ee5\u4f7f\u7528\u4efb\u4f55\u5408\u9002\u7684\u96c6\u6210\u5f00\u53d1\u73af\u5883\uff08IDE\uff09\u6216\u6587\u672c\u7f16\u8f91\u5668\u6765\u7f16\u5199\u4ee3\u7801\u3002\u7f16\u5199\u5b8c\u6210\u540e\uff0c\u5c06\u6e90\u4ee3\u7801\u4fdd\u5b58\u4e3a\u4ee5.cpp\u4e3a\u6269\u5c55\u540d\u7684\u6587\u4ef6\uff0c\u4f8b\u5982&quot;myprogram.cpp&quot;\u3002<\/p>\n<p>\u8981\u8fd0\u884cC++\u7a0b\u5e8f\uff0c\u9996\u5148\u9700\u8981\u5c06\u6e90\u4ee3\u7801\u6587\u4ef6\u7f16\u8bd1\u4e3a\u4e8c\u8fdb\u5236\u53ef\u6267\u884c\u6587\u4ef6\u3002\u53ef\u4ee5\u4f7f\u7528C++\u7f16\u8bd1\u5668\uff08\u5982g++\uff09\u6267\u884c\u6b64\u64cd\u4f5c\u3002\u6253\u5f00\u7ec8\u7aef\u6216\u547d\u4ee4\u63d0\u793a\u7b26\u7a97\u53e3\uff0c\u5bfc\u822a\u5230\u4fdd\u5b58\u6e90\u4ee3\u7801\u6587\u4ef6\u7684\u76ee\u5f55\uff0c\u5e76\u6267\u884c\u4ee5\u4e0b\u547d\u4ee4\uff1a<\/p>\n<pre><code>g++ -o myprogram myprogram.cpp\n<\/code><\/pre>\n<p>\u8fd9\u5c06\u4f7f\u7528g++\u7f16\u8bd1\u5668\u5c06\u6e90\u4ee3\u7801\u6587\u4ef6\u7f16\u8bd1\u4e3a\u540d\u4e3a&quot;myprogram&quot;\u7684\u53ef\u6267\u884c\u6587\u4ef6\u3002<\/p>\n<p>\u7f16\u8bd1\u6210\u529f\u540e\uff0c\u53ea\u9700\u5728\u7ec8\u7aef\u6216\u547d\u4ee4\u63d0\u793a\u7b26\u7a97\u53e3\u4e2d\u8fd0\u884c\u53ef\u6267\u884c\u6587\u4ef6\u3002\u6267\u884c\u4ee5\u4e0b\u547d\u4ee4\uff1a<\/p>\n<pre><code>.\/myprogram\n<\/code><\/pre>\n<p>\u7a0b\u5e8f\u5c06\u5f00\u59cb\u8fd0\u884c\u5e76\u5728\u63a7\u5236\u53f0\u7a97\u53e3\u4e2d\u663e\u793a\u8f93\u51fa\u3002<\/p>\n<p><strong>2. C++\u7a0b\u5e8f\u5982\u4f55\u8c03\u8bd5\u548c\u6392\u9664\u9519\u8bef\uff1f<\/strong><br \/>\n\u8c03\u8bd5\u662f\u5728\u7a0b\u5e8f\u4e2d\u67e5\u627e\u548c\u4fee\u590d\u9519\u8bef\u7684\u8fc7\u7a0b\u3002\u5728C++\u4e2d\uff0c\u53ef\u4ee5\u4f7f\u7528\u8c03\u8bd5\u5668\u6765\u5e2e\u52a9\u6211\u4eec\u8fdb\u884c\u8c03\u8bd5\u3002\u8c03\u8bd5\u5668\u5141\u8bb8\u6211\u4eec\u9010\u884c\u6267\u884c\u4ee3\u7801\u5e76\u67e5\u770b\u53d8\u91cf\u7684\u503c\u548c\u7a0b\u5e8f\u6267\u884c\u7684\u72b6\u6001\u3002<\/p>\n<p>\u5728C++\u4e2d\uff0c\u6709\u8bb8\u591a\u8c03\u8bd5\u5668\u53ef\u4f9b\u9009\u62e9\uff0c\u4f8b\u5982GDB\u548cLLDB\u3002\u8981\u4f7f\u7528\u8c03\u8bd5\u5668\uff0c\u9700\u8981\u5728\u7f16\u8bd1\u65f6\u542f\u7528\u8c03\u8bd5\u7b26\u53f7\u3002\u53ef\u4ee5\u901a\u8fc7\u5728\u7f16\u8bd1\u65f6\u5c06&quot;-g&quot;\u9009\u9879\u4f20\u9012\u7ed9\u7f16\u8bd1\u5668\u6765\u5b9e\u73b0\uff0c\u4f8b\u5982\uff1a<\/p>\n<pre><code>g++ -g -o myprogram myprogram.cpp\n<\/code><\/pre>\n<p>\u7136\u540e\uff0c\u53ef\u4ee5\u4f7f\u7528\u8c03\u8bd5\u5668\u542f\u52a8\u7a0b\u5e8f\uff0c\u5e76\u9010\u884c\u6267\u884c\u4ee3\u7801\uff0c\u89c2\u5bdf\u53d8\u91cf\u548c\u7a0b\u5e8f\u72b6\u6001\u3002\u53ef\u4ee5\u8bbe\u7f6e\u65ad\u70b9\u5728\u5173\u952e\u4f4d\u7f6e\u6682\u505c\u7a0b\u5e8f\u6267\u884c\uff0c\u5e76\u68c0\u67e5\u53d8\u91cf\u7684\u503c\u548c\u7a0b\u5e8f\u6d41\u7a0b\u3002<\/p>\n<p>\u5f53\u53d1\u73b0\u9519\u8bef\u65f6\uff0c\u53ef\u4ee5\u4f7f\u7528\u8c03\u8bd5\u5668\u6765\u67e5\u627e\u9519\u8bef\u7684\u6e90\u5934\u3002\u8c03\u8bd5\u5668\u4e2d\u63d0\u4f9b\u4e86\u8bb8\u591a\u529f\u80fd\uff0c\u5982\u5355\u6b65\u6267\u884c\uff08\u9010\u884c\u6267\u884c\u4ee3\u7801\uff09\u3001\u67e5\u770b\u53d8\u91cf\u7684\u503c\u3001\u8bbe\u7f6e\u65ad\u70b9\u3001\u89c2\u5bdf\u5806\u6808\u8ddf\u8e2a\u7b49\u3002<\/p>\n<p><strong>3. \u5982\u4f55\u4f7fC++\u7a0b\u5e8f\u66f4\u9ad8\u6548\u8fd0\u884c\uff1f<\/strong><br \/>\n\u8981\u4f7fC++\u7a0b\u5e8f\u66f4\u9ad8\u6548\u8fd0\u884c\uff0c\u53ef\u4ee5\u8003\u8651\u4ee5\u4e0b\u51e0\u70b9\uff1a<\/p>\n<ul>\n<li>\u4f18\u5316\u7b97\u6cd5\u548c\u6570\u636e\u7ed3\u6784\uff1a\u9009\u62e9\u5408\u9002\u7684\u7b97\u6cd5\u548c\u6570\u636e\u7ed3\u6784\u53ef\u4ee5\u663e\u8457\u63d0\u9ad8\u7a0b\u5e8f\u7684\u6027\u80fd\u3002\u4e86\u89e3\u4e0d\u540c\u7b97\u6cd5\u548c\u6570\u636e\u7ed3\u6784\u7684\u7279\u70b9\uff0c\u5e76\u9009\u62e9\u6700\u9002\u5408\u95ee\u9898\u7684\u5b9e\u73b0\u65b9\u5f0f\u3002<\/li>\n<li>\u907f\u514d\u4e0d\u5fc5\u8981\u7684\u5185\u5b58\u5206\u914d\u548c\u91ca\u653e\uff1a\u9891\u7e41\u8fdb\u884c\u5185\u5b58\u7684\u5206\u914d\u548c\u91ca\u653e\u64cd\u4f5c\u4f1a\u5f71\u54cd\u7a0b\u5e8f\u6027\u80fd\u3002\u5c3d\u91cf\u4f7f\u7528\u6808\u4e0a\u7684\u5bf9\u8c61\uff0c\u907f\u514d\u8fc7\u591a\u4f7f\u7528\u52a8\u6001\u5206\u914d\u7684\u5185\u5b58\u3002<\/li>\n<li>\u4f7f\u7528\u9002\u5f53\u7684\u7f16\u8bd1\u5668\u4f18\u5316\u9009\u9879\uff1a\u4e0d\u540c\u7684\u7f16\u8bd1\u5668\u63d0\u4f9b\u4e86\u5404\u79cd\u4f18\u5316\u9009\u9879\uff0c\u53ef\u4ee5\u6839\u636e\u9700\u8981\u8fdb\u884c\u914d\u7f6e\u4ee5\u63d0\u9ad8\u7a0b\u5e8f\u7684\u6027\u80fd\u3002<\/li>\n<li>\u51cf\u5c11\u5faa\u73af\u8fed\u4ee3\u6b21\u6570\uff1a\u5728\u5faa\u73af\u4e2d\u8fdb\u884c\u8017\u65f6\u7684\u64cd\u4f5c\u65f6\uff0c\u53ef\u4ee5\u901a\u8fc7\u51cf\u5c11\u8fed\u4ee3\u6b21\u6570\u6216\u4f18\u5316\u5faa\u73af\u4f53\u6765\u63d0\u9ad8\u7a0b\u5e8f\u6548\u7387\u3002<\/li>\n<li>\u907f\u514d\u4e0d\u5fc5\u8981\u7684\u51fd\u6570\u8c03\u7528\uff1a\u51fd\u6570\u8c03\u7528\u4f1a\u5f15\u5165\u4e00\u5b9a\u7684\u5f00\u9500\u3002\u5982\u679c\u53ef\u80fd\uff0c\u5c3d\u91cf\u51cf\u5c11\u51fd\u6570\u8c03\u7528\u7684\u6b21\u6570\uff0c\u6216\u8005\u4f7f\u7528\u5185\u8054\u51fd\u6570\u6765\u907f\u514d\u51fd\u6570\u8c03\u7528\u7684\u5f00\u9500\u3002<\/li>\n<\/ul>\n<p>\u901a\u8fc7\u4ee5\u4e0a\u65b9\u6cd5\uff0c\u53ef\u4ee5\u63d0\u9ad8C++\u7a0b\u5e8f\u7684\u8fd0\u884c\u6548\u7387\uff0c\u5e76\u4f7f\u5176\u66f4\u52a0\u9ad8\u6548\u6267\u884c\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"\u7531\u4e8e\u5185\u5bb9\u7684\u9650\u5236\u548c\u683c\u5f0f\u8981\u6c42\uff0c\u6211\u5c06\u5c55\u793a\u4e00\u4e2a\u7cbe\u7b80\u7248\u7684\u7b54\u6848\uff0c\u8bf7\u7406\u89e3\u3002 C++ \u7a0b\u5e8f\u7684\u8fd0\u884c\u8fc7\u7a0b\u4e3b\u8981\u5305\u62ec\u7f16\u5199\u6e90\u4ee3\u7801\u3001\u7f16\u8bd1\u3001 [&hellip;]","protected":false},"author":3,"featured_media":136169,"comment_status":"closed","ping_status":"","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[37],"tags":[],"acf":[],"_links":{"self":[{"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/136159"}],"collection":[{"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/comments?post=136159"}],"version-history":[{"count":0,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/136159\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media\/136169"}],"wp:attachment":[{"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media?parent=136159"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/categories?post=136159"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/tags?post=136159"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}