{"id":692,"date":"2016-02-26T22:26:27","date_gmt":"2016-02-26T14:26:27","guid":{"rendered":"http:\/\/yangwang.hk\/?p=692"},"modified":"2017-03-05T19:46:33","modified_gmt":"2017-03-05T11:46:33","slug":"4-2%e3%80%81%e6%9c%80%e7%ae%80%e5%8d%95%e7%9a%84%e8%b0%83%e8%af%95%e6%96%b9%e6%b3%95-%e4%bd%bf%e7%94%a8printf%e8%b0%83%e8%af%95","status":"publish","type":"post","link":"https:\/\/yangwang.hk\/?p=692","title":{"rendered":"4.2\u3001\u6700\u7b80\u5355\u7684\u8c03\u8bd5\u65b9\u6cd5\u2014\u2014\u4f7f\u7528printf\u8c03\u8bd5"},"content":{"rendered":"<p>\u4ece\u8c03\u8bd5\u7684\u82f1\u6587\uff08debug\uff09\u5c31\u53ef\u4ee5\u770b\u51fa\u6765\uff0c\u8c03\u8bd5\u7684\u8fc7\u7a0b\u5c31\u662f\u201c\u6d88\u706d\u201dbug\u7684\u8fc7\u7a0b<\/p>\n<p>\u800c\u4ece\u4e2d\u6587\u4e2d\uff0c\u6211\u4eec\u53ef\u4ee5\u611f\u53d7\u5230\u8c03\u8bd5\u5c31\u662f\u628a\u7a0b\u5e8f\u4e0d\u65ad\u7684\u8fd0\u884c\uff08\u8bd5\uff09\uff0c\u5e76\u4e0d\u65ad\u7684\u4fee\u6539\uff08\u8c03\uff09<\/p>\n<p>\u4f46\u662f\u5982\u679c\u4ec0\u4e48\u90fd\u4e0d\u505a\u7684\u8bdd\uff0c\u5c31\u6401\u54ea\u513f\u5e72\u5df4\u5df4\u7684\u8fd0\u884c\u7a0b\u5e8f\uff0c\u9664\u975e\u7a0b\u5e8f\u80fd\u591f\u6210\u7cbe\uff0c\u81ea\u5df1\u628a\u81ea\u5df1\u7684\u9519\u8bef\u8bf4\u51fa\u6765\uff0c\u6050\u6015\u8fd0\u884c\u51e0\u5e74\u4f60\u4e5f\u8c03\u4e0d\u51fa\u4e2a\u6240\u4ee5\u7136\u6765<\/p>\n<p>\u90a3\u4e48\u6211\u4eec\u53c8\u5e94\u8be5\u7528\u4ec0\u4e48\u65b9\u6cd5\u6765\u8c03\u8bd5\u5462\uff1f<\/p>\n<p>\u8fd9\u7bc7\u6587\u7ae0\u4e2d\u6211\u4eec\u5c31\u6765\u4ecb\u7ecd\u4e00\u79cd\u6700\u7b80\u5355\u7684\u8c03\u8bd5\u65b9\u6cd5\uff0c\u53ea\u8981\u4f60\u6709\u7f16\u8f91\u5668\u548c\u7f16\u8bd1\u5668\uff0c\u90a3\u4e48\u5c31\u53ef\u4ee5\u4f7f\u7528\u8fd9\u4e2a\u65b9\u6cd5\u8c03\u8bd5<\/p>\n<p>\u6211\u4eec\u90fd\u77e5\u9053\uff0cprintf\u80fd\u591f\u5728\u547d\u4ee4\u884c\uff08\u7ec8\u7aef\uff09\u4e0a\u4ee5\u4e00\u5b9a\u7684\u683c\u5f0f\u6765\u8f93\u51fa\u4e00\u4e9b\u4fe1\u606f\u3002\u5982\u679c\u6211\u4eec\u80fd\u591f\u8f83\u597d\u7684\u5229\u7528\u8fd9\u4e2a\u529f\u80fd\uff0c\u6211\u4eec\u4fbf\u53ef\u4ee5\u8bb0\u5f55\u7a0b\u5e8f\u8fd0\u884c\u7684\u7ed3\u679c\uff0c\u8f93\u51fa\u4e00\u4e9b\u53d8\u91cf\u7684\u503c\uff0c\u901a\u8fc7\u8fd9\u4e9b\u4fe1\u606f\uff0c\u6211\u4eec\u80fd\u591f\u89e3\u51b3\u4e00\u4e9b\u7b80\u5355\u7684\u9519\u8bef<\/p>\n<p>\u4ee5\u4e0a\u4e00\u7ae0\u6700\u540e\u7684\u90a3\u4e2a\u9519\u8bef\u7a0b\u5e8f\u4e3a\u4f8b\uff0c\u6211\u4eec\u6765\u7b80\u5355\u7684\u4f53\u4f1a\u4e00\u4e0b\u8fd9\u79cd\u8c03\u8bd5\u65b9\u6cd5\u3002\u4e0b\u9762\u662f\u90a3\u4e2a\u9519\u8bef\u7684\u4ee3\u7801\uff1a<\/p>\n<pre class=\"brush: cpp; title: ; notranslate\" title=\"\">\r\n#include &lt;stdio.h&gt;\r\n#include &lt;stdlib.h&gt;\r\n\r\nint main()\r\n{\r\n    int a, b, result;\r\n    int operators;\r\n    printf(&quot;\u8bf7\u8f93\u5165\u4e00\u4e2a\u7b97\u5f0f:&quot;);\r\n    scanf(&quot;%d %c %d&quot;, &amp;a, &amp;operators, &amp;b);\r\n    switch(operators)\r\n    {\r\n        case '+':\r\n            result = a + b;\r\n            break;\r\n        case '-':\r\n            result = a - b;\r\n            break;\r\n        case '*':\r\n            result = a * b;\r\n            break;\r\n        case '\/':\r\n            result = a \/ b;\r\n            break;\r\n    }\r\n\r\n    printf(&quot;%d\\n&quot;, result);\r\n    return 0;\r\n}\r\n<\/pre>\n<p>\u8fd9\u4e2a\u7a0b\u5e8f\u7684\u8f93\u51fa\u7ed3\u679c\u548c\u6211\u4eec\u6240\u671f\u671b\u7684\u5b8c\u5168\u4e0d\u540c\uff0c\u800c\u6211\u4eec\u73b0\u5728\u8fd8\u4e0d\u592a\u6e05\u695a\u95ee\u9898\u51fa\u73b0\u70b9\u7684\u5730\u65b9\uff0c\u6211\u4eec\u4fbf\u53ef\u4ee5\u5728\u4e00\u4e9b\u5173\u952e\u7684\u5730\u65b9\u52a0\u4e0aprintf\uff0c\u6bd4\u5982\u6211\u4eec\u9700\u8981\u68c0\u67e5\u4e00\u4e0b\u662f\u5426\u80fd\u6b63\u786e\u7684\u8f93\u5165\u6570\u636e\uff0c\u6211\u4eec\u4fbf\u53ef\u4ee5\u5728\u4f7f\u7528scanf\u8f93\u5165\u540e\u6dfb\u52a0\u4e00\u4e2aprintf\u8f93\u51fa\uff0c\u5c06\u6211\u4eec\u521a\u521a\u8f93\u5165\u7684\u503c\u6253\u5370\u51fa\u6765\u3002<\/p>\n<pre class=\"brush: cpp; title: ; notranslate\" title=\"\">\r\n    printf(&quot;\u8c03\u8bd5\u4fe1\u606f\uff1a\u8f93\u5165\u7684\u7b97\u5f0f\u4e3a%d %c %d\\n&quot;, a, operators, b);\r\n<\/pre>\n<p>\u518d\u6b21\u8fd0\u884c\u8fd9\u4e2a\u7a0b\u5e8f\uff1a<\/p>\n<p><a href=\"https:\/\/yangwang.hk\/wp-content\/uploads\/2016\/02\/22-49-30-854.JPG\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-704\" src=\"https:\/\/yangwang.hk\/wp-content\/uploads\/2016\/02\/22-49-30-854.JPG\" alt=\"\" width=\"315\" height=\"73\" srcset=\"https:\/\/yangwang.hk\/wp-content\/uploads\/2016\/02\/22-49-30-854.JPG 315w, https:\/\/yangwang.hk\/wp-content\/uploads\/2016\/02\/22-49-30-854-300x70.jpg 300w\" sizes=\"auto, (max-width: 315px) 100vw, 315px\" \/><\/a><\/p>\n<p>\u73b0\u5728\uff0c\u4f3c\u4e4e\u4e00\u5207\u6b63\u5e38\uff0c\u53ef\u4ee5\u8bf4\u76ee\u524d\u6211\u4eec\u8fd8\u6ca1\u6709\u83b7\u5f97\u4efb\u4f55\u6709\u7528\u7684\u4fe1\u606f\u3002<\/p>\n<p>\u4e0d\u8fc7\u4f60\u4e5f\u4e0d\u8981\u7740\u6025\uff0c\u8c03\u8bd5\u624d\u521a\u521a\u5f00\u59cb\uff01<\/p>\n<p>\u4f7f\u7528\u8f93\u51fa\u8bed\u53e5\uff0c\u4e0d\u4ec5\u4ec5\u53ea\u80fd\u6253\u5370\u53d8\u91cf\u7684\u503c\uff0c\u8fd8\u80fd\u544a\u8bc9\u6211\u4eec\u7a0b\u5e8f\u8fd0\u884c\u5230\u4e86\u4f55\u5904\uff0c\u4e0b\u9762\u6211\u4eec\u53ef\u4ee5\u5728switch\u4e2d\u7684\u5404\u4e2a\u5206\u652f\u4e2d\u63d2\u5165\u4e00\u4e2aputs<\/p>\n<p>\u5982\u6b64\uff0c\u6211\u4eec\u5c31\u80fd\u901a\u8fc7\u89c2\u5bdf\u5c4f\u5e55\u7684\u8f93\u51fa\u6765\u4e86\u89e3\u5230\u54ea\u4e2a\u5206\u652f\u88ab\u6267\u884c\u4e86\u3002\u4fee\u6539\u540e\u7684\u4ee3\u7801\u5982\u4e0b\uff1a<\/p>\n<pre class=\"brush: cpp; title: ; notranslate\" title=\"\">\r\n#include &lt;stdio.h&gt;\r\n#include &lt;stdlib.h&gt;\r\n\r\nint main()\r\n{\r\n    int a, b, result;\r\n    int operators;\r\n    printf(&quot;\u8bf7\u8f93\u5165\u4e00\u4e2a\u7b97\u5f0f:&quot;);\r\n    scanf(&quot;%d %c %d&quot;, &amp;a, &amp;operators, &amp;b);\r\n    printf(&quot;\u8c03\u8bd5\u4fe1\u606f\uff1a\u8f93\u5165\u7684\u7b97\u5f0f\u4e3a%d %c %d\\n&quot;, a, operators, b);\r\n    switch(operators)\r\n    {\r\n        case '+':\r\n            result = a + b;\r\n            puts(&quot;+&quot;);\r\n            break;\r\n        case '-':\r\n            result = a - b;\r\n            puts(&quot;-&quot;);\r\n            break;\r\n        case '*':\r\n            result = a * b;\r\n            puts(&quot;*&quot;);\r\n            break;\r\n        case '\/':\r\n            result = a \/ b;\r\n            puts(&quot;\/&quot;);\r\n            break;\r\n    }\r\n    printf(&quot;%d\\n&quot;, result);\r\n    return 0;\r\n}\r\n<\/pre>\n<p>&nbsp;<\/p>\n<p>\u5982\u6b64\u4e00\u6765\uff0c\u53ea\u8981\u5c4f\u5e55\u8f93\u51fa\u4e86+-*\/\u4e4b\u4e2d\u7684\u4efb\u610f\u4e00\u4e2a\uff0c\u5c31\u8bf4\u660e\u5bf9\u5e94\u7684\u5206\u652f\u88ab\u6267\u884c\u4e86\u3002\u4e0b\u9762\u8ba9\u6211\u4eec\u8fd0\u884c\u7a0b\u5e8f\u67e5\u770b\u7ed3\u679c\uff1a<\/p>\n<p><a href=\"https:\/\/yangwang.hk\/wp-content\/uploads\/2016\/02\/22-49-30-854.JPG\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-704\" src=\"https:\/\/yangwang.hk\/wp-content\/uploads\/2016\/02\/22-49-30-854.JPG\" alt=\"\" width=\"315\" height=\"73\" srcset=\"https:\/\/yangwang.hk\/wp-content\/uploads\/2016\/02\/22-49-30-854.JPG 315w, https:\/\/yangwang.hk\/wp-content\/uploads\/2016\/02\/22-49-30-854-300x70.jpg 300w\" sizes=\"auto, (max-width: 315px) 100vw, 315px\" \/><\/a><\/p>\n<p>\u4f3c\u4e4e\u5e76\u6ca1\u6709\u4ec0\u4e48\u53d8\u5316\uff0c\u8fd9\u610f\u5473\u7740\u6211\u4eec\u7684\u7a0b\u5e8f\u4e2d\u6ca1\u6709\u4efb\u4f55\u4e00\u4e2a\u5206\u652f\u7ed3\u6784\u88ab\u6267\u884c\u4e86\uff01<\/p>\n<p>\u6362\u53e5\u8bdd\u8bf4\uff0c\u6211\u4eec\u7684switch\u6761\u4ef6\u6ca1\u6709\u4e00\u4e2a\u88ab\u547d\u4e2d\uff0c\u6211\u4eec\u7684\u8f93\u5165\u503c\u4e0d\u5c5e\u4e8e\u5176\u4e2d\u4efb\u4f55\u4e00\u79cd\u60c5\u51b5\u3002<\/p>\n<p>\u7136\u800c\uff0c\u4e00\u5f00\u59cb\u6211\u4eec\u52a0\u5165\u7684printf\u5374\u544a\u8bc9\u6211\u4eec\u8f93\u5165\u7684\u786e\u5b9e\u662f\u6b63\u786e\u7684\u7b26\u53f7\uff0c\u6211\u4eec\u5f97\u5230\u4e86\u4e00\u4e2a\u524d\u540e\u77db\u76fe\u7684\u7ed3\u679c\uff01<\/p>\n<p>\u4e3a\u4e86\u5f04\u6e05\u695a\u6211\u4eec\u7a76\u7adf\u8f93\u5165\u4e86\u4ec0\u4e48\u4e1c\u897f\uff0c\u6211\u4eec\u53ef\u4ee5\u9009\u62e9\u4f7f\u7528%d\u800c\u4e0d\u662f%c\u6765\u6253\u5370operator\uff0c\u6839\u636e\u8fd9\u4e2a\u503c\u6211\u4eec\u53ef\u4ee5\u77e5\u9053\u6211\u4eec\u8f93\u5165\u7684\u5230\u5e95\u662f\u4ec0\u4e48\u4e1c\u897f\u3002<\/p>\n<p>\u4e3a\u6b64\uff0c\u5c06\u7b2c\u5341\u884c\u7684%c\u4fee\u6539\u4e3a%d\uff0c\u6211\u4eec\u518d\u6765\u770b\u770b\uff1a<\/p>\n<p><a href=\"https:\/\/yangwang.hk\/wp-content\/uploads\/2016\/02\/cb_console_runner_2017-03-05_17-08-32.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-763\" src=\"https:\/\/yangwang.hk\/wp-content\/uploads\/2016\/02\/cb_console_runner_2017-03-05_17-08-32.png\" alt=\"\" width=\"374\" height=\"70\" srcset=\"https:\/\/yangwang.hk\/wp-content\/uploads\/2016\/02\/cb_console_runner_2017-03-05_17-08-32.png 374w, https:\/\/yangwang.hk\/wp-content\/uploads\/2016\/02\/cb_console_runner_2017-03-05_17-08-32-300x56.png 300w\" sizes=\"auto, (max-width: 374px) 100vw, 374px\" \/><\/a><\/p>\n<p>operator\u662f\u4e00\u4e2a\u975e\u5e38\u5927\u7684\u6570\uff0c\u663e\u7136\u5e76\u4e0d\u5c5e\u4e8eASCII\u4e2d\u7684\u4efb\u4f55\u4e00\u4e2a\u5b57\u7b26\u3002<\/p>\n<p>\u8fd9\u8bf4\u660e\u6211\u4eec\u95ee\u9898\u5f88\u53ef\u80fd\u51fa\u73b0\u5728\u8f93\u5165\u7684\u5730\u65b9\uff01<\/p>\n<p>\u8fd9\u6b21\uff0c\u6211\u4eec\u5c06\u9519\u8bef\u7684\u53ef\u80fd\u8303\u56f4\u7f29\u5c0f\u5230\u4e865-9\u884c\u3002<\/p>\n<p>\u7ecf\u8fc7\u6211\u4eec\u7684\u68c0\u67e5\uff0c\u6211\u4eec\u53d1\u73b0scanf\u4e2d\uff0c\u6211\u4eec\u4f7f\u7528\u4e86%c\u6765\u8f93\u5165\u4e00\u4e2a\u5b57\u7b26\uff0c\u800c\u50a8\u5b58\u5b57\u7b26\u7684\u53d8\u91cfoperator\u5374\u662f\u6574\u578b\u7684<\/p>\n<p>\u6211\u4eec\u5c06\u5176\u4fee\u6539\u4e3achar\u518d\u6765\u770b\u770b<\/p>\n<p><a href=\"http:\/\/yangwang.hk\/wp-content\/uploads\/2016\/02\/result.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-697\" src=\"http:\/\/yangwang.hk\/wp-content\/uploads\/2016\/02\/result.jpg\" alt=\"result\" width=\"246\" height=\"73\" \/><\/a><\/p>\n<p>\u554a\u54c8\uff0c\u8fd9\u6837\u5c31\u5bf9\u4e86\u561b\uff01<\/p>\n<p>\u5176\u5b9e\u5728\u4e00\u5f00\u59cb\u6211\u4eec\u7f16\u8bd1\u7684\u65f6\u5019\uff0c\u7f16\u8bd1\u5668\u5c31\u7ed9\u51fa\u4e86\u5982\u4e0b\u7684\u8b66\u544a\uff1a<\/p>\n<p>&#8230;\\main.c|9|warning: format &#8216;%c&#8217; expects argument of type &#8216;char *&#8217;, but argument 3 has type &#8216;int *&#8217; [-Wformat]|<\/p>\n<p>\u8fd9\u4e2a\u610f\u601d\u662f\u8bf4\uff0c<strong>\u5728\u7b2c\u4e5d\u884c\u7684scanf\u4e2d\uff0c%c\u683c\u5f0f\u6240\u671f\u671b\u7684\u53c2\u6570\u7c7b\u578b\u662fchar*\uff0c\u800c\u5b9e\u9645\u7684\u7c7b\u578b\u662fint*<\/strong>\uff0c\u56e0\u6b64\u53d1\u51fa\u4e86\u4e00\u4e2a\u8b66\u544a\u3002\u4e3a\u4e86\u5b8c\u5168\u660e\u767d\u8fd9\u4e2a\u8b66\u544a\u7684\u542b\u4e49\uff0c\u6211\u4eec\u9700\u8981\u7b49\u5230\u5b66\u4e60\u6307\u9488\uff0c\u4e0d\u8fc7\u8fd9\u4e2a\u8b66\u544a\u663e\u7136\u6709\u52a9\u4e8e\u6211\u4eec\u68c0\u67e5\u7a0b\u5e8f\u4e2d\u7684\u9519\u8bef\u3002\u56e0\u6b64\uff0c\u5c3d\u7ba1\u51fa\u73b0\u8b66\u544a\u4ecd\u7136\u53ef\u4ee5\u901a\u8fc7\u7f16\u8bd1\uff0c\u4f46\u662f\u5728\u8bb8\u591a\u60c5\u51b5\u4e0b\uff0c\u8b66\u544a\u610f\u5473\u7740\u7a0b\u5e8f\u4e2d\u53ef\u80fd\u5b58\u5728\u6f5c\u5728\u7684\u9519\u8bef\uff0c\u5e94\u5f53\u5f15\u8d77\u4f60\u7684\u6ce8\u610f<\/p>\n<p>\u8fd9\u4e2a\u7a0b\u5e8f\u5e76\u6ca1\u6709\u5728\u8fd0\u884c\u7684\u65f6\u5019\u53d1\u751f\u5d29\u6e83\uff0c\u800c\u5728\u6211\u4eec\u5b66\u5230\u540e\u9762\u7684\u65f6\u5019\uff0c\u7531\u4e8e\u5185\u5b58\u64cd\u4f5c\u7b49\u5730\u65b9\u7684\u4e0d\u614e\uff0c\u5f88\u5bb9\u6613\u9020\u6210\u7a0b\u5e8f\u5d29\u6e83\uff0c\u540c\u6837\u662f\u4f7f\u7528printf\uff0c\u6211\u4eec\u53ef\u4ee5\u5728\u5d29\u6e83\u7684\u524d\u9762\u8f93\u51fa\u4e00\u4e9b\u6240\u9700\u7684\u4fe1\u606f\uff0c\u6765\u67e5\u627e\u5d29\u6e83\u7684\u539f\u56e0\u3002\u6211\u4eec\u53ef\u4ee5\u5f62\u8c61\u7684\u79f0\u8fd9\u4e2a\u65b9\u6cd5\u4e3a\u201c\u4e34\u7ec8\u9057\u8a00\u6cd5\u201d\uff0c\u5373\u5728\u7a0b\u5e8f\u6b7b\u6389\u7684\u6700\u540e\u4e00\u523b\uff0c\u8ba9\u5b83\u8bf4\u51fa\u5b83\u7684\u201c\u9057\u8a00\u201d\u3002\u6211\u4eec\u5c06\u5728\u540e\u9762\u7684\u5b66\u4e60\u4e2d\u6f14\u793a\u3002<\/p>\n<p>\u4f7f\u7528\u8f93\u51fa\u51fd\u6570\u6765\u5e2e\u52a9\u8c03\u8bd5\u662f\u4e00\u4e2a\u5f88\u7b80\u5355\u7684\u65b9\u6cd5\uff0c\u5b83\u4e0d\u9700\u8981\u989d\u5916\u7684\u5de5\u5177\u3002<\/p>\n<p>\u7136\u800c\u6b63\u662f\u8fd9\u4e00\u70b9\u8fd9\u53c8\u4f7f\u5b83\u53d8\u5f97\u9ebb\u70e6\uff1a<strong>\u4f60\u5fc5\u987b\u5728\u8bb8\u591a\u5730\u65b9\u52a0\u4e0a\u4e00\u5806\u53c8\u4e00\u5806\u7684\u8f93\u51fa\u8bed\u53e5<\/strong>\uff0c\u66f4\u6050\u6016\u7684\u662f\u4f60\u53ef\u80fd\u8fd8\u9700\u8981\u5728\u89e3\u51b3\u95ee\u9898\u540e\u4e00\u884c\u4e00\u884c\u7684\u5c06\u4ed6\u4eec\u79fb\u9664\u2026\u2026<\/p>\n<p>\u56e0\u6b64\u4eba\u4eec\u60f3\u51fa\u4e86\u4e00\u4e2a\u53eb\u505a\u201c<strong>\u65ad\u8a00<\/strong>\u201d\u7684\u4e1c\u897f\uff0c\u4ed6\u80fd\u4f7f\u8fd9\u4e9b\u7528\u4e8e\u8c03\u8bd5\u7684\u8bed\u53e5\u5728\u6211\u4eec\u5b8c\u6210\u8c03\u8bd5\u8fdb\u884c\u6700\u540e\u53d1\u5e03\u7684\u65f6\u5019\u81ea\u52a8\u7684\u4e0d\u88ab\u7f16\u8bd1\u5668\u7f16\u8bd1\u8fdb\u53bb\u3002<\/p>\n<p>\u6211\u4eec\u5c06\u5728\u540e\u9762\u4ecb\u7ecd\u65ad\u8a00\u7684\u4f7f\u7528\u65b9\u6cd5\u3002<\/p>\n<p>\u5bf9\u4e8e\u89c4\u6a21\u7a0d\u5927\u7684\u7a0b\u5e8f\uff0c\u4ec5\u4ec5\u9760\u5728\u7a0b\u5e8f\u4e2d\u6253\u5370\u53d8\u91cf\u7684\u503c\u7b49\u65b9\u6cd5\u662f\u8fdc\u8fdc\u4e0d\u591f\u7684\uff0c\u6211\u4eec\u9700\u8981\u4e00\u4e2a\u529f\u80fd\u66f4\u4e3a\u5f3a\u5927\u7a0b\u5e8f\u6765\u8f85\u52a9\u6211\u4eec\u5bf9\u7a0b\u5e8f\u7684\u8c03\u8bd5\u3002<\/p>\n<p>\u8fd9\u79cd\u7a0b\u5e8f\u4fbf\u662f\u8c03\u8bd5\u5668\uff08debugger\uff09\u3002<\/p>\n<p>\u4e0b\u4e00\u7bc7\u6587\u7ae0\u6211\u4eec\u5c31\u8981\u5b66\u4e60\u5982\u4f55\u4f7f\u7528\u8c03\u8bd5\u5668\u6765\u8c03\u8bd5\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u4ece\u8c03\u8bd5\u7684\u82f1\u6587\uff08debug\uff09\u5c31\u53ef\u4ee5\u770b\u51fa\u6765\uff0c\u8c03\u8bd5\u7684\u8fc7\u7a0b\u5c31\u662f\u201c\u6d88\u706d\u201dbug\u7684\u8fc7\u7a0b \u800c\u4ece\u4e2d\u6587\u4e2d\uff0c\u6211\u4eec\u53ef\u4ee5\u611f\u53d7\u5230\u8c03\u8bd5\u5c31\u662f\u2026 <span class=\"read-more\"><a href=\"https:\/\/yangwang.hk\/?p=692\">Read More: 4.2\u3001\u6700\u7b80\u5355\u7684\u8c03\u8bd5\u2026 &raquo;<\/a><\/span><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[5],"tags":[],"class_list":["post-692","post","type-post","status-publish","format-standard","hentry","category-c"],"views":7860,"_links":{"self":[{"href":"https:\/\/yangwang.hk\/index.php?rest_route=\/wp\/v2\/posts\/692","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/yangwang.hk\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/yangwang.hk\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/yangwang.hk\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/yangwang.hk\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=692"}],"version-history":[{"count":4,"href":"https:\/\/yangwang.hk\/index.php?rest_route=\/wp\/v2\/posts\/692\/revisions"}],"predecessor-version":[{"id":764,"href":"https:\/\/yangwang.hk\/index.php?rest_route=\/wp\/v2\/posts\/692\/revisions\/764"}],"wp:attachment":[{"href":"https:\/\/yangwang.hk\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=692"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/yangwang.hk\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=692"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/yangwang.hk\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=692"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}