{"id":51724,"date":"2025-08-11T05:59:09","date_gmt":"2025-08-10T21:59:09","guid":{"rendered":"https:\/\/www.wsisp.com\/helps\/51724.html"},"modified":"2025-08-11T05:59:09","modified_gmt":"2025-08-10T21:59:09","slug":"%e7%ac%ac%e5%85%ab%e8%8a%82-c-%e4%bf%ae%e9%a5%b0%e7%ac%a6%e7%b1%bb%e5%9e%8b%e3%80%81%e5%ad%98%e5%82%a8%e7%b1%bb","status":"publish","type":"post","link":"https:\/\/www.wsisp.com\/helps\/51724.html","title":{"rendered":"\u7b2c\u516b\u8282 C++ \u4fee\u9970\u7b26\u7c7b\u578b\u3001\u5b58\u50a8\u7c7b"},"content":{"rendered":"<p>C&#043;&#043; \u5141\u8bb8\u5728\u00a0char\u3001int \u548c double\u00a0\u6570\u636e\u7c7b\u578b\u524d\u653e\u7f6e\u4fee\u9970\u7b26\u3002\u4fee\u9970\u7b26\u7528\u4e8e\u6539\u53d8\u57fa\u672c\u7c7b\u578b\u7684\u542b\u4e49&#xff0c;\u6240\u4ee5\u5b83\u66f4\u80fd\u6ee1\u8db3\u5404\u79cd\u60c5\u5883\u7684\u9700\u6c42\u3002<\/p>\n<p>\u4e0b\u9762\u5217\u51fa\u4e86\u6570\u636e\u7c7b\u578b\u4fee\u9970\u7b26&#xff1a;<\/p>\n<ul>\n<li>signed<\/li>\n<li>unsigned<\/li>\n<li>long<\/li>\n<li>short<\/li>\n<\/ul>\n<p>\u4fee\u9970\u7b26\u00a0signed\u3001unsigned\u3001long \u548c short\u00a0\u53ef\u5e94\u7528\u4e8e\u6574\u578b&#xff0c;signed\u00a0\u548c\u00a0unsigned\u00a0\u53ef\u5e94\u7528\u4e8e\u5b57\u7b26\u578b&#xff0c;long\u00a0\u53ef\u5e94\u7528\u4e8e\u53cc\u7cbe\u5ea6\u578b\u3002<\/p>\n<p>\u4fee\u9970\u7b26\u00a0signed\u00a0\u548c\u00a0unsigned\u00a0\u4e5f\u53ef\u4ee5\u4f5c\u4e3a\u00a0long\u00a0\u6216\u00a0short\u00a0\u4fee\u9970\u7b26\u7684\u524d\u7f00\u3002\u4f8b\u5982&#xff1a;unsigned long int\u3002<\/p>\n<p>C&#043;&#043; \u5141\u8bb8\u4f7f\u7528\u901f\u8bb0\u7b26\u53f7\u6765\u58f0\u660e\u65e0\u7b26\u53f7\u77ed\u6574\u6570\u6216\u65e0\u7b26\u53f7\u957f\u6574\u6570\u3002\u60a8\u53ef\u4ee5\u4e0d\u5199 int&#xff0c;\u53ea\u5199\u5355\u8bcd\u00a0unsigned short\u00a0\u6216\u00a0unsigned long&#xff0c;int \u662f\u9690\u542b\u7684\u3002\u4f8b\u5982&#xff0c;\u4e0b\u9762\u7684\u4e24\u4e2a\u8bed\u53e5\u90fd\u58f0\u660e\u4e86\u65e0\u7b26\u53f7\u6574\u578b\u53d8\u91cf\u3002<\/p>\n<p>unsigned x;<br \/>\nunsigned int y;<\/p>\n<p>\u4e3a\u4e86\u7406\u89e3 C&#043;&#043; \u89e3\u91ca\u6709\u7b26\u53f7\u6574\u6570\u548c\u65e0\u7b26\u53f7\u6574\u6570\u4fee\u9970\u7b26\u4e4b\u95f4\u7684\u5dee\u522b&#xff0c;\u6211\u4eec\u6765\u8fd0\u884c\u4e00\u4e0b\u4e0b\u9762\u8fd9\u4e2a\u77ed\u7a0b\u5e8f&#xff1a;<\/p>\n<p>#include &lt;iostream&gt;<br \/>\nusing namespace std;<\/p>\n<p>\/*<br \/>\n * \u8fd9\u4e2a\u7a0b\u5e8f\u6f14\u793a\u4e86\u6709\u7b26\u53f7\u6574\u6570\u548c\u65e0\u7b26\u53f7\u6574\u6570\u4e4b\u95f4\u7684\u5dee\u522b<br \/>\n*\/<br \/>\nint main()<br \/>\n{<br \/>\n   short int i;           \/\/ \u6709\u7b26\u53f7\u77ed\u6574\u6570<br \/>\n   short unsigned int j;  \/\/ \u65e0\u7b26\u53f7\u77ed\u6574\u6570<\/p>\n<p>   j &#061; 50000;<\/p>\n<p>   i &#061; j;<br \/>\n   cout &lt;&lt; i &lt;&lt; &#034; &#034; &lt;&lt; j;<\/p>\n<p>   return 0;<br \/>\n} <\/p>\n<p>\u5f53\u4e0a\u9762\u7684\u7a0b\u5e8f\u8fd0\u884c\u65f6&#xff0c;\u4f1a\u8f93\u51fa\u4e0b\u5217\u7ed3\u679c&#xff1a;<\/p>\n<p>-15536 50000<\/p>\n<p>\u4e0a\u8ff0\u7ed3\u679c\u4e2d&#xff0c;\u65e0\u7b26\u53f7\u77ed\u6574\u6570 50,000 \u7684\u4f4d\u6a21\u5f0f\u88ab\u89e3\u91ca\u4e3a\u6709\u7b26\u53f7\u77ed\u6574\u6570 -15,536\u3002<\/p>\n<h3>C&#043;&#043; \u4e2d\u7684\u7c7b\u578b\u9650\u5b9a\u7b26<\/h3>\n<p>\u7c7b\u578b\u9650\u5b9a\u7b26\u63d0\u4f9b\u4e86\u53d8\u91cf\u7684\u989d\u5916\u4fe1\u606f\u3002<\/p>\n<table>\n<tbody>\n<tr>\u9650\u5b9a\u7b26\u542b\u4e49<\/tr>\n<tr>\n<td>const<\/td>\n<td>const\u00a0\u7c7b\u578b\u7684\u5bf9\u8c61\u5728\u7a0b\u5e8f\u6267\u884c\u671f\u95f4\u4e0d\u80fd\u88ab\u4fee\u6539\u6539\u53d8\u3002<\/td>\n<\/tr>\n<tr>\n<td>volatile<\/td>\n<td>\u4fee\u9970\u7b26\u00a0volatile\u00a0\u544a\u8bc9\u7f16\u8bd1\u5668&#xff0c;\u53d8\u91cf\u7684\u503c\u53ef\u80fd\u4ee5\u7a0b\u5e8f\u672a\u660e\u786e\u6307\u5b9a\u7684\u65b9\u5f0f\u88ab\u6539\u53d8\u3002<\/td>\n<\/tr>\n<tr>\n<td>restrict<\/td>\n<td>\u7531\u00a0restrict\u00a0\u4fee\u9970\u7684\u6307\u9488\u662f\u552f\u4e00\u4e00\u79cd\u8bbf\u95ee\u5b83\u6240\u6307\u5411\u7684\u5bf9\u8c61\u7684\u65b9\u5f0f\u3002\u53ea\u6709 C99 \u589e\u52a0\u4e86\u65b0\u7684\u7c7b\u578b\u9650\u5b9a\u7b26 restrict\u3002<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h2>C&#043;&#043; \u5b58\u50a8\u7c7b<\/h2>\n<p>\u5b58\u50a8\u7c7b\u5b9a\u4e49 C&#043;&#043; \u7a0b\u5e8f\u4e2d\u53d8\u91cf\/\u51fd\u6570\u7684\u8303\u56f4&#xff08;\u53ef\u89c1\u6027&#xff09;\u548c\u751f\u547d\u5468\u671f\u3002\u8fd9\u4e9b\u8bf4\u660e\u7b26\u653e\u7f6e\u5728\u5b83\u4eec\u6240\u4fee\u9970\u7684\u7c7b\u578b\u4e4b\u524d\u3002\u4e0b\u9762\u5217\u51fa C&#043;&#043; \u7a0b\u5e8f\u4e2d\u53ef\u7528\u7684\u5b58\u50a8\u7c7b&#xff1a;<\/p>\n<ul>\n<li>auto<\/li>\n<li>register<\/li>\n<li>static<\/li>\n<li>extern<\/li>\n<li>mutable<\/li>\n<\/ul>\n<h3>auto \u5b58\u50a8\u7c7b<\/h3>\n<p>\u5728C&#043;&#043;11\u00a0\u4e2d&#xff0c;\u00a0auto\u00a0\u5173\u952e\u5b57\u4e0d\u518d\u662fC&#043;&#043;\u5b58\u50a8\u7c7b\u8bf4\u660e\u7b26\u3002\u4eceC&#043;&#043;11\u5f00\u59cb&#xff0c;auto\u00a0\u5173\u952e\u5b57\u58f0\u660e\u4e00\u4e2a\u53d8\u91cf&#xff0c;\u8be5\u53d8\u91cf\u7684\u7c7b\u578b\u662f\u4ece\u5176\u58f0\u660e\u4e2d\u7684\u521d\u59cb\u5316\u8868\u8fbe\u5f0f\u63a8\u5bfc\u51fa\u6765\u7684\u3002<\/p>\n<p>auto\u00a0\u5b58\u50a8\u7c7b\u662f\u6240\u6709\u5c40\u90e8\u53d8\u91cf\u9ed8\u8ba4\u7684\u5b58\u50a8\u7c7b\u3002<\/p>\n<p>{<br \/>\n   int mount;<br \/>\n   auto int month;<br \/>\n}<\/p>\n<p>\u4e0a\u9762\u7684\u5b9e\u4f8b\u5b9a\u4e49\u4e86\u4e24\u4e2a\u5e26\u6709\u76f8\u540c\u5b58\u50a8\u7c7b\u7684\u53d8\u91cf&#xff0c;auto \u53ea\u80fd\u7528\u5728\u51fd\u6570\u5185&#xff0c;\u5373 auto \u53ea\u80fd\u4fee\u9970\u5c40\u90e8\u53d8\u91cf\u3002<\/p>\n<h3>register \u5b58\u50a8\u7c7b<\/h3>\n<p>register\u00a0\u5b58\u50a8\u7c7b\u7528\u4e8e\u5b9a\u4e49\u5b58\u50a8\u5728\u5bc4\u5b58\u5668\u4e2d\u800c\u4e0d\u662f RAM \u4e2d\u7684\u5c40\u90e8\u53d8\u91cf\u3002\u8fd9\u610f\u5473\u7740\u53d8\u91cf\u7684\u6700\u5927\u5c3a\u5bf8\u7b49\u4e8e\u5bc4\u5b58\u5668\u7684\u5927\u5c0f&#xff08;\u901a\u5e38\u662f\u4e00\u4e2a\u8bcd&#xff09;&#xff0c;\u4e14\u4e0d\u80fd\u5bf9\u5b83\u5e94\u7528\u4e00\u5143\u7684 &#039;&amp;&#039; \u8fd0\u7b97\u7b26&#xff08;\u56e0\u4e3a\u5b83\u6ca1\u6709\u5185\u5b58\u4f4d\u7f6e&#xff09;\u3002<\/p>\n<p>{<br \/>\n   register int  miles;<br \/>\n}<\/p>\n<p>\u5bc4\u5b58\u5668\u53ea\u7528\u4e8e\u9700\u8981\u5feb\u901f\u8bbf\u95ee\u7684\u53d8\u91cf&#xff0c;\u6bd4\u5982\u8ba1\u6570\u5668\u3002\u8fd8\u5e94\u6ce8\u610f\u7684\u662f&#xff0c;\u5b9a\u4e49 &#039;register&#039; \u5e76\u4e0d\u610f\u5473\u7740\u53d8\u91cf\u5c06\u88ab\u5b58\u50a8\u5728\u5bc4\u5b58\u5668\u4e2d&#xff0c;\u5b83\u610f\u5473\u7740\u53d8\u91cf\u53ef\u80fd\u5b58\u50a8\u5728\u5bc4\u5b58\u5668\u4e2d&#xff0c;\u8fd9\u53d6\u51b3\u4e8e\u786c\u4ef6\u548c\u5b9e\u73b0\u7684\u9650\u5236\u3002<\/p>\n<h3>static \u5b58\u50a8\u7c7b<\/h3>\n<p>static\u00a0\u5b58\u50a8\u7c7b\u6307\u793a\u7f16\u8bd1\u5668\u5728\u7a0b\u5e8f\u7684\u751f\u547d\u5468\u671f\u5185\u4fdd\u6301\u5c40\u90e8\u53d8\u91cf\u7684\u5b58\u5728&#xff0c;\u800c\u4e0d\u9700\u8981\u5728\u6bcf\u6b21\u5b83\u8fdb\u5165\u548c\u79bb\u5f00\u4f5c\u7528\u57df\u65f6\u8fdb\u884c\u521b\u5efa\u548c\u9500\u6bc1\u3002\u56e0\u6b64&#xff0c;\u4f7f\u7528 static \u4fee\u9970\u5c40\u90e8\u53d8\u91cf\u53ef\u4ee5\u5728\u51fd\u6570\u8c03\u7528\u4e4b\u95f4\u4fdd\u6301\u5c40\u90e8\u53d8\u91cf\u7684\u503c\u3002<\/p>\n<p>static \u4fee\u9970\u7b26\u4e5f\u53ef\u4ee5\u5e94\u7528\u4e8e\u5168\u5c40\u53d8\u91cf\u3002\u5f53 static \u4fee\u9970\u5168\u5c40\u53d8\u91cf\u65f6&#xff0c;\u4f1a\u4f7f\u53d8\u91cf\u7684\u4f5c\u7528\u57df\u9650\u5236\u5728\u58f0\u660e\u5b83\u7684\u6587\u4ef6\u5185\u3002<\/p>\n<p>\u5728 C&#043;&#043; \u4e2d&#xff0c;\u5f53 static \u7528\u5728\u7c7b\u6570\u636e\u6210\u5458\u4e0a\u65f6&#xff0c;\u4f1a\u5bfc\u81f4\u4ec5\u6709\u4e00\u4e2a\u8be5\u6210\u5458\u7684\u526f\u672c\u88ab\u7c7b\u7684\u6240\u6709\u5bf9\u8c61\u5171\u4eab\u3002<\/p>\n<p>#include &lt;iostream&gt;<\/p>\n<p>\/\/ \u51fd\u6570\u58f0\u660e<br \/>\nvoid func(void);<\/p>\n<p>static int count &#061; 10; \/* \u5168\u5c40\u53d8\u91cf *\/<\/p>\n<p>int main()<br \/>\n{<br \/>\n    while(count&#8211;)<br \/>\n    {<br \/>\n       func();<br \/>\n    }<br \/>\n    return 0;<br \/>\n}<br \/>\n\/\/ \u51fd\u6570\u5b9a\u4e49<br \/>\nvoid func( void )<br \/>\n{<br \/>\n    static int i &#061; 5; \/\/ \u5c40\u90e8\u9759\u6001\u53d8\u91cf<br \/>\n    i&#043;&#043;;<br \/>\n    std::cout &lt;&lt; &#034;\u53d8\u91cf i \u4e3a &#034; &lt;&lt; i ;<br \/>\n    std::cout &lt;&lt; &#034; , \u53d8\u91cf count \u4e3a &#034; &lt;&lt; count &lt;&lt; std::endl;<br \/>\n}<\/p>\n<p>\u5c1d\u8bd5\u4e00\u4e0b<\/p>\n<p>\u5f53\u4e0a\u9762\u7684\u4ee3\u7801\u88ab\u7f16\u8bd1\u548c\u6267\u884c\u65f6&#xff0c;\u5b83\u4f1a\u4ea7\u751f\u4e0b\u5217\u7ed3\u679c&#xff1a;<\/p>\n<p>\u53d8\u91cf i \u4e3a 6 , \u53d8\u91cf count \u4e3a 9<br \/>\n\u53d8\u91cf i \u4e3a 7 , \u53d8\u91cf count \u4e3a 8<br \/>\n\u53d8\u91cf i \u4e3a 8 , \u53d8\u91cf count \u4e3a 7<br \/>\n\u53d8\u91cf i \u4e3a 9 , \u53d8\u91cf count \u4e3a 6<br \/>\n\u53d8\u91cf i \u4e3a 10 , \u53d8\u91cf count \u4e3a 5<br \/>\n\u53d8\u91cf i \u4e3a 11 , \u53d8\u91cf count \u4e3a 4<br \/>\n\u53d8\u91cf i \u4e3a 12 , \u53d8\u91cf count \u4e3a 3<br \/>\n\u53d8\u91cf i \u4e3a 13 , \u53d8\u91cf count \u4e3a 2<br \/>\n\u53d8\u91cf i \u4e3a 14 , \u53d8\u91cf count \u4e3a 1<br \/>\n\u53d8\u91cf i \u4e3a 15 , \u53d8\u91cf count \u4e3a 0<\/p>\n<h3>extern \u5b58\u50a8\u7c7b<\/h3>\n<p>extern\u00a0\u5b58\u50a8\u7c7b\u7528\u4e8e\u63d0\u4f9b\u4e00\u4e2a\u5168\u5c40\u53d8\u91cf\u7684\u5f15\u7528&#xff0c;\u5168\u5c40\u53d8\u91cf\u5bf9\u6240\u6709\u7684\u7a0b\u5e8f\u6587\u4ef6\u90fd\u662f\u53ef\u89c1\u7684\u3002\u5f53\u60a8\u4f7f\u7528 &#039;extern&#039; \u65f6&#xff0c;\u5bf9\u4e8e\u65e0\u6cd5\u521d\u59cb\u5316\u7684\u53d8\u91cf&#xff0c;\u4f1a\u628a\u53d8\u91cf\u540d\u6307\u5411\u4e00\u4e2a\u4e4b\u524d\u5b9a\u4e49\u8fc7\u7684\u5b58\u50a8\u4f4d\u7f6e\u3002<\/p>\n<p>\u5f53\u60a8\u6709\u591a\u4e2a\u6587\u4ef6\u4e14\u5b9a\u4e49\u4e86\u4e00\u4e2a\u53ef\u4ee5\u5728\u5176\u4ed6\u6587\u4ef6\u4e2d\u4f7f\u7528\u7684\u5168\u5c40\u53d8\u91cf\u6216\u51fd\u6570\u65f6&#xff0c;\u53ef\u4ee5\u5728\u5176\u4ed6\u6587\u4ef6\u4e2d\u4f7f\u7528\u00a0extern\u00a0\u6765\u5f97\u5230\u5df2\u5b9a\u4e49\u7684\u53d8\u91cf\u6216\u51fd\u6570\u7684\u5f15\u7528\u3002\u53ef\u4ee5\u8fd9\u4e48\u7406\u89e3&#xff0c;extern\u00a0\u662f\u7528\u6765\u5728\u53e6\u4e00\u4e2a\u6587\u4ef6\u4e2d\u58f0\u660e\u4e00\u4e2a\u5168\u5c40\u53d8\u91cf\u6216\u51fd\u6570\u3002<\/p>\n<p>extern \u4fee\u9970\u7b26\u901a\u5e38\u7528\u4e8e\u5f53\u6709\u4e24\u4e2a\u6216\u591a\u4e2a\u6587\u4ef6\u5171\u4eab\u76f8\u540c\u7684\u5168\u5c40\u53d8\u91cf\u6216\u51fd\u6570\u7684\u65f6\u5019&#xff0c;\u5982\u4e0b\u6240\u793a&#xff1a;<\/p>\n<p>\u7b2c\u4e00\u4e2a\u6587\u4ef6&#xff1a;main.cpp<\/p>\n<p>#include &lt;iostream&gt;<\/p>\n<p>int count ;<br \/>\nextern void write_extern();<\/p>\n<p>int main()<br \/>\n{<br \/>\n   count &#061; 5;<br \/>\n   write_extern();<br \/>\n}<\/p>\n<p>\u7b2c\u4e8c\u4e2a\u6587\u4ef6&#xff1a;support.cpp<\/p>\n<p>#include &lt;iostream&gt;<\/p>\n<p>extern int count;<\/p>\n<p>void write_extern(void)<br \/>\n{<br \/>\n   std::cout &lt;&lt; &#034;Count is &#034; &lt;&lt; count &lt;&lt; std::endl;<br \/>\n} <\/p>\n<p>\u5728\u8fd9\u91cc&#xff0c;\u7b2c\u4e8c\u4e2a\u6587\u4ef6\u4e2d\u7684\u00a0extern\u00a0\u5173\u952e\u5b57\u7528\u4e8e\u58f0\u660e\u5df2\u7ecf\u5728\u7b2c\u4e00\u4e2a\u6587\u4ef6 main.cpp \u4e2d\u5b9a\u4e49\u7684 count\u3002\u73b0\u5728 &#xff0c;\u7f16\u8bd1\u8fd9\u4e24\u4e2a\u6587\u4ef6&#xff0c;\u5982\u4e0b\u6240\u793a&#xff1a;<\/p>\n<p>$g&#043;&#043; main.cpp support.cpp -o write<\/p>\n<p>\u8fd9\u4f1a\u4ea7\u751f\u00a0write\u00a0\u53ef\u6267\u884c\u7a0b\u5e8f&#xff0c;\u5c1d\u8bd5\u6267\u884c\u00a0write&#xff0c;\u5b83\u4f1a\u4ea7\u751f\u4e0b\u5217\u7ed3\u679c&#xff1a;<\/p>\n<p>$ .\/write<br \/>\nCount is 5<\/p>\n<h3>mutable \u5b58\u50a8\u7c7b<\/h3>\n<p>mutable\u00a0\u8bf4\u660e\u7b26\u4ec5\u9002\u7528\u4e8e\u7c7b\u7684\u5bf9\u8c61&#xff0c;\u8fd9\u5c06\u5728\u672c\u6559\u7a0b\u7684\u6700\u540e\u8fdb\u884c\u8bb2\u89e3\u3002\u5b83\u5141\u8bb8\u5bf9\u8c61\u7684\u6210\u5458\u66ff\u4ee3\u5e38\u91cf\u3002\u4e5f\u5c31\u662f\u8bf4&#xff0c;mutable \u6210\u5458\u53ef\u4ee5\u901a\u8fc7 const \u6210\u5458\u51fd\u6570\u4fee\u6539\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u6587\u7ae0\u6d4f\u89c8\u9605\u8bfb6\u6b21\u3002\u7b2c\u516b\u8282 C++ \u4fee\u9970\u7b26\u7c7b\u578b\u3001\u5b58\u50a8\u7c7b<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[55,190],"topic":[],"class_list":["post-51724","post","type-post","status-publish","format-standard","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>\u7b2c\u516b\u8282 C++ \u4fee\u9970\u7b26\u7c7b\u578b\u3001\u5b58\u50a8\u7c7b - \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\/51724.html\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"\u7b2c\u516b\u8282 C++ \u4fee\u9970\u7b26\u7c7b\u578b\u3001\u5b58\u50a8\u7c7b - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"og:description\" content=\"\u6587\u7ae0\u6d4f\u89c8\u9605\u8bfb6\u6b21\u3002\u7b2c\u516b\u8282 C++ \u4fee\u9970\u7b26\u7c7b\u578b\u3001\u5b58\u50a8\u7c7b\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.wsisp.com\/helps\/51724.html\" \/>\n<meta property=\"og:site_name\" content=\"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"article:published_time\" content=\"2025-08-10T21:59:09+00:00\" \/>\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=\"2 \u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/51724.html\",\"url\":\"https:\/\/www.wsisp.com\/helps\/51724.html\",\"name\":\"\u7b2c\u516b\u8282 C++ \u4fee\u9970\u7b26\u7c7b\u578b\u3001\u5b58\u50a8\u7c7b - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"isPartOf\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\"},\"datePublished\":\"2025-08-10T21:59:09+00:00\",\"dateModified\":\"2025-08-10T21:59:09+00:00\",\"author\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/51724.html#breadcrumb\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.wsisp.com\/helps\/51724.html\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/51724.html#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"https:\/\/www.wsisp.com\/helps\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"\u7b2c\u516b\u8282 C++ \u4fee\u9970\u7b26\u7c7b\u578b\u3001\u5b58\u50a8\u7c7b\"}]},{\"@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":"\u7b2c\u516b\u8282 C++ \u4fee\u9970\u7b26\u7c7b\u578b\u3001\u5b58\u50a8\u7c7b - \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\/51724.html","og_locale":"zh_CN","og_type":"article","og_title":"\u7b2c\u516b\u8282 C++ \u4fee\u9970\u7b26\u7c7b\u578b\u3001\u5b58\u50a8\u7c7b - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","og_description":"\u6587\u7ae0\u6d4f\u89c8\u9605\u8bfb6\u6b21\u3002\u7b2c\u516b\u8282 C++ \u4fee\u9970\u7b26\u7c7b\u578b\u3001\u5b58\u50a8\u7c7b","og_url":"https:\/\/www.wsisp.com\/helps\/51724.html","og_site_name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","article_published_time":"2025-08-10T21:59:09+00:00","author":"admin","twitter_card":"summary_large_image","twitter_misc":{"\u4f5c\u8005":"admin","\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4":"2 \u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.wsisp.com\/helps\/51724.html","url":"https:\/\/www.wsisp.com\/helps\/51724.html","name":"\u7b2c\u516b\u8282 C++ \u4fee\u9970\u7b26\u7c7b\u578b\u3001\u5b58\u50a8\u7c7b - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","isPartOf":{"@id":"https:\/\/www.wsisp.com\/helps\/#website"},"datePublished":"2025-08-10T21:59:09+00:00","dateModified":"2025-08-10T21:59:09+00:00","author":{"@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41"},"breadcrumb":{"@id":"https:\/\/www.wsisp.com\/helps\/51724.html#breadcrumb"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.wsisp.com\/helps\/51724.html"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.wsisp.com\/helps\/51724.html#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"https:\/\/www.wsisp.com\/helps"},{"@type":"ListItem","position":2,"name":"\u7b2c\u516b\u8282 C++ \u4fee\u9970\u7b26\u7c7b\u578b\u3001\u5b58\u50a8\u7c7b"}]},{"@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\/51724","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=51724"}],"version-history":[{"count":0,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/51724\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media?parent=51724"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/categories?post=51724"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/tags?post=51724"},{"taxonomy":"topic","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/topic?post=51724"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}