{"id":302918,"date":"2024-05-20T18:47:17","date_gmt":"2024-05-20T10:47:17","guid":{"rendered":"https:\/\/docs.pingcode.com\/ask\/ask-ask\/302918.html"},"modified":"2024-05-20T18:47:38","modified_gmt":"2024-05-20T10:47:38","slug":"c%e8%af%ad%e8%a8%80printf%e8%af%ad%e5%8f%a5%e8%be%93%e5%87%ba%e6%9c%80%e5%90%8e%e4%b8%80%e4%b8%aa%e4%bb%80%e4%b9%88%e5%8e%9f%e5%9b%a0","status":"publish","type":"post","link":"https:\/\/docs.pingcode.com\/ask\/302918.html","title":{"rendered":"c\u8bed\u8a00printf\u8bed\u53e5\u8f93\u51fa\u6700\u540e\u4e00\u4e2a\u4ec0\u4e48\u539f\u56e0"},"content":{"rendered":"<p style=\"text-align:center\"><img decoding=\"async\" src=\"https:\/\/cdn-kb.worktile.com\/kb\/wp-content\/uploads\/2024\/04\/26214950\/96a6bc9c-643e-4787-aa1d-131323faed0a.webp\" alt=\"c\u8bed\u8a00printf\u8bed\u53e5\u8f93\u51fa\u6700\u540e\u4e00\u4e2a\u4ec0\u4e48\u539f\u56e0\" \/><\/p>\n<p><p>C\u8bed\u8a00\u4e2d\u7684printf\u8bed\u53e5\u662f\u7528\u6765\u8fdb\u884c\u8f93\u51fa\u7684\u4e00\u4e2a\u91cd\u8981\u5de5\u5177\uff0c\u5176\u8f93\u51fa\u7684\u6700\u540e\u4e00\u4e2a\u5b57\u7b26\u6709\u65f6\u5019\u5374\u6210\u4e3a\u4e86\u7a0b\u5e8f\u5458\u4eec\u7ecf\u5e38\u9047\u5230\u7684\u4e00\u4e2a\u96be\u9898\u3002<strong>\u539f\u56e0\u4e3b\u8981\u5305\u62ec\u7f13\u51b2\u533a\u672a\u5237\u65b0\u3001\u5b57\u7b26\u4e32\u683c\u5f0f\u5316\u9519\u8bef\u3001\u8f93\u51fa\u5b57\u7b26\u9650\u5236<\/strong>\u7b49\u51e0\u4e2a\u65b9\u9762\u3002\u5176\u4e2d\uff0c<strong>\u7f13\u51b2\u533a\u672a\u5237\u65b0<\/strong>\u662f\u6700\u5e38\u89c1\u7684\u539f\u56e0\u4e4b\u4e00\u3002\u5728C\u8bed\u8a00\u4e2d\uff0c\u6807\u51c6\u8f93\u51fa(stdout)\u9ed8\u8ba4\u662f\u884c\u7f13\u51b2\u7684\uff0c\u8fd9\u610f\u5473\u7740\u53ea\u6709\u5728\u9047\u5230\u6362\u884c\u7b26(&#039;\\n&#039;)\u3001\u7f13\u51b2\u533a\u6ee1\u6216\u7a0b\u5e8f\u6b63\u5e38\u7ed3\u675f\u65f6\uff0c\u7f13\u51b2\u533a\u7684\u5185\u5bb9\u624d\u4f1a\u88ab\u5b9e\u9645\u5199\u5165\u76ee\u6807\u8bbe\u5907\u3002\u5982\u679cprintf\u8bed\u53e5\u7684\u683c\u5f0f\u5316\u5b57\u7b26\u4e32\u4e0d\u4ee5\u6362\u884c\u7b26\u7ed3\u675f\uff0c\u800c\u6b64\u65f6\u7a0b\u5e8f\u53c8\u6ca1\u6709\u7ed3\u675f\u6216\u663e\u5f0f\u5730\u5237\u65b0\u7f13\u51b2\u533a\uff08\u4f8b\u5982\u4f7f\u7528<code>fflush(stdout);<\/code>\uff09\uff0c\u90a3\u4e48\u6700\u540e\u7684\u8f93\u51fa\u53ef\u80fd\u5c31\u4e0d\u4f1a\u51fa\u73b0\u5728\u76ee\u6807\u8bbe\u5907\u4e0a\u3002<\/p>\n<\/p>\n<p><p>\u4e0b\u9762\uff0c\u6211\u4eec\u5c06\u6df1\u5165\u63a2\u8ba8C\u8bed\u8a00\u4e2dprintf\u8bed\u53e5\u8f93\u51fa\u6700\u540e\u4e00\u4e2a\u5b57\u7b26\u53ef\u80fd\u9047\u5230\u7684\u95ee\u9898\u53ca\u5176\u539f\u56e0\uff0c\u5e76\u63d0\u4f9b\u76f8\u5e94\u7684\u89e3\u51b3\u65b9\u6848\u3002<\/p>\n<\/p>\n<p><h3>\u4e00\u3001\u7f13\u51b2\u533a\u672a\u5237\u65b0<\/h3>\n<\/p>\n<p><p>\u5728C\u8bed\u8a00\u4e2d\uff0cprintf\u51fd\u6570\u7684\u5de5\u4f5c\u65b9\u5f0f\u6d89\u53ca\u5230\u8f93\u51fa\u7684\u7f13\u51b2\u673a\u5236\u3002\u9ed8\u8ba4\u60c5\u51b5\u4e0b\uff0cstdout\u662f\u884c\u7f13\u51b2\u7684\uff0c\u8fd9\u610f\u5473\u7740\u8f93\u51fa\u5185\u5bb9\u88ab\u5b58\u50a8\u5728\u4e00\u4e2a\u5185\u90e8\u7f13\u51b2\u533a\u4e2d\uff0c\u76f4\u5230\u9047\u5230\u6362\u884c\u7b26\u6216\u7f13\u51b2\u533a\u5df2\u6ee1\uff0c\u8f93\u51fa\u5185\u5bb9\u624d\u4f1a\u88ab\u53d1\u9001\u5230\u5c4f\u5e55\u3002\u8fd9\u79cd\u673a\u5236\u5bfc\u81f4\u4e86\u5982\u679cprintf\u8bed\u53e5\u8f93\u51fa\u7684\u5185\u5bb9\u6ca1\u6709\u4ee5&#039;\\n&#039;\u7ed3\u5c3e\uff0c\u4e14\u7a0b\u5e8f\u7d27\u63a5\u7740\u7ed3\u675f\u6216\u6ca1\u6709\u624b\u52a8\u5237\u65b0\u7f13\u51b2\u533a\uff0c\u6700\u540e\u7684\u8f93\u51fa\u5185\u5bb9\u5c31\u53ef\u80fd\u4e0d\u4f1a\u663e\u793a\u3002<\/p>\n<\/p>\n<p><p>\u4e3a\u4e86\u89e3\u51b3\u8fd9\u4e2a\u95ee\u9898\uff0c\u53ef\u4ee5\u5728printf\u8bed\u53e5\u540e\u663e\u5f0f\u8c03\u7528<code>fflush(stdout);<\/code>\u6765\u5f3a\u5236\u5237\u65b0\u8f93\u51fa\u7f13\u51b2\u533a\uff0c\u786e\u4fdd\u6240\u6709\u7f13\u51b2\u7684\u8f93\u51fa\u5185\u5bb9\u90fd\u88ab\u53ca\u65f6\u663e\u793a\u3002\u4f8b\u5982\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-c\">#include &lt;stdio.h&gt;<\/p>\n<p>int m<a href=\"https:\/\/docs.pingcode.com\/blog\/59162.html\" target=\"_blank\">AI<\/a>n() {<\/p>\n<p>    printf(&quot;Hello, world&quot;);<\/p>\n<p>    fflush(stdout);  \/\/ \u5f3a\u5236\u5237\u65b0stdout\u7f13\u51b2\u533a\uff0c\u786e\u4fdd\u5b57\u7b26\u4e32\u88ab\u5b8c\u5168\u8f93\u51fa<\/p>\n<p>    return 0;<\/p>\n<p>}<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><h3>\u4e8c\u3001\u5b57\u7b26\u4e32\u683c\u5f0f\u5316\u9519\u8bef<\/h3>\n<\/p>\n<p><p>\u683c\u5f0f\u5316\u8f93\u51fa\u662fprintf\u51fd\u6570\u7684\u4e00\u5927\u7279\u8272\uff0c\u5b83\u5141\u8bb8\u7a0b\u5e8f\u5458\u4ee5\u63a7\u5236\u5b57\u7b26\u4e32\u7684\u5f62\u5f0f\u6307\u5b9a\u8f93\u51fa\u7684\u683c\u5f0f\u3002\u7136\u800c\uff0c\u9519\u8bef\u7684\u683c\u5f0f\u5316\u5b57\u7b26\u4e32\u53ef\u80fd\u4f1a\u5bfc\u81f4\u8f93\u51fa\u4e0d\u5b8c\u5168\u6216\u5b8c\u5168\u4e0d\u7b26\u5408\u9884\u671f\u3002\u5c24\u5176\u662f\u5728\u5b57\u7b26\u4e32\u4e2d\u4e0d\u5c0f\u5fc3\u5305\u542b\u4e86\u683c\u5f0f\u5316\u5360\u4f4d\u7b26\uff08\u5982<code>%s<\/code>\uff0c<code>%d<\/code>\u7b49\uff09\uff0c\u4f46\u53c8\u6ca1\u6709\u63d0\u4f9b\u8db3\u591f\u7684\u53c2\u6570\uff0c\u53ef\u80fd\u4f1a\u5bfc\u81f4\u8f93\u51fa\u7ed3\u679c\u5f02\u5e38\uff0c\u751a\u81f3\u662f\u7a0b\u5e8f\u5d29\u6e83\u3002<\/p>\n<\/p>\n<p><p>\u4e3a\u786e\u4fdd\u683c\u5f0f\u5316\u8f93\u51fa\u6b63\u786e\u65e0\u8bef\uff0c\u52a1\u5fc5\u68c0\u67e5\u683c\u5f0f\u5316\u5b57\u7b26\u4e32\u4e0e\u63d0\u4f9b\u7684\u53c2\u6570\u6570\u91cf\u548c\u7c7b\u578b\u662f\u5426\u5339\u914d\uff0c\u907f\u514d\u672a\u5b9a\u4e49\u7684\u884c\u4e3a\u3002\u4f8b\u5982\uff0c\u6b63\u786e\u4f7f\u7528\u683c\u5f0f\u5316\u8f93\u51fa\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-c\">#include &lt;stdio.h&gt;<\/p>\n<p>int main() {<\/p>\n<p>    int number = 10;<\/p>\n<p>    printf(&quot;Number is: %d\\n&quot;, number); \/\/ \u6b63\u786e\u7684\u683c\u5f0f\u5316\u8f93\u51fa<\/p>\n<p>    return 0;<\/p>\n<p>}<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><h3>\u4e09\u3001\u8f93\u51fa\u5b57\u7b26\u9650\u5236<\/h3>\n<\/p>\n<p><p>\u5728\u67d0\u4e9b\u60c5\u51b5\u4e0b\uff0c\u5982\u679c\u5c1d\u8bd5\u8f93\u51fa\u7684\u5b57\u7b26\u4e32\u957f\u5ea6\u8d85\u8fc7\u4e86\u7cfb\u7edf\u6216\u5e93\u51fd\u6570\u7684\u9650\u5236\uff0c\u90a3\u4e48\u6700\u540e\u7684\u8f93\u51fa\u5b57\u7b26\u53ef\u80fd\u4e5f\u4f1a\u4e22\u5931\u3002\u5c3d\u7ba1\u8fd9\u79cd\u60c5\u51b5\u8f83\u4e3a\u7f55\u89c1\uff0c\u4f46\u662f\u7406\u89e3\u548c\u8bc6\u522b\u8fd9\u4e00\u95ee\u9898\u7684\u6f5c\u5728\u5b58\u5728\u5bf9\u4e8e\u7f16\u7a0b\u6765\u8bf4\u4e5f\u662f\u5f88\u6709\u610f\u4e49\u7684\u3002<\/p>\n<\/p>\n<p><p>\u786e\u4fdd\u4e0d\u8d85\u8fc7\u4efb\u4f55\u9690\u5f0f\u7684\u8f93\u51fa\u957f\u5ea6\u9650\u5236\uff0c\u5206\u6bb5\u8f93\u51fa\u957f\u5b57\u7b26\u4e32\u5185\u5bb9\uff0c\u6216\u4f7f\u7528\u66f4\u4f4e\u7ea7\u7684\u7cfb\u7edf\u8c03\u7528\uff08\u5982write()\u51fd\u6570\uff09\u6765\u907f\u514d\u8fd9\u79cd\u9650\u5236\uff0c\u53ef\u4ee5\u4f5c\u4e3a\u4e00\u79cd\u89e3\u51b3\u7b56\u7565\u3002<\/p>\n<\/p>\n<p><h3>\u56db\u3001\u7a0b\u5e8f\u5f02\u5e38\u7ec8\u6b62<\/h3>\n<\/p>\n<p><p>\u5982\u679c\u7a0b\u5e8f\u56e0\u4e3a\u67d0\u4e9b\u539f\u56e0\u5f02\u5e38\u7ec8\u6b62\uff0c\u6bd4\u5982\u9047\u5230\u672a\u5904\u7406\u7684\u5f02\u5e38\u6216\u9519\u8bef\uff0c\u5bfc\u81f4\u7a0b\u5e8f\u7684\u6267\u884c\u6d41\u7a0b\u88ab\u7a81\u7136\u4e2d\u65ad\uff0cprintf\u51fd\u6570\u7684\u8f93\u51fa\u53ef\u80fd\u4e5f\u4f1a\u56e0\u6b64\u800c\u4e22\u5931\u3002\u786e\u4fdd\u7a0b\u5e8f\u7684\u7a33\u5065\u6027\u548c\u9519\u8bef\u5904\u7406\u673a\u5236\u7684\u6b63\u786e\u5b9e\u73b0\uff0c\u662f\u9884\u9632\u8fd9\u7c7b\u95ee\u9898\u7684\u6709\u6548\u624b\u6bb5\u3002<\/p>\n<\/p>\n<p><p>\u7efc\u4e0a\u6240\u8ff0\uff0cprintf\u8bed\u53e5\u8f93\u51fa\u6700\u540e\u4e00\u4e2a\u5b57\u7b26\u4e0d\u663e\u793a\u7684\u95ee\u9898\uff0c\u53ef\u80fd\u6e90\u4e8e\u591a\u4e2a\u65b9\u9762\u3002\u7406\u89e3\u8fd9\u4e9b\u5e38\u89c1\u7684\u539f\u56e0\u53ca\u5176\u80cc\u540e\u7684\u5de5\u4f5c\u539f\u7406\uff0c\u6709\u52a9\u4e8e\u5f00\u53d1\u8005\u6709\u6548\u5730\u8bca\u65ad\u548c\u89e3\u51b3\u8f93\u51fa\u95ee\u9898\u3002\u5728\u7f16\u7a0b\u5b9e\u8df5\u4e2d\uff0c\u5e94\u5f53\u517b\u6210\u826f\u597d\u7684\u7f16\u7a0b\u4e60\u60ef\uff0c\u5305\u62ec\u4f46\u4e0d\u9650\u4e8e\u9002\u65f6\u5730\u5237\u65b0\u8f93\u51fa\u7f13\u51b2\u533a\u3001\u6b63\u786e\u5730\u4f7f\u7528\u683c\u5f0f\u5316\u8f93\u51fa\u3001\u6ce8\u610f\u8f93\u51fa\u957f\u5ea6\u9650\u5236\u4ee5\u53ca\u4fdd\u8bc1\u7a0b\u5e8f\u7684\u7a33\u5065\u6027\u548c\u5065\u58ee\u6027\u3002<\/p>\n<\/p>\n<h2><strong>\u76f8\u5173\u95ee\u7b54FAQs\uff1a<\/strong><\/h2>\n<p><strong>1. \u4e3a\u4ec0\u4e48C\u8bed\u8a00\u7684printf\u8bed\u53e5\u6709\u65f6\u5019\u8f93\u51fa\u7684\u662f\u6700\u540e\u4e00\u4e2a\u5b57\u7b26\uff1f<\/strong><\/p>\n<p>\u5728C\u8bed\u8a00\u4e2d\uff0cprintf\u51fd\u6570\u662f\u7528\u6765\u5c06\u5b57\u7b26\u4e32\u6216\u5176\u4ed6\u6570\u636e\u8f93\u51fa\u5230\u5c4f\u5e55\u4e0a\u3002\u5f53\u4f7f\u7528printf\u8f93\u51fa\u5b57\u7b26\u4e32\u65f6\uff0c\u5b83\u4f1a\u4ece\u5b57\u7b26\u4e32\u7684\u5f00\u5934\u9010\u4e2a\u5b57\u7b26\u5730\u8f93\u51fa\uff0c\u76f4\u5230\u9047\u5230\u5b57\u7b26\u4e32\u7684\u7ed3\u675f\u7b26\u53f7&#039;\\0&#039;\u4e3a\u6b62\u3002\u6240\u4ee5\uff0c\u5982\u679c\u6700\u540e\u4e00\u4e2a\u5b57\u7b26\u4e4b\u540e\u6ca1\u6709&#039;\\0&#039;\u7ed3\u675f\u7b26\uff0c\u90a3\u4e48printf\u51fd\u6570\u4f1a\u4e00\u76f4\u8f93\u51fa\u5b57\u7b26\uff0c\u76f4\u5230\u9047\u5230\u5185\u5b58\u4e2d\u7684\u67d0\u4e2a\u7ed3\u675f\u7b26\u4e3a\u6b62\uff0c\u8fd9\u53ef\u80fd\u5bfc\u81f4\u8f93\u51fa\u7684\u662f\u6700\u540e\u4e00\u4e2a\u5b57\u7b26\u3002<\/p>\n<p><strong>2. \u5982\u4f55\u907f\u514dC\u8bed\u8a00printf\u8bed\u53e5\u8f93\u51fa\u6700\u540e\u4e00\u4e2a\u5b57\u7b26\uff1f<\/strong><\/p>\n<p>\u8981\u907f\u514dC\u8bed\u8a00printf\u8bed\u53e5\u8f93\u51fa\u6700\u540e\u4e00\u4e2a\u5b57\u7b26\u7684\u95ee\u9898\uff0c\u4f60\u53ef\u4ee5\u91c7\u53d6\u4ee5\u4e0b\u63aa\u65bd\uff1a<\/p>\n<ul>\n<li>\u786e\u4fdd\u8f93\u51fa\u7684\u5b57\u7b26\u4e32\u6700\u540e\u4e00\u4e2a\u5b57\u7b26\u4e4b\u540e\u6709\u6b63\u786e\u7684&#039;\\0&#039;\u7ed3\u675f\u7b26\uff0c\u8fd9\u6837printf\u51fd\u6570\u5c31\u4f1a\u6309\u7167\u9884\u671f\u8f93\u51fa\u5b57\u7b26\u4e32\u3002<\/li>\n<li>\u5728\u8f93\u51fa\u5b57\u7b26\u4e32\u4e4b\u524d\uff0c\u5148\u5bf9\u5b57\u7b26\u4e32\u8fdb\u884c\u5904\u7406\uff0c\u786e\u4fdd\u6700\u540e\u4e00\u4e2a\u5b57\u7b26\u540e\u9762\u6ca1\u6709\u5176\u4ed6\u5b57\u7b26\u3002\u8fd9\u53ef\u4ee5\u901a\u8fc7\u4f7f\u7528\u5b57\u7b26\u4e32\u5904\u7406\u51fd\u6570\u5982strlen\u3001strncpy\u7b49\u6765\u5b9e\u73b0\u3002<\/li>\n<li>\u5982\u679c\u4f60\u4e0d\u80fd\u66f4\u6539\u5b57\u7b26\u4e32\u672c\u8eab\uff0c\u53ef\u4ee5\u521b\u5efa\u4e00\u4e2a\u4e34\u65f6\u7684\u5b57\u7b26\u6570\u7ec4\uff0c\u5c06\u539f\u59cb\u5b57\u7b26\u4e32\u590d\u5236\u5230\u5176\u4e2d\uff0c\u7136\u540e\u5728\u6700\u540e\u4e00\u4e2a\u5b57\u7b26\u4e4b\u540e\u6dfb\u52a0\u4e00\u4e2a&#039;\\0&#039;\u5b57\u7b26\uff0c\u518d\u5c06\u4e34\u65f6\u6570\u7ec4\u4f20\u9012\u7ed9printf\u51fd\u6570\u8fdb\u884c\u8f93\u51fa\u3002<\/li>\n<\/ul>\n<p><strong>3. C\u8bed\u8a00printf\u8bed\u53e5\u8f93\u51fa\u6700\u540e\u4e00\u4e2a\u5b57\u7b26\u6709\u4ec0\u4e48\u6f5c\u5728\u7684\u95ee\u9898\uff1f<\/strong><\/p>\n<p>\u5f53C\u8bed\u8a00\u7684printf\u51fd\u6570\u8f93\u51fa\u6700\u540e\u4e00\u4e2a\u5b57\u7b26\u65f6\uff0c\u53ef\u80fd\u4f1a\u5f15\u53d1\u4e00\u4e9b\u6f5c\u5728\u7684\u95ee\u9898\uff1a<\/p>\n<ul>\n<li>\u8f93\u51fa\u7684\u7ed3\u679c\u53ef\u80fd\u4e0d\u7b26\u5408\u9884\u671f\uff0c\u56e0\u4e3a\u6700\u540e\u4e00\u4e2a\u5b57\u7b26\u540e\u9762\u7684\u5b57\u7b26\u4e5f\u4f1a\u88ab\u8f93\u51fa\u3002<\/li>\n<li>\u8f93\u51fa\u7684\u5b57\u7b26\u53ef\u80fd\u4f1a\u8d85\u51fa\u9884\u671f\u7684\u8303\u56f4\uff0c\u5bfc\u81f4\u5185\u5b58\u9519\u8bef\u6216\u5bfc\u81f4\u7a0b\u5e8f\u5d29\u6e83\u3002<\/li>\n<li>\u5982\u679c\u6700\u540e\u4e00\u4e2a\u5b57\u7b26\u540e\u9762\u6ca1\u6709&#039;\\0&#039;\u7ed3\u675f\u7b26\uff0cprintf\u51fd\u6570\u4f1a\u4e00\u76f4\u8f93\u51fa\u5b57\u7b26\uff0c\u76f4\u5230\u9047\u5230\u5185\u5b58\u4e2d\u7684\u67d0\u4e2a\u7ed3\u675f\u7b26\u4e3a\u6b62\uff0c\u8fd9\u53ef\u80fd\u5bfc\u81f4\u65e0\u9650\u5faa\u73af\u6216\u65e0\u9650\u8f93\u51fa\u3002<\/li>\n<li>\u6700\u540e\u4e00\u4e2a\u5b57\u7b26\u540e\u9762\u53ef\u80fd\u5305\u542b\u654f\u611f\u4fe1\u606f\u6216\u8005\u4e0d\u53ef\u89c1\u7684\u5b57\u7b26\uff0c\u5982\u679c\u88ab\u9519\u8bef\u5730\u8f93\u51fa\uff0c\u53ef\u80fd\u4f1a\u5bfc\u81f4\u4fe1\u606f\u6cc4\u9732\u6216\u8005\u8f93\u51fa\u7684\u7ed3\u679c\u53d8\u5f97\u96be\u4ee5\u9605\u8bfb\u3002\u56e0\u6b64\uff0c\u6211\u4eec\u5e94\u8be5\u59cb\u7ec8\u786e\u4fdd\u8f93\u51fa\u7684\u5b57\u7b26\u4e32\u4ee5\u6b63\u786e\u7684\u65b9\u5f0f\u88ab\u7ec8\u6b62\u3002<\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"C\u8bed\u8a00\u4e2d\u7684printf\u8bed\u53e5\u662f\u7528\u6765\u8fdb\u884c\u8f93\u51fa\u7684\u4e00\u4e2a\u91cd\u8981\u5de5\u5177\uff0c\u5176\u8f93\u51fa\u7684\u6700\u540e\u4e00\u4e2a\u5b57\u7b26\u6709\u65f6\u5019\u5374\u6210\u4e3a\u4e86\u7a0b\u5e8f\u5458\u4eec\u7ecf\u5e38\u9047\u5230\u7684\u4e00 [&hellip;]","protected":false},"author":3,"featured_media":302942,"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\/302918"}],"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=302918"}],"version-history":[{"count":0,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/302918\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media\/302942"}],"wp:attachment":[{"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media?parent=302918"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/categories?post=302918"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/tags?post=302918"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}