{"id":1002,"date":"2026-02-01T15:00:08","date_gmt":"2026-02-01T07:00:08","guid":{"rendered":"https:\/\/www.coni.top\/blog\/?p=1002"},"modified":"2026-03-03T23:25:44","modified_gmt":"2026-03-03T15:25:44","slug":"c-c-%e5%86%85%e5%ad%98%e5%b8%83%e5%b1%80-%e5%88%86%e6%ae%b5","status":"publish","type":"post","link":"https:\/\/www.coni.top\/blog\/?p=1002","title":{"rendered":"C\/C++ \u5185\u5b58\u5e03\u5c40\/\u5206\u6bb5"},"content":{"rendered":"\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\">\n<p>\u5728\u5f00\u53d1 C\/C++ \u7a0b\u5e8f\u65f6\uff0c\u6211\u4eec\u5e38\u5e38\u5ffd\u89c6\u4e86\u7a0b\u5e8f\u5185\u5b58\u5e03\u5c40\u8fd9\u4e00\u6838\u5fc3\u6982\u5ff5\u3002\u7136\u800c\uff0c\u5185\u5b58\u5e03\u5c40\u5bf9\u7a0b\u5e8f\u7684\u6027\u80fd\u3001\u5b89\u5168\u6027\u548c\u7a33\u5b9a\u6027\u6709\u7740\u76f4\u63a5\u7684\u5f71\u54cd\u3002\u6b63\u786e\u7406\u89e3\u5185\u5b58\u5e03\u5c40\u80fd\u5e2e\u52a9\u6211\u4eec\u9ad8\u6548\u5730\u8c03\u8bd5\u7a0b\u5e8f\u3001\u4f18\u5316\u6027\u80fd\u3001\u907f\u514d\u5e38\u89c1\u7684\u5185\u5b58\u95ee\u9898\u3002\u672c\u6587\u5c06\u6df1\u5165\u63a2\u8ba8 C\/C++ \u7a0b\u5e8f\u7684\u5185\u5b58\u5e03\u5c40\uff0c\u5305\u62ec\u6bcf\u4e2a\u5185\u5b58\u6bb5\u7684\u529f\u80fd\u3001\u6570\u636e\u5982\u4f55\u5b58\u653e\u4ee5\u53ca\u76f8\u5173\u8c03\u8bd5\u6280\u5de7\u3002<\/p>\n<\/blockquote>\n\n\n\n<h3 class=\"wp-block-heading\">1. C\/C++ \u7a0b\u5e8f\u5185\u5b58\u7ed3\u6784\u6982\u89c8<\/h3>\n\n\n\n<p>C\/C++ \u7a0b\u5e8f\u7684\u5185\u5b58\u7a7a\u95f4\u901a\u5e38\u5206\u4e3a\u4e09\u5927\u533a\u57df\uff1a<\/p>\n\n\n\n<ul>\n<li><strong>\u4ee3\u7801\u6bb5\uff08Text Segment\uff09<\/strong>\uff1a\u5b58\u50a8\u7a0b\u5e8f\u7684\u673a\u5668\u6307\u4ee4\u3002<\/li>\n\n\n\n<li><strong>\u9759\u6001\u6570\u636e\u533a\uff08Static Data Segment\uff09<\/strong>\uff1a\u5b58\u50a8\u7a0b\u5e8f\u7684\u5168\u5c40\u53d8\u91cf\u548c\u9759\u6001\u53d8\u91cf\uff0c\u5305\u62ec\u672a\u521d\u59cb\u5316\u548c\u5df2\u521d\u59cb\u5316\u7684\u53d8\u91cf\u3002<\/li>\n\n\n\n<li><strong>\u52a8\u6001\u6570\u636e\u533a\uff08Dynamic Data Segment\uff09<\/strong>\uff1a\u5305\u62ec\u5806\uff08Heap\uff09\u548c\u6808\uff08Stack\uff09\uff0c\u5206\u522b\u7528\u4e8e\u52a8\u6001\u5185\u5b58\u5206\u914d\u548c\u51fd\u6570\u8c03\u7528\u65f6\u7684\u5c40\u90e8\u53d8\u91cf\u5b58\u50a8\u3002<\/li>\n<\/ul>\n\n\n\n<p>\u5728\u7a0b\u5e8f\u8fd0\u884c\u65f6\uff0c\u8fd9\u4e9b\u533a\u57df\u7684\u5185\u5b58\u5206\u5e03\u51b3\u5b9a\u4e86\u7a0b\u5e8f\u7684\u5185\u5b58\u5e03\u5c40\uff0c\u800c\u4e86\u89e3\u5b83\u4eec\u5bf9\u8c03\u8bd5\u548c\u4f18\u5316\u975e\u5e38\u91cd\u8981\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"548\" src=\"https:\/\/www.coni.top\/blog\/wp-content\/uploads\/2026\/02\/\u5185\u5b58\u5206\u5e03-1024x548.png\" alt=\"\" class=\"wp-image-1003\" srcset=\"https:\/\/www.coni.top\/blog\/wp-content\/uploads\/2026\/02\/\u5185\u5b58\u5206\u5e03-1024x548.png 1024w, https:\/\/www.coni.top\/blog\/wp-content\/uploads\/2026\/02\/\u5185\u5b58\u5206\u5e03-300x161.png 300w, https:\/\/www.coni.top\/blog\/wp-content\/uploads\/2026\/02\/\u5185\u5b58\u5206\u5e03-768x411.png 768w, https:\/\/www.coni.top\/blog\/wp-content\/uploads\/2026\/02\/\u5185\u5b58\u5206\u5e03-1200x642.png 1200w, https:\/\/www.coni.top\/blog\/wp-content\/uploads\/2026\/02\/\u5185\u5b58\u5206\u5e03.png 1293w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\">2. \u5173\u952e\u5185\u5b58\u533a\u57df\u8be6\u89e3<\/h3>\n\n\n\n<h4 class=\"wp-block-heading\">2.1 \u4ee3\u7801\u6bb5\uff08Text Segment\uff09<\/h4>\n\n\n\n<p>\u4ee3\u7801\u6bb5\u5b58\u50a8\u7a0b\u5e8f\u7684 <strong>\u6267\u884c\u6307\u4ee4<\/strong>\u3002\u5b83\u901a\u5e38\u662f\u53ea\u8bfb\u4e14\u53ef\u6267\u884c\u7684\uff0c\u4ee5\u9632\u6b62\u7a0b\u5e8f\u5728\u8fd0\u884c\u65f6\u4fee\u6539\u5176\u81ea\u8eab\u7684\u6307\u4ee4\u3002\u4ee3\u7801\u6bb5\u7684\u5927\u5c0f\u5728\u7a0b\u5e8f\u7f16\u8bd1\u65f6\u786e\u5b9a\uff0c\u5e76\u4e14\u5728\u7a0b\u5e8f\u8fd0\u884c\u671f\u95f4\u4fdd\u6301\u4e0d\u53d8\u3002<\/p>\n\n\n\n<p>\u5173\u952e\u7279\u70b9\uff1a<\/p>\n\n\n\n<ul>\n<li><strong>\u53ea\u8bfb<\/strong>\uff1a\u9632\u6b62\u4fee\u6539\u7a0b\u5e8f\u7684\u6267\u884c\u6307\u4ee4\u3002<\/li>\n\n\n\n<li><strong>\u5b58\u50a8\u5185\u5bb9<\/strong>\uff1a\u673a\u5668\u6307\u4ee4\uff08\u4f8b\u5982\u901a\u8fc7\u7f16\u8bd1\u5f97\u5230\u7684 <code>main<\/code> \u51fd\u6570\u7684\u673a\u5668\u7801\uff09\u3002<\/li>\n\n\n\n<li><strong>\u56fa\u5b9a\u5927\u5c0f<\/strong>\uff1a\u7531\u7f16\u8bd1\u5668\u5728\u7f16\u8bd1\u94fe\u63a5\u65f6\u786e\u5b9a\u3002<\/li>\n<\/ul>\n\n\n\n<h4 class=\"wp-block-heading\">2.2 \u9759\u6001\u6570\u636e\u533a\uff08Static Data Segment<\/h4>\n\n\n\n<p>\u9759\u6001\u6570\u636e\u533a\u5206\u4e3a\u4e09\u90e8\u5206\uff1a<strong>\u53ea\u8bfb\u6570\u636e\u6bb5<\/strong>\u3001<strong>\u6570\u636e\u6bb5<\/strong>\u548c<strong>BSS\u6bb5<\/strong>\u3002<\/p>\n\n\n\n<h5 class=\"wp-block-heading\">\u53ea\u8bfb\u6570\u636e\u6bb5\uff08ROData\uff09<\/h5>\n\n\n\n<p>\u5b58\u50a8\u7a0b\u5e8f\u4e2d <strong>\u53ea\u8bfb\u5e38\u91cf<\/strong>\uff0c\u5982 <code>const<\/code> \u4fee\u9970\u7684\u53d8\u91cf\u548c\u5b57\u7b26\u4e32\u5b57\u9762\u91cf\u3002\u7531\u4e8e\u8fd9\u4e9b\u6570\u636e\u4e0d\u5e94\u88ab\u4fee\u6539\uff0c\u56e0\u6b64\u5b83\u4eec\u4f1a\u88ab\u5b58\u50a8\u5728\u53ea\u8bfb\u533a\u57df\u3002<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>const char* message = \"Hello, World!\";<\/code><\/pre>\n\n\n\n<h5 class=\"wp-block-heading\">\u6570\u636e\u6bb5\uff08Data Segment\uff09<\/h5>\n\n\n\n<p>\u5b58\u653e <strong>\u5df2\u521d\u59cb\u5316\u4e14\u503c\u4e0d\u4e3a0\u7684\u5168\u5c40\u53d8\u91cf\u548c\u9759\u6001\u53d8\u91cf<\/strong>\u3002\u8fd9\u4e9b\u53d8\u91cf\u7684\u503c\u5728\u7f16\u8bd1\u65f6\u786e\u5b9a\u3002<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>int global_var = 100;\nstatic int static_var = 50;<\/code><\/pre>\n\n\n\n<h5 class=\"wp-block-heading\">BSS\u6bb5\uff08Block Started by Symbol\uff09<\/h5>\n\n\n\n<p>\u5b58\u653e <strong>\u672a\u521d\u59cb\u5316\u6216\u521d\u59cb\u5316\u4e3a0\u7684\u5168\u5c40\u53d8\u91cf\u548c\u9759\u6001\u53d8\u91cf<\/strong>\u3002\u5176\u5927\u5c0f\u5728\u7f16\u8bd1\u65f6\u786e\u5b9a\uff0c\u4e14\u5728\u8fd0\u884c\u65f6\u53ef\u8bfb\u53ef\u5199\uff0cBSS\u6bb5\u7684\u8bbe\u8ba1\u53ef\u4ee5\u8282\u7701\u53ef\u6267\u884c\u6587\u4ef6\u7684\u5b58\u50a8\u7a7a\u95f4\uff0c\u7a0b\u5e8f\u5728\u52a0\u8f7d\u65f6\u4f1a\u5c06\u8fd9\u4e9b\u53d8\u91cf\u7f6e\u96f6\u3002<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>int uninitialized_var;  \/\/ \u5728 BSS \u6bb5<\/code><\/pre>\n\n\n\n<h4 class=\"wp-block-heading\">2.3 \u52a8\u6001\u6570\u636e\u533a\uff08Dynamic Data Segment\uff09<\/h4>\n\n\n\n<p>\u52a8\u6001\u6570\u636e\u533a\u5305\u62ec <strong>\u5806<\/strong> \u548c <strong>\u6808<\/strong>\uff0c\u5b83\u4eec\u5728\u7a0b\u5e8f\u8fd0\u884c\u65f6\u52a8\u6001\u5206\u914d\u548c\u7ba1\u7406\u5185\u5b58\u3002<\/p>\n\n\n\n<h5 class=\"wp-block-heading\">\u5806\uff08Heap\uff09<\/h5>\n\n\n\n<p>\u5806\u662f\u7528\u4e8e <strong>\u52a8\u6001\u5206\u914d\u5185\u5b58<\/strong> \u7684\u533a\u57df\uff0c\u901a\u5e38\u7531 <code>malloc()<\/code>\uff08\u5728 C \u4e2d\uff09\u6216 <code>new<\/code>\uff08\u5728 C++ \u4e2d\uff09\u8fdb\u884c\u5206\u914d\u3002\u5806\u5185\u5b58\u53ef\u4ee5\u5728\u7a0b\u5e8f\u8fd0\u884c\u65f6\u6839\u636e\u9700\u8981\u52a8\u6001\u8c03\u6574\uff0c\u4f46\u9700\u8981\u624b\u52a8\u91ca\u653e\uff0c\u5426\u5219\u53ef\u80fd\u53d1\u751f\u5185\u5b58\u6cc4\u6f0f\u3002<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>int* arr = new int&#91;10];  \/\/ \u52a8\u6001\u5206\u914d\u5185\u5b58\ndelete&#91;] arr;            \/\/ \u624b\u52a8\u91ca\u653e\u5185\u5b58<\/code><\/pre>\n\n\n\n<h5 class=\"wp-block-heading\">\u6808\uff08Stack\uff09<\/h5>\n\n\n\n<p>\u6808\u7528\u4e8e\u5b58\u50a8 <strong>\u5c40\u90e8\u53d8\u91cf\u3001\u51fd\u6570\u7684\u53c2\u6570\u548c\u8fd4\u56de\u5730\u5740<\/strong>\uff0c\u5e76\u4e14\u4e25\u683c\u9075\u5faa <strong>\u540e\u8fdb\u5148\u51fa\uff08LIFO\uff09<\/strong> \u7684\u539f\u5219\u3002\u5f53\u51fd\u6570\u88ab\u8c03\u7528\u65f6\uff0c\u6808\u4f1a\u4e3a\u5176\u5206\u914d\u5185\u5b58\uff0c\u5e76\u5728\u51fd\u6570\u8fd4\u56de\u65f6\u81ea\u52a8\u56de\u6536\u5185\u5b58\uff0c\u8fd9\u79cd\u81ea\u52a8\u5316\u7684\u7ba1\u7406\u673a\u5236\u4f7f\u5f97\u6808\u7684\u5185\u5b58\u5206\u914d\u548c\u91ca\u653e\u901f\u5ea6\u6781\u5feb\uff0c\u4e14\u4ece\u6839\u672c\u4e0a\u675c\u7edd\u4e86\u5185\u5b58\u6cc4\u6f0f\u7684\u53ef\u80fd\u3002<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>void func() {\n    int local_var = 50;  \/\/ \u5b58\u653e\u5728\u6808\u4e0a\n}<\/code><\/pre>\n\n\n\n<p>\u6808\u7684\u5927\u5c0f\u901a\u5e38\u5728\u7f16\u8bd1\u65f6\u5c31\u5df2\u7ecf\u786e\u5b9a\uff0c\u56e0\u6b64\u6808\u5185\u5b58\u8f83\u5c0f\uff0c\u4e14\u7a7a\u95f4\u6709\u9650\u3002\u5728\u9012\u5f52\u51fd\u6570\u8c03\u7528\u65f6\uff0c\u5982\u679c\u6ca1\u6709\u5408\u7406\u7684\u57fa\u7ebf\u6761\u4ef6\uff0c\u53ef\u80fd\u5bfc\u81f4 <strong>\u6808\u6ea2\u51fa\uff08stack over flow\uff09<\/strong>\u3002<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">2.4 \u5185\u5b58\u5e03\u5c40\u968f\u673a\u5316\uff08ASLR\uff09<\/h4>\n\n\n\n<p>\u73b0\u4ee3\u64cd\u4f5c\u7cfb\u7edf\u91c7\u7528 <strong>\u5730\u5740\u7a7a\u95f4\u5e03\u5c40\u968f\u673a\u5316\uff08ASLR\uff09<\/strong> \u6280\u672f\uff0c\u4ee5\u63d0\u9ad8\u7a0b\u5e8f\u7684\u5b89\u5168\u6027\u3002ASLR \u5728\u6bcf\u6b21\u7a0b\u5e8f\u8fd0\u884c\u65f6\uff0c\u968f\u673a\u5206\u914d\u4ee3\u7801\u6bb5\u3001\u5806\u3001\u6808\u548c\u5176\u4ed6\u5185\u5b58\u533a\u57df\u7684\u8d77\u59cb\u5730\u5740\u3002\u8fd9\u6837\uff0c\u5373\u4f7f\u653b\u51fb\u8005\u77e5\u9053\u7a0b\u5e8f\u7684\u5185\u5b58\u7ed3\u6784\uff0c\u4e5f\u65e0\u6cd5\u9884\u6d4b\u5185\u5b58\u5730\u5740\uff0c\u4ece\u800c\u63d0\u9ad8\u4e86\u5b89\u5168\u6027\u3002<\/p>\n\n\n\n<p>\u5728\u4f20\u7edf\u7684 32 \u4f4d\u7cfb\u7edf\u4e2d\uff0c\u5806\u548c\u6808\u7684\u5e03\u5c40\u662f\u4ece\u56fa\u5b9a\u7684\u5185\u5b58\u533a\u57df\u5f00\u59cb\u7684\u3002\u4f46\u5728 64 \u4f4d\u7cfb\u7edf\u4e2d\uff0c\u865a\u62df\u5730\u5740\u7a7a\u95f4\u51e0\u4e4e\u662f\u65e0\u9650\u7684\uff0c\u56e0\u6b64\u64cd\u4f5c\u7cfb\u7edf\u53ef\u4ee5\u66f4\u52a0\u81ea\u7531\u5730\u5206\u914d\u5185\u5b58\u533a\u57df\uff0c\u907f\u514d\u6808\u548c\u5806\u53d1\u751f\u78b0\u649e\u3002<\/p>\n\n\n\n<p>ASLR \u793a\u4f8b\uff1a<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code><code>\/\/ \u4e0d\u540c\u7684\u7a0b\u5e8f\u8fd0\u884c\uff0c\u6bcf\u6b21\u4f1a\u968f\u673a\u5206\u914d\u4e0d\u540c\u7684\u5185\u5b58\u5730\u5740\nprintf(\"Stack address: %p\\n\", (void*)&amp;local_var);\nprintf(\"Heap address: %p\\n\", (void*)arr);<\/code><\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading\">3. \u5982\u4f55\u4f18\u5316\u5185\u5b58\u4f7f\u7528<\/h3>\n\n\n\n<h4 class=\"wp-block-heading\">3.1 \u907f\u514d\u5185\u5b58\u788e\u7247<\/h4>\n\n\n\n<p>\u5185\u5b58\u788e\u7247\u662f\u7531\u4e8e\u4e0d\u540c\u5927\u5c0f\u7684\u5185\u5b58\u5757\u88ab\u9891\u7e41\u5206\u914d\u548c\u91ca\u653e\uff0c\u5bfc\u81f4\u5806\u5185\u5b58\u4e2d\u4ea7\u751f\u7a7a\u6d1e\uff0c\u5f71\u54cd\u540e\u7eed\u5185\u5b58\u5206\u914d\u7684\u6548\u7387\u3002\u5e38\u89c1\u7684\u5185\u5b58\u788e\u7247\u95ee\u9898\u4f1a\u5bfc\u81f4\u7a0b\u5e8f\u6027\u80fd\u4e0b\u964d\uff0c\u751a\u81f3\u5d29\u6e83\u3002<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">3.2 \u7f13\u5b58\u4f18\u5316<\/h4>\n\n\n\n<p>\u7531\u4e8e CPU \u4f1a\u5c06\u5185\u5b58\u6570\u636e\u52a0\u8f7d\u5230\u9ad8\u901f\u7f13\u5b58\u4e2d\uff0c\u5982\u679c\u5185\u5b58\u5206\u914d\u662f <strong>\u8fde\u7eed\u7684<\/strong>\uff0c\u90a3\u4e48\u4e0b\u4e00\u4e2a\u6570\u636e\u9879\u66f4\u6709\u53ef\u80fd\u5df2\u7ecf\u5728\u7f13\u5b58\u4e2d\uff0c\u4ece\u800c\u63d0\u9ad8\u4e86\u7f13\u5b58\u547d\u4e2d\u7387\uff0c\u4f18\u5316\u4e86\u7a0b\u5e8f\u7684\u6027\u80fd\u3002\u56e0\u6b64\uff0c\u4f7f\u7528 <strong>\u8fde\u7eed\u5185\u5b58<\/strong> \u5b58\u50a8\u7684\u6570\u636e\uff08\u5982 <code>std::vector<\/code>\uff09\u901a\u5e38\u6bd4\u5206\u6563\u5185\u5b58\uff08\u5982 <code>std::list<\/code>\uff09\u6027\u80fd\u66f4\u597d\u3002<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">3.3 \u6570\u636e\u9a71\u52a8\u67b6\u6784<\/h4>\n\n\n\n<p>\u4e3a\u4e86\u907f\u514d\u786c\u7f16\u7801\uff0c\u73b0\u4ee3\u6e38\u620f\u548c\u8f6f\u4ef6\u5f00\u53d1\u4e2d\u5e38\u5e38\u91c7\u7528 <strong>\u6570\u636e\u9a71\u52a8\u67b6\u6784<\/strong>\u3002\u5728\u8fd9\u79cd\u67b6\u6784\u4e0b\uff0c\u6e38\u620f\u7684\u6570\u503c\u548c\u914d\u7f6e\u4ece\u5916\u90e8\u6570\u636e\u6587\u4ef6\u52a0\u8f7d\uff0c\u7a0b\u5e8f\u7684\u6838\u5fc3\u903b\u8f91\u548c\u914d\u7f6e\u6570\u636e\u5206\u79bb\uff0c\u7a0b\u5e8f\u5458\u4e0d\u518d\u9700\u8981\u4fee\u6539\u4ee3\u7801\uff0c\u53ea\u9700\u8981\u8c03\u6574\u914d\u7f6e\u6587\u4ef6\u5373\u53ef\u3002<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code><code>\/\/ \u8bfb\u53d6\u914d\u7f6e\u6587\u4ef6\u4e2d\u7684\u6570\u503c\nint enemy_hp = load_config(\"enemy_hp.txt\");<\/code><\/code><\/pre>\n\n\n\n<p>\u8fd9\u79cd\u65b9\u6cd5\u5927\u5927\u63d0\u9ad8\u4e86\u5f00\u53d1\u6548\u7387\uff0c\u5e76\u4e14\u65b9\u4fbf\u4e86\u5e73\u8861\u6027\u8c03\u6574\u548c bug \u4fee\u590d\u3002<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">4. \u603b\u7ed3<\/h3>\n\n\n\n<p>\u4e86\u89e3 C\/C++ \u7a0b\u5e8f\u7684\u5185\u5b58\u5e03\u5c40\u5bf9\u4e8e\u5f00\u53d1\u9ad8\u6548\u3001\u5b89\u5168\u7684\u7a0b\u5e8f\u81f3\u5173\u91cd\u8981\u3002\u5185\u5b58\u7684\u5408\u7406\u5212\u5206\u548c\u7ba1\u7406\u53ef\u4ee5\u4f18\u5316\u7a0b\u5e8f\u7684\u6027\u80fd\uff0c\u907f\u514d\u5e38\u89c1\u7684\u5185\u5b58\u95ee\u9898\uff0c\u5e76\u786e\u4fdd\u7a0b\u5e8f\u7684\u7a33\u5b9a\u6027\u3002\u73b0\u4ee3\u64cd\u4f5c\u7cfb\u7edf\u4e2d\u7684 ASLR \u548c\u6570\u636e\u9a71\u52a8\u67b6\u6784\u4e5f\u4e3a\u6211\u4eec\u63d0\u4f9b\u4e86\u66f4\u9ad8\u6548\u3001\u5b89\u5168\u7684\u5185\u5b58\u7ba1\u7406\u65b9\u6cd5\u3002<\/p>\n\n\n\n<p>\u638c\u63e1\u5185\u5b58\u5e03\u5c40\u7684\u6982\u5ff5\u548c\u6280\u5de7\uff0c\u4e0d\u4ec5\u80fd\u5e2e\u52a9\u4f60\u907f\u514d\u5185\u5b58\u6cc4\u6f0f\u548c\u6808\u6ea2\u51fa\u7b49\u95ee\u9898\uff0c\u8fd8\u80fd\u5e2e\u52a9\u4f60\u63d0\u5347\u7a0b\u5e8f\u7684\u6027\u80fd\u548c\u5b89\u5168\u6027\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u5728\u5f00\u53d1 C\/C++ \u7a0b\u5e8f\u65f6\uff0c\u6211\u4eec\u5e38\u5e38\u5ffd\u89c6\u4e86\u7a0b\u5e8f\u5185\u5b58\u5e03\u5c40\u8fd9\u4e00\u6838\u5fc3\u6982\u5ff5\u3002\u7136\u800c\uff0c\u5185\u5b58\u5e03\u5c40\u5bf9\u7a0b\u5e8f\u7684\u6027\u80fd\u3001\u5b89\u5168\u6027\u548c\u7a33\u5b9a\u6027 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":1003,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"cybocfi_hide_featured_image":"yes","footnotes":""},"categories":[45],"tags":[72,73,74],"views":116,"_links":{"self":[{"href":"https:\/\/www.coni.top\/blog\/index.php?rest_route=\/wp\/v2\/posts\/1002"}],"collection":[{"href":"https:\/\/www.coni.top\/blog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.coni.top\/blog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.coni.top\/blog\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.coni.top\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1002"}],"version-history":[{"count":3,"href":"https:\/\/www.coni.top\/blog\/index.php?rest_route=\/wp\/v2\/posts\/1002\/revisions"}],"predecessor-version":[{"id":1030,"href":"https:\/\/www.coni.top\/blog\/index.php?rest_route=\/wp\/v2\/posts\/1002\/revisions\/1030"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.coni.top\/blog\/index.php?rest_route=\/wp\/v2\/media\/1003"}],"wp:attachment":[{"href":"https:\/\/www.coni.top\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1002"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.coni.top\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1002"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.coni.top\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1002"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}