{"rsdb":{"rid":"244387","subhead":"","postdate":"0","aid":"168189","fid":"49","uid":"1","topic":"1","content":"
\n

C++<\/a>\u7684\u5185\u5b58\u5730\u5740\u5206\u914d\u548c\u5185\u5b58\u533a\u5212\u5206\u8be6\u89e3<\/h1> \n

\u5185\u5b58\u7c7b\u578b\u7b80\u4ecb<\/h2> \n

\"\u8fd9\u91cc\u5199\u56fe\u7247\u63cf\u8ff0\"<\/p> \n

\u5185\u6838\uff1a\u5728\u4e00\u4e9b\u7cfb\u7edf<\/a>\u4e2d\uff0c\u5f53\u7cfb\u7edf\u8c03\u7528\u53d1\u751f\u65f6\uff0c\u64cd\u4f5c\u7cfb\u7edf\u6216\u8005\u64cd\u4f5c\u7cfb\u7edf\u5185\u6838\u4f1a\u7f16\u7a0b<\/a>\u5e94\u7528\u7a0b\u5e8f\u5185\u5b58\u7684\u4e00\u90e8\u5206\u3002<\/p> \n

\u6808\uff1a\u6808\u4e2d\u5305\u542b\u6d3b\u52a8\u8bb0\u5f55\uff0c\u5176\u4e2d\u5305\u542b\u5f53\u524d\u6d3b\u52a8\u51fd\u6570\u8c03\u7528\u7684\u8fd4\u56de\u5730\u5740\u548c\u5c40\u90e8\u53d8\u91cf\u7b49\u4fe1\u606f\u3002<\/p> \n

\u5171\u4eab\u5e93\uff1a\u4e3a\u4e86\u52a8\u6001\u94fe\u63a5\u5171\u4eab\u5e93\u6587\u4ef6\u800c\u521b\u5efa\u7684\u4e00\u4e2a\u5185\u5b58\u7247\u6bb5<\/p> \n

\u5806\u5185\u5b58\uff1a\u88ab\u7528\u4f5c\u5806\u5185\u5b58\u6765\u4f7f\u7528\u548c\u5206\u914d\u7684\u4e00\u5757\u5185\u5b58\u7a7a\u95f4\u3002\u5982\u679c\u8fd0\u884c\u65f6\u9700\u8981\u4e00\u4e9b\u53ef\u53d8\u5927\u5c0f\u7684\u5c0f\u5185\u5b58\u5757\uff0c\u90a3\u4e48\u8fd9\u4e9b\u5185\u5b58\u5c31\u662f\u4ece\u8fd9\u4e2a\u533a\u57df\u4e2d\u5206\u914d\u7684<\/p> \n

\u672a\u521d\u59cb\u5316\u7684\u6570\u636e\uff1a \u6ca1\u6709\u521d\u59cb\u5316\u7684\u5168\u5c40\u53d8\u91cf\u88ab\u653e\u5728\u56fa\u5b9a\u5730\u5740\u4e2d\u3002\u901a\u5e38\uff0c\u8fd9\u6bb5\u533a\u57df\u90fd\u4f1a\u88ab\u521d\u59cb\u5316\u4e3a0\u3002<\/p> \n

\u521d\u59cb\u5316\u7684\u6570\u636e\uff1a \u4efb\u4f55\u88ab\u8d4b\u4e88\u4e86\u521d\u59cb\u503c\u7684\u6570\u636e\u90fd\u88ab\u7ec4\u7ec7\u5728\u5185\u5b58\u4e2d\u7684\u4e00\u6bb5\u8fde\u7eed\u7684\u533a\u57df\u5185\uff0c\u56e0\u6b64\u4ed6\u4eec\u5c31\u80fd\u591f\u4e0e\u7a0b\u5e8f\u9875\u4e00\u540c\u88ab\u6709\u6548\u5730\u8f7d\u5165<\/p> \n

\u7a0b\u5e8f\u9875\uff1a\u6784\u6210\u5e94\u7528\u7a0b\u5e8f\u7684\u673a\u5668\u4ee3\u7801\u6307\u4ee4\u5c31\u662f\u7a0b\u5e8f\u9875\u3002\u5f53\u6709\u786c\u4ef6\u652f\u6301\u65f6\uff0c\u7a0b\u5e8f\u9875\u901a\u5e38\u662f\u53ea\u8bfb\u7684\uff0c\u8fd9\u6837\u5c31\u53ef\u4ee5\u9632\u6b62\u7a0b\u5e8f\u610f\u5916\u7684\u91cd\u5199\u5176\u81ea\u8eab\u6307\u4ee4\u533a\u57df\u3002<\/p> \n

\u7b2c0\u9875\uff1a\u901a\u5e38\uff0c\u4e00\u4e2a\u4ee5\u5730\u57400\u4e3a\u5f00\u59cb\u7684\u5185\u5b58\u7247\u6bb5\u4f1a\u88ab\u4fdd\u7559\u4e0b\u6765\u88ab\u8bbe\u7f6e\u4e3a\u4e0d\u53ef\u8bfb\u533a\u57df\uff0c\u4ed6\u53ef\u4ee5\u7528\u6765\u6355\u6349\u4e00\u79cd\u5e38\u89c1\u7684\u9519\u8bef\uff0c\u8fd9\u79cd\u9519\u8bef\u5c31\u662f\u4f7f\u7528\u4e00\u4e2aNULL\u6307\u9488\u8bbf\u95ee\u6570\u636e\u3002<\/p> \n

\u7b2c\u4e00\u90e8\u5206 C++<\/a>\u5185\u5b58\u5730\u5740\u5206\u914d\u7b80\u4ecb<\/h2> \n

1 \u5185\u5b58\u5730\u5740\u662f\u4ece\u9ad8\u5730\u5740\u5230\u4f4e\u5730\u5740\u8fdb\u884c\u5206\u914d\u7684\uff1a<\/p> \n

\r\nint i=1;  \r\nint j=1;  \r\ncout<\/pre> \n 

2 \u51fd\u6570\u53c2\u6570\u5217\u8868\u7684\u5b58\u653e\u65b9\u5f0f\u662f\uff0c\u5148\u5bf9\u6700\u53f3\u8fb9\u7684\u5f62\u53c2\u5206\u914d\u5730\u5740\uff0c\u540e\u5bf9\u6700\u5de6\u8fb9\u7684\u5f62\u53c2\u5206\u914d\u5730\u5740\u3002<\/p> \n

3 Little-endian\u6a21\u5f0f\u7684CPU\u5bf9\u64cd\u4f5c\u6570\u7684\u5b58\u653e\u65b9\u5f0f\u662f\u4ece\u4f4e\u5b57\u8282\u5230\u9ad8\u5b57\u8282\u7684<\/p> \n

0x1234\u7684\u5b58\u653e\u65b9\u5f0f\u5165\u4e0b\uff1a<\/p> \n

0X4000 0x34<\/p> \n

0X4001 0x12<\/p> \n

4 Big-endian\u6a21\u5f0f\u7684CPU\u5bf9\u64cd\u4f5c\u6570\u7684\u5b58\u653e\u65b9\u5f0f\u662f\u4ece\u9ad8\u5b57\u8282\u5230\u4f4e\u5b57\u8282\u7684<\/p> \n

0x1234\u7684\u5b58\u653e\u65b9\u5f0f\u5165\u4e0b\uff1a<\/p> \n

0x4000 0x12<\/p> \n

0x4001 0x34<\/p> \n

5 \u8054\u5408\u4f53union\u7684\u5b58\u653e\u987a\u5e8f\u662f\u6240\u6709\u6210\u5458\u90fd\u4ece\u4f4e\u5730\u5740\u5f00\u59cb\u5b58\u653e\u3002<\/p> \n

6 \u4e00\u4e2a\u53d8\u91cf\u7684\u5730\u5740\u662f\u7531\u5b83\u6240\u5360\u5185\u5b58\u7a7a\u95f4\u4e2d\u7684\u6700\u4f4e\u4f4d\u5730\u5740\u8868\u793a\u7684\u3002<\/p> \n

0X4000 0x34<\/p> \n

0X4001 0x12<\/p> \n

0x1234 \u7684\u5730\u5740\u4f4d0x4000<\/p> \n

7 \u5806\u6808\u7684\u5206\u914d\u65b9\u5f0f\u662f\u4ece\u9ad8\u5185\u5b58\u5730\u5740\u5411\u4f4e\u5185\u5b58\u5730\u5740\u5206\u914d\u7684\u3002<\/p> \n

int ivar=0;<\/p> \n

int iarray[2]={11, 22};<\/p> \n

\u6ce8\u610fiarray[2]\u8d8a\u754c\u4f7f\u7528\uff0c\u6bd4\u5982\u5bf9\u5176\u8d4b\u503c<\/p> \n

iarray[2]=0;<\/p> \n

\u90a3\u4e48\u5219\u540c\u65f6\u5bf9ivar\u8d4b\u503c\u4e3a0\uff0c\u53ef\u80fd\u4ea7\u751f\u6b7b\u5faa\u73af\uff0c\u56e0\u4e3a\u5b83\u4eec\u7684\u5730\u5740\u76f8\u540c\uff0c\u5373&ivar\u7b49\u4e8e&iarray[2]\u3002<\/p> \n

\u7b2c\u4e8c\u90e8\u5206 C\/C++\u5185\u5b58\u533a\u5212\u5206<\/h2> \n

\u4e00 \u5728C\u4e2d\u5206\u4e3a\u8fd9\u51e0\u4e2a\u5b58\u50a8\u533a<\/p> \n

1.\u6808 \u7531\u7f16\u8bd1\u5668\u81ea\u52a8\u5206\u914d\u91ca\u653e\uff1b<\/p> \n

2.\u5806 \u4e00\u822c\u7531\u7a0b\u5e8f\u5458\u5206\u914d\u91ca\u653e\uff0c\u82e5\u7a0b\u5e8f\u5458\u4e0d\u91ca\u653e\uff0c\u7a0b\u5e8f\u7ed3\u675f\u65f6\u53ef\u80fd\u7531OS\u56de\u6536\uff1b<\/p> \n

3.\u5168\u5c40\u533a\uff08\u9759\u6001\u533a\uff09\uff0c\u5168\u5c40\u53d8\u91cf\u548c\u9759\u6001\u53d8\u91cf\u7684\u5b58\u50a8\u662f\u653e\u5728\u4e00\u5757\u7684\uff0c\u521d\u59cb\u5316\u7684\u5168\u5c40\u53d8\u91cf\u548c\u9759\u6001\u53d8\u91cf\u5728\u4e00\u5757\u533a\u57df\uff0c\u672a\u521d\u59cb\u5316\u7684\u5168\u5c40\u53d8\u91cf\u548c\u672a\u521d\u59cb\u5316\u7684\u9759\u6001\u53d8\u91cf\u5728\u76f8\u90bb\u7684\u53e6\u4e00\u5757\u533a\u57df\u3002 \u7a0b\u5e8f\u7ed3\u675f\u91ca\u653e\uff1b<\/p> \n

4.\u53e6\u5916\u8fd8\u6709\u4e00\u4e2a\u4e13\u95e8\u653e\u5e38\u91cf\u7684\u5730\u65b9\u3002 \u7a0b\u5e8f\u7ed3\u675f\u91ca\u653e\u3002<\/p> \n

\u5728\u51fd\u6570\u4f53\u4e2d\u5b9a\u4e49\u7684\u53d8\u91cf\u901a\u5e38\u662f\u5728\u6808\u4e0a\uff0c\u7528malloc, calloc, realloc\u7b49\u5206\u914d\u5185\u5b58\u7684\u51fd\u6570\u5206\u914d\u5f97\u5230\u7684\u5c31\u662f\u5728\u5806\u4e0a\u3002\u5728\u6240\u6709\u51fd\u6570\u4f53\u5916\u5b9a\u4e49\u7684\u662f\u5168\u5c40\u91cf\uff0c\u52a0\u4e86static\u4fee\u9970\u7b26\u540e\u4e0d\u7ba1\u5728\u54ea\u91cc\u90fd\u5b58\u653e\u5728\u5168\u5c40\u533a\uff08\u9759\u6001\u533a\uff09,\u5728\u6240\u6709\u51fd\u6570\u4f53\u5916\u5b9a\u4e49\u7684static\u53d8\u91cf\u8868\u793a\u5728\u8be5\u6587\u4ef6\u4e2d\u6709\u6548\uff0c\u4e0d\u80fdextern\u5230\u522b\u7684\u6587\u4ef6\u7528\uff0c\u5728\u51fd\u6570\u4f53\u5185\u5b9a\u4e49\u7684static\u8868\u793a\u53ea\u5728\u8be5\u51fd\u6570\u4f53\u5185\u6709\u6548\u3002\u53e6\u5916\uff0c\u51fd\u6570\u4e2d\u7684\u201dadgfdf\u201d\u8fd9\u6837\u7684\u5b57\u7b26\u4e32\u5b58\u653e\u5728\u5e38\u91cf\u533a\u3002\u6bd4\u5982\uff1a<\/p> \n

\r\nint  a = 0; \/\/\u5168\u5c40\u521d\u59cb\u5316\u533a  \r\nchar *p1; \/\/\u5168\u5c40\u672a\u521d\u59cb\u5316\u533a  \r\nvoid main()  \r\n{       \r\nint b;                   \/\/\u6808       \r\nchar s[] = "abc"; \/\/\u6808       \r\nchar *p2;         \/\/\u6808       \r\nchar *p3 = "123456";       \/\/123456{post.content}\u5728\u5e38\u91cf\u533a\uff0cp3\u5728\u6808\u4e0a       \r\nstatic int c = 0;          \/\/\u5168\u5c40\uff08\u9759\u6001\uff09\u521d\u59cb\u5316\u533a       \r\np1 = (char *)malloc(10);   \/\/\u5206\u914d\u5f97\u6765\u5f9710\u5b57\u8282\u7684\u533a\u57df\u5728\u5806\u533a       \r\np2 = (char *)malloc(20);   \/\/\u5206\u914d\u5f97\u6765\u5f9720\u5b57\u8282\u7684\u533a\u57df\u5728\u5806\u533a       \r\nstrcpy(p1, "123456");      \r\n\/\/123456{post.content}\u653e\u5728\u5e38\u91cf\u533a\uff0c\u7f16\u8bd1\u5668\u53ef\u80fd\u4f1a\u5c06\u5b83\u4e0ep3\u6240\u6307\u5411\u7684"123456"\u4f18\u5316\u6210\u4e00\u5757  \r\n}  <\/pre> \n 

\u4e8c.\u5728C++\u4e2d\uff0c\u5185\u5b58\u5206\u62105\u4e2a\u533a<\/h2> \n

\u4ed6\u4eec\u5206\u522b\u662f\u5806\u3001\u6808\u3001\u81ea\u7531\u5b58\u50a8\u533a\u3001\u5168\u5c40\/\u9759\u6001\u5b58\u50a8\u533a\u548c\u5e38\u91cf\u5b58\u50a8\u533a<\/strong><\/p> \n

1.\u6808\uff0c\u5c31\u662f\u90a3\u4e9b\u7531\u7f16\u8bd1\u5668\u5728\u9700\u8981\u7684\u65f6\u5019\u5206\u914d\uff0c\u5728\u4e0d\u9700\u8981\u7684\u65f6\u5019\u81ea\u52a8\u6e05\u695a\u7684\u53d8\u91cf\u7684\u5b58\u50a8\u533a\u3002\u91cc\u9762\u7684\u53d8\u91cf\u901a\u5e38\u662f\u5c40\u90e8\u53d8\u91cf\u3001\u51fd\u6570\u53c2\u6570\u7b49\u3002<\/p> \n

2.\u5806\uff0c\u5c31\u662f\u90a3\u4e9b\u7531new\u5206\u914d\u7684\u5185\u5b58\u5757\uff0c\u4ed6\u4eec\u7684\u91ca\u653e\u7f16\u8bd1\u5668\u4e0d\u53bb\u7ba1\uff0c\u7531\u6211\u4eec\u7684\u5e94\u7528\u7a0b\u5e8f\u53bb\u63a7\u5236\uff0c\u4e00\u822c\u4e00\u4e2anew\u5c31\u8981\u5bf9\u5e94\u4e00\u4e2adelete\u3002\u5982\u679c\u7a0b\u5e8f\u5458\u6ca1\u6709\u91ca\u653e\u6389\uff0c\u90a3\u4e48\u5728\u7a0b\u5e8f\u7ed3\u675f\u540e\uff0c\u64cd\u4f5c\u7cfb\u7edf\u4f1a\u81ea\u52a8\u56de\u6536\u3002<\/p> \n

3.\u81ea\u7531\u5b58\u50a8\u533a\uff0c\u5c31\u662f\u90a3\u4e9b\u7531malloc\u7b49\u5206\u914d\u7684\u5185\u5b58\u5757\uff0c\u4ed6\u548c\u5806\u662f\u5341\u5206\u76f8\u4f3c\u7684\uff0c\u4e0d\u8fc7\u5b83\u662f\u7528free\u6765\u7ed3\u675f\u81ea\u5df1\u7684\u751f\u547d\u7684\u3002<\/p> \n

4.\u5168\u5c40\/\u9759\u6001\u5b58\u50a8\u533a\uff0c\u5168\u5c40\u53d8\u91cf\u548c\u9759\u6001\u53d8\u91cf\u88ab\u5206\u914d\u5230\u540c\u4e00\u5757\u5185\u5b58\u4e2d\uff0c\u5728\u4ee5\u524d\u7684C\u8bed\u8a00<\/a>\u4e2d\uff0c\u5168\u5c40\u53d8\u91cf\u53c8\u5206\u4e3a\u521d\u59cb\u5316\u7684\u548c\u672a\u521d\u59cb\u5316\u7684\uff0c\u5728C++\u91cc\u9762\u6ca1\u6709\u8fd9\u4e2a\u533a\u5206\u4e86\uff0c\u4ed6\u4eec\u5171\u540c\u5360\u7528\u540c\u4e00\u5757\u5185\u5b58\u533a\u3002<\/p> \n

5.\u5e38\u91cf\u5b58\u50a8\u533a\uff0c\u8fd9\u662f\u4e00\u5757\u6bd4\u8f83\u7279\u6b8a\u7684\u5b58\u50a8\u533a\uff0c\u4ed6\u4eec\u91cc\u9762\u5b58\u653e\u7684\u662f\u5e38\u91cf\uff0c\u4e0d\u5141\u8bb8\u4fee\u6539\uff08\u5f53\u7136\uff0c\u4f60\u8981\u901a\u8fc7\u975e\u6b63\u5f53\u624b\u6bb5\u4e5f\u53ef\u4ee5\u4fee\u6539\uff09\u3002<\/p> \n

\u5728bbs\u4e0a\uff0c\u5806\u4e0e\u6808\u7684\u533a\u5206\u95ee\u9898\uff0c\u4f3c\u4e4e\u662f\u4e00\u4e2a\u6c38\u6052\u7684\u8bdd\u9898\u3002 \u3000\u3000<\/p> \n

\u9996\u5148\uff0c\u6211\u4eec\u4e3e\u4e00\u4e2a\u4f8b\u5b50\uff1a<\/p> \n

\r\nvoid f() \r\n{\r\n    int* p=new int[5];\r\n} <\/pre> \n 

\u8fd9\u6761\u77ed\u77ed\u7684\u4e00\u53e5\u8bdd\u5c31\u5305\u542b\u4e86\u5806\u4e0e\u6808\uff0c\u770b\u5230new\uff0c\u6211\u4eec\u9996\u5148\u5c31\u5e94\u8be5\u60f3\u5230\uff0c\u6211\u4eec\u5206\u914d\u4e86\u4e00\u5757\u5806\u5185\u5b58\uff0c\u90a3\u4e48\u6307\u9488p\u5462\uff1f\u5b83\u5206\u914d\u7684\u662f\u4e00\u5757\u6808\u5185\u5b58\uff0c\u6240\u4ee5\u8fd9\u53e5\u8bdd\u7684\u610f\u601d\u5c31\u662f\uff1a\u5728\u6808\u5185\u5b58\u4e2d\u5b58\u653e\u4e86\u4e00\u4e2a\u6307\u5411\u4e00\u5757\u5806\u5185\u5b58\u7684\u6307\u9488p\u3002<\/p> \n

\u5728\u7a0b\u5e8f\u4f1a\u5148\u786e\u5b9a\u5728\u5806\u4e2d\u5206\u914d\u5185\u5b58\u7684\u5927\u5c0f\uff0c\u7136\u540e\u8c03\u7528operator new\u5206\u914d\u5185\u5b58\uff0c\u7136\u540e\u8fd4\u56de\u8fd9\u5757\u5185\u5b58\u7684\u9996\u5730\u5740\uff0c\u653e\u5165\u6808\u4e2d\uff0c\u4ed6\u5728VC6\u4e0b\u7684\u6c47\u7f16\u4ee3\u7801\u5982\u4e0b\uff1a<\/p> \n

\r\n00401028 push 14h \r\n0040102A call operator new (00401060) \r\n0040102F add esp,4 \r\n00401032 mov dword ptr [ebp-8],eax `\u8fd9\u91cc\u5199\u4ee3\u7801\u7247`\r\n00401035 mov eax,dword ptr [ebp-8] \r\n00401038 mov dword ptr [ebp-4],eax <\/pre> \n 

\u8fd9\u91cc\uff0c\u6211\u4eec\u4e3a\u4e86\u7b80\u5355\u5e76\u6ca1\u6709\u91ca\u653e\u5185\u5b58\uff0c\u90a3\u4e48\u8be5\u600e\u4e48\u53bb\u91ca\u653e\u5462?\u662fdelete p\u4e48?\u9519\u4e86\uff0c\u5e94\u8be5\u662fdelete []p\uff0c\u8fd9\u662f\u4e3a\u4e86\u544a\u8bc9\u7f16\u8bd1\u5668\uff1a\u6211\u5220\u9664\u7684\u662f\u4e00\u4e2a\u6570\u7ec4\uff0cVC6\u5c31\u4f1a\u6839\u636e\u76f8\u5e94\u7684Cookie\u4fe1\u606f\u53bb\u8fdb\u884c\u91ca\u653e\u5185\u5b58\u7684\u5de5\u4f5c\u3002<\/p> \n

\u597d\u4e86\uff0c\u6211\u4eec\u56de\u5230\u6211\u4eec\u7684\u4e3b\u9898\uff1a\u5806\u548c\u6808\u7a76\u7adf\u6709\u4ec0\u4e48\u533a\u522b?<\/p> \n

\u4e3b\u8981\u7684\u533a\u522b\u7531\u4ee5\u4e0b\u51e0\u70b9\uff1a<\/p> \n

1\u3001\u7ba1\u7406\u65b9\u5f0f\u4e0d\u540c;<\/p> \n

2\u3001\u7a7a\u95f4\u5927\u5c0f\u4e0d\u540c;<\/p> \n

3\u3001\u80fd\u5426\u4ea7\u751f\u788e\u7247\u4e0d\u540c;<\/p> \n

4\u3001\u751f\u957f\u65b9\u5411\u4e0d\u540c;<\/p> \n

5\u3001\u5206\u914d\u65b9\u5f0f\u4e0d\u540c;<\/p> \n

6\u3001\u5206\u914d\u6548\u7387\u4e0d\u540c;<\/p> \n

\u7ba1\u7406\u65b9\u5f0f\uff1a\u5bf9\u4e8e\u6808\u6765\u8bb2\uff0c\u662f\u7531\u7f16\u8bd1\u5668\u81ea\u52a8\u7ba1\u7406\uff0c\u65e0\u9700\u6211\u4eec\u624b\u5de5\u63a7\u5236;\u5bf9\u4e8e\u5806\u6765\u8bf4\uff0c\u91ca\u653e\u5de5\u4f5c\u7531\u7a0b\u5e8f\u5458\u63a7\u5236\uff0c\u5bb9\u6613\u4ea7\u751fmemory leak\u3002<\/p> \n

\u7a7a\u95f4\u5927\u5c0f\uff1a\u4e00\u822c\u6765\u8bb2\u572832\u4f4d\u7cfb\u7edf\u4e0b\uff0c\u5806\u5185\u5b58\u53ef\u4ee5\u8fbe\u52304G\u7684\u7a7a\u95f4\uff0c\u4ece\u8fd9\u4e2a\u89d2\u5ea6\u6765\u770b\u5806\u5185\u5b58\u51e0\u4e4e\u662f\u6ca1\u6709\u4ec0\u4e48\u9650\u5236\u7684\u3002\u4f46\u662f\u5bf9\u4e8e\u6808\u6765\u8bb2\uff0c\u4e00\u822c\u90fd\u662f\u6709\u4e00\u5b9a\u7684\u7a7a\u95f4\u5927\u5c0f\u7684\uff0c\u4f8b\u5982\uff0c\u5728VC6\u4e0b\u9762\uff0c\u9ed8\u8ba4\u7684\u6808\u7a7a\u95f4\u5927\u5c0f\u662f1M(\u597d\u50cf\u662f\uff0c\u8bb0\u4e0d\u6e05\u695a\u4e86)\u3002\u5f53\u7136\uff0c\u6211\u4eec\u53ef\u4ee5\u4fee\u6539\uff1a<\/p> \n

\u6253\u5f00\u5de5\u7a0b\uff0c\u4f9d\u6b21\u64cd\u4f5c\u83dc\u5355\u5982\u4e0b\uff1aProject->Setting->Link\uff0c\u5728Category \u4e2d\u9009\u4e2dOutput\uff0c\u7136\u540e\u5728Reserve\u4e2d\u8bbe\u5b9a\u5806\u6808\u7684\u6700\u5927\u503c\u548ccommit","orderid":"0","title":"C++\u7684\u5185\u5b58\u5730\u5740\u5206\u914d\u548c\u5185\u5b58\u533a\u5212\u5206\u8be6\u89e3(\u4e00)","smalltitle":"","mid":"0","fname":"c++\u7f16\u7a0b\u57fa\u7840","special_id":"0","bak_id":"0","info":"0","hits":"356","pages":"2","comments":"0","posttime":"2018-02-08 09:56:55","list":"1518055015","username":"admin","author":"","copyfrom":"","copyfromurl":"","titlecolor":"","fonttype":"0","titleicon":"0","picurl":"https:\/\/www.cppentry.com\/upload_files\/","ispic":"0","yz":"1","yzer":"","yztime":"0","levels":"0","levelstime":"0","keywords":"\u5185\u5b58<\/A> \u5730\u5740<\/A> \u5206\u914d<\/A> \u5212\u5206<\/A> \u8be6\u89e3<\/A>","jumpurl":"","iframeurl":"","style":"","template":"a:3:{s:4:\"head\";s:0:\"\";s:4:\"foot\";s:0:\"\";s:8:\"bencandy\";s:0:\"\";}","target":"0","ip":"113.87.120.81","lastfid":"0","money":"0","buyuser":"","passwd":"","allowdown":"","allowview":"","editer":"","edittime":"0","begintime":"0","endtime":"0","description":"C++\u7684\u5185\u5b58\u5730\u5740\u5206\u914d\u548c\u5185\u5b58\u533a\u5212\u5206\u8be6\u89e3","lastview":"1714823870","digg_num":"2","digg_time":"1711528051","forbidcomment":"0","ifvote":"0","heart":"","htmlname":"","city_id":"0"},"page":"1"}