{"id":13313,"date":"2025-04-18T20:18:06","date_gmt":"2025-04-18T12:18:06","guid":{"rendered":"https:\/\/www.wsisp.com\/helps\/13313.html"},"modified":"2025-04-18T20:18:06","modified_gmt":"2025-04-18T12:18:06","slug":"%e7%94%b5%e8%84%91%e5%85%b3%e6%9c%ba%e7%9a%84%e8%b6%a3%e5%91%b3%e5%b0%8f%e6%b8%b8%e6%88%8f-system%e5%87%bd%e6%95%b0%e3%80%81strcmp%e5%87%bd%e6%95%b0%e3%80%81goto%e8%af%ad%e5%8f%a5","status":"publish","type":"post","link":"https:\/\/www.wsisp.com\/helps\/13313.html","title":{"rendered":"\u7535\u8111\u5173\u673a\u7684\u8da3\u5473\u5c0f\u6e38\u620f\u2014\u2014system\u51fd\u6570\u3001strcmp\u51fd\u6570\u3001goto\u8bed\u53e5\u7684\u4f7f\u7528"},"content":{"rendered":"<p><img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250418121801-680242f9e447e.png\" alt=\"1\" \/> <\/p>\n<h4>\u6587\u7ae0\u76ee\u5f55<\/h4>\n<ul>\n<li>\u524d\u8a00<\/li>\n<li>\u4e00. system\u51fd\u6570<\/li>\n<li>\n<ul>\n<li>\n<ul>\n<li>1.1 system\u51fd\u6570\u6e05\u7406\u5c4f\u5e55<\/li>\n<li>1.2 system\u51fd\u6570\u6682\u505c\u8fd0\u884c<\/li>\n<li>1.3 system\u51fd\u6570\u7535\u8111\u5173\u673a\u3001\u91cd\u542f<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<\/li>\n<li>\u4e8c\u3001strcmp\u51fd\u6570<\/li>\n<li>\u4e09\u3001goto\u8bed\u53e5<\/li>\n<li>\u56db\u3001\u7535\u8111\u5173\u673a\u5c0f\u6e38\u620f<\/li>\n<li>\n<ul>\n<li>\n<ul>\n<li>4.1. \u7a0b\u5e8f\u8981\u6c42<\/li>\n<li>4.2. \u6e38\u620f\u4ee3\u7801<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<\/li>\n<li>\u603b\u7ed3<\/li>\n<\/ul>\n<hr \/>\n<h2>\u524d\u8a00<\/h2>\n<p>\u4eca\u5929\u6211\u4eec\u5199\u4e00\u70b9\u7a0d\u5fae\u6709\u8da3\u7684\u4ee3\u7801&#xff0c;\u6bd4\u5982\u5199\u4e00\u4e2a\u5c0f\u7a0b\u5e8f\u4f7f\u7535\u8111\u5173\u673a&#xff0c;\u4ee3\u7801\u6bd4\u8f83\u7b80\u5355\u597d\u7406\u89e3&#xff0c;\u6211\u4eec\u7684\u91cd\u70b9\u5728\u4e8e\u5b66\u4e60system\u51fd\u6570\u3001strcmp\u51fd\u6570\u3001goto\u8bed\u53e5\u7684\u4f7f\u7528\u3002<\/p>\n<hr \/>\n<h2>\u4e00. system\u51fd\u6570<\/h2>\n<p>system\u51fd\u6570\u53ef\u4ee5\u7b80\u5355\u7406\u89e3\u4e3a\u5bf9\u8ba1\u7b97\u673a\u7cfb\u7edf\u8fdb\u884c\u64cd\u4f5c\u7684\u51fd\u6570&#xff0c;\u4f7f\u7528system\u51fd\u6570\u8981\u5305\u542b\u5934\u6587\u4ef6 #include &lt;stdlib.h&gt;\u3002\u51fd\u6570\u539f\u578b&#xff1a;<\/p>\n<p><span class=\"token keyword\">int<\/span> <span class=\"token function\">system<\/span><span class=\"token punctuation\">(<\/span><span class=\"token keyword\">const<\/span> <span class=\"token keyword\">char<\/span> <span class=\"token operator\">*<\/span> command<span class=\"token punctuation\">)<\/span><span class=\"token comment\">\/\/\u53c2\u6570\u5b57\u7b26\u4e32command\u4e3a\u547d\u4ee4\u540d\u3002<\/span><\/p>\n<hr \/>\n<p>system()\u51fd\u6570\u5982\u4f55\u4f7f\u7528\u5462&#xff1f;\u8fd9\u91cc\u4e3e\u51e0\u4e2a\u4f8b\u5b50\u3002<\/p>\n<h4>1.1 system\u51fd\u6570\u6e05\u7406\u5c4f\u5e55<\/h4>\n<p><span class=\"token function\">system<\/span><span class=\"token punctuation\">(<\/span><span class=\"token string\">&#034;cls&#034;<\/span><span class=\"token punctuation\">)<\/span><span class=\"token punctuation\">;<\/span><\/p>\n<p>\u672a\u6e05\u9664\u524d&#xff1a; <img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250418121802-680242fa0e109.png\" alt=\"\u6e05\u9664\u5c4f\u5e55\" \/><\/p>\n<p>\u6e05\u9664\u540e&#xff0c;\u53ef\u4ee5\u770b\u89c1\u4e4b\u524d\u7684\u6570\u5b57\u90fd\u88ab\u6e05\u9664\u91cd\u65b0\u6253\u5370\u4e86&#xff1a; <img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250418121802-680242fa648ff.png\" alt=\"\u6e05\u9664\u5c4f\u5e55\" \/><\/p>\n<hr \/>\n<h4>1.2 system\u51fd\u6570\u6682\u505c\u8fd0\u884c<\/h4>\n<p><span class=\"token function\">system<\/span><span class=\"token punctuation\">(<\/span><span class=\"token string\">&#034;pause&#034;<\/span><span class=\"token punctuation\">)<\/span><span class=\"token punctuation\">;<\/span><\/p>\n<p>\u4ee3\u7801\u5982\u4e0b&#xff0c;\u53ef\u4ee5\u770b\u5230\u8fd0\u884c\u88ab\u6682\u505c\u4e86&#xff0c;\u6309\u4efb\u610f\u952e\u7a0b\u5e8f\u624d\u4f1a\u7ee7\u7eed\u3002 <img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250418121802-680242fac8057.png\" alt=\"1\" \/><\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250418121803-680242fb2bfe3.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/><\/p>\n<hr \/>\n<h4>1.3 system\u51fd\u6570\u7535\u8111\u5173\u673a\u3001\u91cd\u542f<\/h4>\n<p>1.3.1 \u7535\u8111\u5173\u673a\u548c\u5ef6\u65f6\u5173\u673a<\/p>\n<p><span class=\"token function\">system<\/span><span class=\"token punctuation\">(<\/span><span class=\"token string\">&#034;shutdown -s -t 60&#034;<\/span><span class=\"token punctuation\">)<\/span><span class=\"token punctuation\">;<\/span><\/p>\n<p>-s \u5173\u95ed\u8ba1\u7b97\u673a -t \u8bbe\u7f6e\u65f6\u95f4\u53c2\u6570 60 \u8bbe\u7f6e\u7684\u79d2\u6570 \u5982\u679c\u5220\u9664\u540e\u4e24\u9879&#xff0c;\u5219\u8fd0\u884c\u4e4b\u540e\u7535\u8111\u9a6c\u4e0a\u5173\u673a<\/p>\n<hr \/>\n<p>1.3.2 \u53d6\u6d88\u7535\u8111\u5173\u673a<\/p>\n<p><span class=\"token function\">system<\/span><span class=\"token punctuation\">(<\/span><span class=\"token string\">&#034;shutdown -a&#034;<\/span><span class=\"token punctuation\">)<\/span><span class=\"token punctuation\">;<\/span><\/p>\n<p>-a \u53d6\u6d88\u5173\u673a<\/p>\n<hr \/>\n<p>1.3.3 \u7535\u8111\u91cd\u542f\u548c\u5ef6\u65f6\u91cd\u542f<\/p>\n<p><span class=\"token function\">system<\/span><span class=\"token punctuation\">(<\/span><span class=\"token string\">&#034;shutdown -r -t 60&#034;<\/span><span class=\"token punctuation\">)<\/span><span class=\"token punctuation\">;<\/span><\/p>\n<p>\/r \u91cd\u542f\u7535\u8111 -t \u8bbe\u7f6e\u65f6\u95f4\u53c2\u6570 60 \u8bbe\u7f6e\u7684\u79d2\u6570 \u5982\u679c\u5220\u9664\u540e\u4e24\u9879&#xff0c;\u5219\u8fd0\u884c\u4e4b\u540e\u7535\u8111\u9a6c\u4e0a\u91cd\u542f<\/p>\n<hr \/>\n<h2>\u4e8c\u3001strcmp\u51fd\u6570<\/h2>\n<p>strcmp\u51fd\u6570\u7528\u6765\u6bd4\u8f83\u4e24\u4e2a\u5b57\u7b26\u4e32\u7684\u5927\u5c0f&#xff0c;\u4f7f\u7528strcmp\u51fd\u6570\u8981\u5305\u542b\u5934\u6587\u4ef6 #include &lt;string.h&gt; \u51fd\u6570\u539f\u578b&#xff1a;<\/p>\n<p><span class=\"token keyword\">int<\/span> <span class=\"token function\">strcmp<\/span><span class=\"token punctuation\">(<\/span> <span class=\"token keyword\">const<\/span> <span class=\"token keyword\">char<\/span> <span class=\"token operator\">*<\/span>string1<span class=\"token punctuation\">,<\/span> <span class=\"token keyword\">const<\/span> <span class=\"token keyword\">char<\/span> <span class=\"token operator\">*<\/span>string2 <span class=\"token punctuation\">)<\/span><span class=\"token punctuation\">;<\/span><\/p>\n<p>strcmp\u51fd\u4e3a\u5b57\u7b26\u4e32\u6bd4\u8f83\u51fd\u6570&#xff0c;\u8fd4\u56de\u4e00\u4e2a\u6574\u6570\u503c \u7b2c\u4e00\u4e2a\u5b57\u7b26\u4e32 \u5927\u4e8e \u7b2c\u4e8c\u4e2a\u5b57\u7b26\u4e32&#xff0c;\u5219\u8fd4\u56de \u5927\u4e8e0 \u7684\u6570\u5b57 \u7b2c\u4e00\u4e2a\u5b57\u7b26\u4e32 \u7b49\u4e8e \u7b2c\u4e8c\u4e2a\u5b57\u7b26\u4e32&#xff0c;\u5219\u8fd4\u56de 0 \u7b2c\u4e00\u4e2a\u5b57\u7b26\u4e32 \u5c0f\u4e8e \u7b2c\u4e8c\u4e2a\u5b57\u7b26\u4e32&#xff0c;\u5219\u8fd4\u56de \u5c0f\u4e8e0 \u7684\u6570\u5b57<\/p>\n<p>\u4e00\u822c\u5927\u5bb6\u90fd\u4f1a\u5bf9strcmp\u51fd\u6570\u4ea7\u751f\u8bef\u89e3&#xff0c;\u4ee5\u4e3astrcmp\u662f\u6bd4\u8f83\u4e24\u4e2a\u5b57\u7b26\u4e32\u7684\u957f\u5ea6&#xff0c;\u5176\u5b9e\u4e0d\u662f\u7684\u3002strcmp\u662f\u6bd4\u8f83\u5b57\u7b26\u4e32\u4e2d\u5bf9\u5e94\u4f4d\u7f6e\u4e0a\u7684\u5b57\u7b26\u5927\u5c0f&#xff08;ASCII \u7801\u503c\u5927\u5c0f&#xff09; <img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250418121803-680242fb88940.png\" alt=\"1\" \/><\/p>\n<hr \/>\n<h2>\u4e09\u3001goto\u8bed\u53e5<\/h2>\n<p>goto\u8bed\u53e5\u53ef\u4ee5\u5b9e\u73b0\u5728\u540c\u2f00\u4e2a\u51fd\u6570\u5185\u8df3\u8f6c\u5230\u8bbe\u7f6e\u597d\u7684\u6807\u53f7\u5904&#xff0c;\u4f8b\u5982\u4e0b\u56fe\u4ee3\u7801goto\u8bed\u53e5\u6267\u884c\u540e\u8df3\u8f6c\u5230next\u6240\u5728\u884c\u4e86\u3002 <img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250418121804-680242fc9bac7.png\" alt=\"2\" \/><\/p>\n<p>goto\u8bed\u53e5\u5982\u679c\u4f7f\u2f64\u7684\u4e0d\u5f53&#xff0c;\u5c31\u4f1a\u5bfc\u81f4\u5728\u51fd\u6570\u5185\u90e8\u968f\u610f\u4e71\u8df3\u8f6c&#xff0c;\u6253\u4e71\u7a0b\u5e8f\u7684\u6267\u2f8f\u6d41\u7a0b&#xff0c;\u6240\u4ee5\u5efa\u8bae\u5c3d\u91cf\u4e0d\u4f7f\u2f64&#xff1b;\u4f46\u662f goto \u8bed\u53e5\u4e5f\u4e0d\u662f\u2f00\u2f46\u662f\u5904&#xff0c;\u5728\u5feb\u901f\u8df3\u51fa\u591a\u5c42\u5faa\u73af\u65f6&#xff0c;\u4f7f\u2f64 goto \u5c31\u2fae\u5e38\u7684\u2f45\u4fbf&#xff0c;\u4f8b\u5982\u5982\u4e0b\u4f2a\u4ee3\u7801&#xff1a;<\/p>\n<p><span class=\"token keyword\">for<\/span> <span class=\"token punctuation\">(<\/span><span class=\"token punctuation\">.<\/span><span class=\"token punctuation\">.<\/span><span class=\"token punctuation\">.<\/span><span class=\"token punctuation\">)<\/span><br \/>\n<span class=\"token punctuation\">{<\/span><br \/>\n<span class=\"token keyword\">for<\/span> <span class=\"token punctuation\">(<\/span><span class=\"token punctuation\">.<\/span><span class=\"token punctuation\">.<\/span><span class=\"token punctuation\">.<\/span><span class=\"token punctuation\">)<\/span><br \/>\n<span class=\"token punctuation\">{<\/span><br \/>\n<span class=\"token keyword\">for<\/span> <span class=\"token punctuation\">(<\/span><span class=\"token punctuation\">.<\/span><span class=\"token punctuation\">.<\/span><span class=\"token punctuation\">.<\/span><span class=\"token punctuation\">)<\/span><br \/>\n<span class=\"token punctuation\">{<\/span><br \/>\n<span class=\"token keyword\">if<\/span> <span class=\"token punctuation\">(<\/span>disaster<span class=\"token punctuation\">)<\/span><br \/>\n<span class=\"token keyword\">goto<\/span> error<span class=\"token punctuation\">;<\/span><br \/>\n<span class=\"token punctuation\">}<\/span><br \/>\n<span class=\"token punctuation\">}<\/span><br \/>\n<span class=\"token punctuation\">}<\/span><br \/>\nerror<span class=\"token operator\">:<\/span><br \/>\n<span class=\"token punctuation\">.<\/span><span class=\"token punctuation\">.<\/span><span class=\"token punctuation\">.<\/span><\/p>\n<p>\u5173\u4e8egoto\u8bed\u53e5&#xff1a; 1.\u4e0d\u5efa\u8bae\u4f7f\u7528 2.\u5728\u4e00\u4e2a\u51fd\u6570\u5185\u90e8\u4f7f\u7528 3.\u9002\u7528\u4e8e\u591a\u5c42\u5faa\u73af\u8df3\u51fa\u7684\u573a\u666f 4.\u4e0d\u4f7f\u7528goto\u8bed\u53e5&#xff0c;\u4e5f\u80fd\u5b8c\u6210\u6548\u679c<\/p>\n<hr \/>\n<p>\u5b66\u4e60\u4e86\u4e0a\u8ff0\u51fd\u6570\u548c\u8bed\u53e5&#xff0c;\u6211\u4eec\u5c31\u53ef\u4ee5\u5b9e\u73b0\u4e00\u4e2a\u7535\u8111\u5173\u673a\u7684\u5c0f\u6e38\u620f\u4e86~<\/p>\n<h2>\u56db\u3001\u7535\u8111\u5173\u673a\u5c0f\u6e38\u620f<\/h2>\n<h4>4.1. \u7a0b\u5e8f\u8981\u6c42<\/h4>\n<li>\u7a0b\u5e8f\u8fd0\u884c\u8d77\u6765&#xff0c;\u4f60\u7684\u7535\u8111\u57281\u5206\u949f\u5185\u5173\u673a<\/li>\n<li>\u4f46\u662f\u8f93\u5165&#xff1a;\u201c\u6211\u662f\u732a\u201d&#xff0c;\u5c31\u53d6\u6d88\u5173\u673a<\/li>\n<li>\u5982\u679c\u8f93\u5165\u9519\u8bef&#xff0c;\u5219\u57281\u5206\u949f\u5185\u53cd\u590d\u8f93\u5165&#xff0c;\u76f4\u81f3\u8f93\u5165\u6b63\u786e\u6216\u8005\u65f6\u95f4\u8017\u5c3d<\/li>\n<p>\u8fd9\u4e2a\u5c0f\u6e38\u620f\u4ee3\u7801\u5b9e\u73b0\u6bd4\u8f83\u7b80\u5355&#xff0c;\u54b1\u4eec\u91cd\u5728\u4e0a\u9762\u7684\u5b66\u4e60&#xff0c;\u76f4\u63a5\u4e0a\u4ee3\u7801\u4e5f\u80fd\u770b\u5f97\u61c2&#xff0c;\u89e3\u91ca\u5728\u4ee3\u7801\u6ce8\u91ca\u91cc\u3002<\/p>\n<h4>4.2. \u6e38\u620f\u4ee3\u7801<\/h4>\n<p><span class=\"token macro property\"><span class=\"token directive-hash\">#<\/span><span class=\"token directive keyword\">include<\/span> <span class=\"token string\">&lt;stdio.h&gt;<\/span><\/span><br \/>\n<span class=\"token macro property\"><span class=\"token directive-hash\">#<\/span><span class=\"token directive keyword\">include<\/span> <span class=\"token string\">&lt;stdlib.h&gt;<\/span><span class=\"token comment\">\/\/system\u5934\u6587\u4ef6<\/span><\/span><br \/>\n<span class=\"token macro property\"><span class=\"token directive-hash\">#<\/span><span class=\"token directive keyword\">include<\/span> <span class=\"token string\">&lt;string.h&gt;<\/span><span class=\"token comment\">\/\/strcmp\u5934\u6587\u4ef6<\/span><\/span><\/p>\n<p><span class=\"token keyword\">int<\/span> <span class=\"token function\">main<\/span><span class=\"token punctuation\">(<\/span><span class=\"token punctuation\">)<\/span><br \/>\n<span class=\"token punctuation\">{<\/span><br \/>\n<span class=\"token keyword\">char<\/span> input<span class=\"token punctuation\">[<\/span><span class=\"token number\">20<\/span><span class=\"token punctuation\">]<\/span> <span class=\"token operator\">&#061;<\/span> <span class=\"token punctuation\">{<\/span> <span class=\"token number\">0<\/span> <span class=\"token punctuation\">}<\/span><span class=\"token punctuation\">;<\/span><span class=\"token comment\">\/\/\u521d\u59cb\u5316\u5b57\u7b26\u4e32\u4e3a 0<\/span><br \/>\n<span class=\"token function\">system<\/span><span class=\"token punctuation\">(<\/span><span class=\"token string\">&#034;shutdown -s -t 60&#034;<\/span><span class=\"token punctuation\">)<\/span><span class=\"token punctuation\">;<\/span><span class=\"token comment\">\/\/\u7535\u81111\u5206\u949f\u5185\u5173\u673a<\/span><br \/>\nagain<span class=\"token operator\">:<\/span><br \/>\n<span class=\"token function\">printf<\/span><span class=\"token punctuation\">(<\/span><span class=\"token string\">&#034;\u60a8\u7684\u7535\u8111\u5c06\u5728\u4e00\u5206\u949f\u540e\u5173\u673a&#xff0c;\u8bf7\u8f93\u5165\u201c\u6211\u662f\u732a\u201d\u53d6\u6d88\u5173\u673a\u3002\\\\n&#034;<\/span><span class=\"token punctuation\">)<\/span><span class=\"token punctuation\">;<\/span><br \/>\n<span class=\"token function\">scanf<\/span><span class=\"token punctuation\">(<\/span><span class=\"token string\">&#034;%s&#034;<\/span><span class=\"token punctuation\">,<\/span> <span class=\"token operator\">&amp;<\/span>input<span class=\"token punctuation\">)<\/span><span class=\"token punctuation\">;<\/span><br \/>\n<span class=\"token keyword\">if<\/span> <span class=\"token punctuation\">(<\/span><span class=\"token function\">strcmp<\/span><span class=\"token punctuation\">(<\/span>input<span class=\"token punctuation\">,<\/span> <span class=\"token string\">&#034;\u6211\u662f\u732a&#034;<\/span><span class=\"token punctuation\">)<\/span> <span class=\"token operator\">&#061;&#061;<\/span> <span class=\"token number\">0<\/span><span class=\"token punctuation\">)<\/span><span class=\"token comment\">\/\/\u5b57\u7b26\u4e32\u7684\u6bd4\u8f83\u4e0d\u80fd\u7528&gt; &lt; &#061;&#061; &gt;&#061; &lt;&#061; !&#061;&#xff0c;\u8981\u4f7f\u7528strcmp\u51fd\u6570<\/span><br \/>\n<span class=\"token punctuation\">{<\/span><br \/>\n<span class=\"token function\">system<\/span><span class=\"token punctuation\">(<\/span><span class=\"token string\">&#034;shutdown -a&#034;<\/span><span class=\"token punctuation\">)<\/span><span class=\"token punctuation\">;<\/span><span class=\"token comment\">\/\/\u5982\u679c\u8f93\u5165\u201c\u6211\u662f\u732a\u201d\u5219\u53d6\u6d88\u5173\u673a<\/span><br \/>\n<span class=\"token function\">printf<\/span><span class=\"token punctuation\">(<\/span><span class=\"token string\">&#034;\u8fd8\u7b97\u914d\u5408&#xff0c;\u53d6\u6d88\u5173\u673a\u3002\\\\n&#034;<\/span><span class=\"token punctuation\">)<\/span><span class=\"token punctuation\">;<\/span><br \/>\n<span class=\"token punctuation\">}<\/span><br \/>\n<span class=\"token keyword\">else<\/span><br \/>\n<span class=\"token punctuation\">{<\/span><br \/>\n<span class=\"token keyword\">goto<\/span> again<span class=\"token punctuation\">;<\/span><span class=\"token comment\">\/\/\u5426\u5219\u8df3\u8f6c\u5230again\u884c&#xff0c;\u8fdb\u884c\u91cd\u65b0\u8f93\u5165<\/span><br \/>\n<span class=\"token punctuation\">}<\/span><br \/>\n<span class=\"token keyword\">return<\/span> <span class=\"token number\">0<\/span><span class=\"token punctuation\">;<\/span><br \/>\n<span class=\"token punctuation\">}<\/span><\/p>\n<p>\u7a0b\u5e8f\u8fd0\u884c&#xff0c;\u7535\u81111\u5206\u949f\u5185\u5173\u673a <img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250418121804-680242fcf0c07.png\" alt=\"1\" \/><\/p>\n<p>\u8f93\u5165\u9519\u8bef\u5219\u9700\u8981\u91cd\u65b0\u8f93\u5165 <img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250418121805-680242fd51ff5.png\" alt=\"1\" \/><\/p>\n<p>\u8f93\u5165\u6b63\u786e\u53d6\u6d88\u5173\u673a <img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250418121805-680242fd9791c.png\" alt=\"1\" \/><\/p>\n<p>\u5f53\u7136\u8fd9\u91cc\u4e0d\u4f7f\u7528 goto \u8bed\u53e5\u4e5f\u53ef\u4ee5\u5b8c\u6210\u4efb\u52a1<\/p>\n<p><span class=\"token macro property\"><span class=\"token directive-hash\">#<\/span><span class=\"token directive keyword\">include<\/span> <span class=\"token string\">&lt;stdio.h&gt;<\/span><\/span><br \/>\n<span class=\"token macro property\"><span class=\"token directive-hash\">#<\/span><span class=\"token directive keyword\">include<\/span> <span class=\"token string\">&lt;stdlib.h&gt;<\/span><span class=\"token comment\">\/\/system\u5934\u6587\u4ef6<\/span><\/span><br \/>\n<span class=\"token macro property\"><span class=\"token directive-hash\">#<\/span><span class=\"token directive keyword\">include<\/span> <span class=\"token string\">&lt;string.h&gt;<\/span><span class=\"token comment\">\/\/strcmp\u5934\u6587\u4ef6<\/span><\/span><\/p>\n<p><span class=\"token keyword\">int<\/span> <span class=\"token function\">main<\/span><span class=\"token punctuation\">(<\/span><span class=\"token punctuation\">)<\/span><br \/>\n<span class=\"token punctuation\">{<\/span><br \/>\n<span class=\"token keyword\">char<\/span> input<span class=\"token punctuation\">[<\/span><span class=\"token number\">20<\/span><span class=\"token punctuation\">]<\/span> <span class=\"token operator\">&#061;<\/span> <span class=\"token punctuation\">{<\/span> <span class=\"token number\">0<\/span> <span class=\"token punctuation\">}<\/span><span class=\"token punctuation\">;<\/span><br \/>\n<span class=\"token function\">system<\/span><span class=\"token punctuation\">(<\/span><span class=\"token string\">&#034;shutdown -s -t 60&#034;<\/span><span class=\"token punctuation\">)<\/span><span class=\"token punctuation\">;<\/span><\/p>\n<p><span class=\"token keyword\">while<\/span><span class=\"token punctuation\">(<\/span><span class=\"token number\">1<\/span><span class=\"token punctuation\">)<\/span><br \/>\n<span class=\"token punctuation\">{<\/span><br \/>\n<span class=\"token function\">printf<\/span><span class=\"token punctuation\">(<\/span><span class=\"token string\">&#034;\u60a8\u7684\u7535\u8111\u5c06\u5728\u4e00\u5206\u949f\u540e\u5173\u673a&#xff0c;\u8bf7\u8f93\u5165\u201c\u6211\u662f\u732a\u201d\u53d6\u6d88\u5173\u673a\u3002\\\\n&#034;<\/span><span class=\"token punctuation\">)<\/span><span class=\"token punctuation\">;<\/span><br \/>\n<span class=\"token function\">scanf<\/span><span class=\"token punctuation\">(<\/span><span class=\"token string\">&#034;%s&#034;<\/span><span class=\"token punctuation\">,<\/span> <span class=\"token operator\">&amp;<\/span>input<span class=\"token punctuation\">)<\/span><span class=\"token punctuation\">;<\/span><br \/>\n<span class=\"token keyword\">if<\/span> <span class=\"token punctuation\">(<\/span><span class=\"token function\">strcmp<\/span><span class=\"token punctuation\">(<\/span>input<span class=\"token punctuation\">,<\/span> <span class=\"token string\">&#034;\u6211\u662f\u732a&#034;<\/span><span class=\"token punctuation\">)<\/span> <span class=\"token operator\">&#061;&#061;<\/span> <span class=\"token number\">0<\/span><span class=\"token punctuation\">)<\/span><br \/>\n<span class=\"token punctuation\">{<\/span><br \/>\n<span class=\"token function\">system<\/span><span class=\"token punctuation\">(<\/span><span class=\"token string\">&#034;shutdown -a&#034;<\/span><span class=\"token punctuation\">)<\/span><span class=\"token punctuation\">;<\/span><br \/>\n<span class=\"token function\">printf<\/span><span class=\"token punctuation\">(<\/span><span class=\"token string\">&#034;\u8fd8\u7b97\u914d\u5408&#xff0c;\u53d6\u6d88\u5173\u673a\u3002\\\\n&#034;<\/span><span class=\"token punctuation\">)<\/span><span class=\"token punctuation\">;<\/span><br \/>\n<span class=\"token keyword\">break<\/span><span class=\"token punctuation\">;<\/span><br \/>\n<span class=\"token punctuation\">}<\/span><br \/>\n<span class=\"token punctuation\">}<\/span><br \/>\n<span class=\"token keyword\">return<\/span> <span class=\"token number\">0<\/span><span class=\"token punctuation\">;<\/span><br \/>\n<span class=\"token punctuation\">}<\/span><\/p>\n<hr \/>\n<h2>\u603b\u7ed3<\/h2>\n<p>\u4eca\u5929\u5b66\u4e60\u4e86\u7528\u4ee3\u7801\u5199\u4e00\u4e9b\u8da3\u5473\u5c0f\u6e38\u620f&#xff0c;\u8fd9\u7bc7\u6587\u7ae0\u662f\u7528system\u7b49\u51fd\u6570\u8bed\u53e5\u505a\u4e86\u4e00\u4e2a\u7535\u8111\u5173\u673a\u7684\u5c0f\u6e38\u620f&#xff0c;\u5927\u5bb6\u53ef\u4ee5\u53bb\u8bd5\u8bd5&#xff0c;\u6216\u8005\u6349\u5f04\u4e00\u4e0b\u670b\u53cb\u3002\u7a0b\u5e8f\u6bd4\u8f83\u7b80\u5355&#xff0c;\u4f46\u662f\u54b1\u4eec\u91cd\u5728\u5b66\u4e60\u77e5\u8bc6 ~ \u9884\u544a\u4e0b\u7bc7\u535a\u5ba2 \u2014\u2014 \u731c\u6570\u5b57\u7684\u8da3\u5473\u5c0f\u6e38\u620f\u2014\u2014rand\u51fd\u6570\u3001srand\u51fd\u6570\u3001time\u51fd\u6570\u7684\u4f7f\u7528 <img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250418121805-680242fdae9c5.png\" alt=\"\u671f\u5f85\" \/><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u6587\u7ae0\u6d4f\u89c8\u9605\u8bfb5.5k\u6b21\uff0c\u70b9\u8d5e105\u6b21\uff0c\u6536\u85cf117\u6b21\u3002\u4eca\u5929\u6211\u4eec\u5199\u4e00\u70b9\u7a0d\u5fae\u6709\u8da3\u7684\u4ee3\u7801\uff0c\u6bd4\u5982\u5199\u4e00\u4e2a\u5c0f\u7a0b\u5e8f\u4f7f\u7535\u8111\u5173\u673a\uff0c\u4ee3\u7801\u6bd4\u8f83\u7b80\u5355\u597d\u7406\u89e3\uff0c\u6211\u4eec\u7684\u91cd\u70b9\u5728\u4e8e\u5b66\u4e60system\u51fd\u6570strcmp\u51fd\u6570goto\u8bed\u53e5\u7684\u4f7f\u7528\u3002\u4eca\u5929\u5b66\u4e60\u4e86\u7528\u4ee3\u7801\u5199\u4e00\u4e9b\u8da3\u5473\u5c0f\u6e38\u620f\uff0c\u8fd9\u7bc7\u6587\u7ae0\u662f\u7528system\u7b49\u51fd\u6570\u8bed\u53e5\u505a\u4e86\u4e00\u4e2a\u7535\u8111\u5173\u673a\u7684\u5c0f\u6e38\u620f\uff0c\u5927\u5bb6\u53ef\u4ee5\u53bb\u8bd5\u8bd5\uff0c\u6216\u8005\u6349\u5f04\u4e00\u4e0b\u670b\u53cb\u3002\u7a0b\u5e8f\u6bd4\u8f83\u7b80\u5355\uff0c\u4f46\u662f\u54b1\u4eec\u91cd\u5728\u5b66\u4e60\u77e5\u8bc6 ~\u9884\u544a\u4e0b\u7bc7\u535a\u5ba2 \u2014\u2014 \u3010C\u8bed\u8a00\u3011\u731c\u6570\u5b57\u7684\u8da3\u5473\u5c0f\u6e38\u620f\u2014\u2014rand\u51fd\u6570\u3001srand\u51fd\u6570\u3001time\u51fd\u6570\u7684\u4f7f\u7528\u3002_c\u8bed\u8a00systempause\u4e0egoto\u8bed\u53e5\u8fde\u7528<\/p>\n","protected":false},"author":2,"featured_media":13302,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[174,43,791],"topic":[],"class_list":["post-13313","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-server","tag-c","tag-43","tag-791"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v20.3 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>\u7535\u8111\u5173\u673a\u7684\u8da3\u5473\u5c0f\u6e38\u620f\u2014\u2014system\u51fd\u6570\u3001strcmp\u51fd\u6570\u3001goto\u8bed\u53e5\u7684\u4f7f\u7528 - \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\/13313.html\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"\u7535\u8111\u5173\u673a\u7684\u8da3\u5473\u5c0f\u6e38\u620f\u2014\u2014system\u51fd\u6570\u3001strcmp\u51fd\u6570\u3001goto\u8bed\u53e5\u7684\u4f7f\u7528 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"og:description\" content=\"\u6587\u7ae0\u6d4f\u89c8\u9605\u8bfb5.5k\u6b21\uff0c\u70b9\u8d5e105\u6b21\uff0c\u6536\u85cf117\u6b21\u3002\u4eca\u5929\u6211\u4eec\u5199\u4e00\u70b9\u7a0d\u5fae\u6709\u8da3\u7684\u4ee3\u7801\uff0c\u6bd4\u5982\u5199\u4e00\u4e2a\u5c0f\u7a0b\u5e8f\u4f7f\u7535\u8111\u5173\u673a\uff0c\u4ee3\u7801\u6bd4\u8f83\u7b80\u5355\u597d\u7406\u89e3\uff0c\u6211\u4eec\u7684\u91cd\u70b9\u5728\u4e8e\u5b66\u4e60system\u51fd\u6570strcmp\u51fd\u6570goto\u8bed\u53e5\u7684\u4f7f\u7528\u3002\u4eca\u5929\u5b66\u4e60\u4e86\u7528\u4ee3\u7801\u5199\u4e00\u4e9b\u8da3\u5473\u5c0f\u6e38\u620f\uff0c\u8fd9\u7bc7\u6587\u7ae0\u662f\u7528system\u7b49\u51fd\u6570\u8bed\u53e5\u505a\u4e86\u4e00\u4e2a\u7535\u8111\u5173\u673a\u7684\u5c0f\u6e38\u620f\uff0c\u5927\u5bb6\u53ef\u4ee5\u53bb\u8bd5\u8bd5\uff0c\u6216\u8005\u6349\u5f04\u4e00\u4e0b\u670b\u53cb\u3002\u7a0b\u5e8f\u6bd4\u8f83\u7b80\u5355\uff0c\u4f46\u662f\u54b1\u4eec\u91cd\u5728\u5b66\u4e60\u77e5\u8bc6 ~\u9884\u544a\u4e0b\u7bc7\u535a\u5ba2 \u2014\u2014 \u3010C\u8bed\u8a00\u3011\u731c\u6570\u5b57\u7684\u8da3\u5473\u5c0f\u6e38\u620f\u2014\u2014rand\u51fd\u6570\u3001srand\u51fd\u6570\u3001time\u51fd\u6570\u7684\u4f7f\u7528\u3002_c\u8bed\u8a00systempause\u4e0egoto\u8bed\u53e5\u8fde\u7528\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.wsisp.com\/helps\/13313.html\" \/>\n<meta property=\"og:site_name\" content=\"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"article:published_time\" content=\"2025-04-18T12:18:06+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250418121801-680242f9e447e.png\" \/>\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=\"1 \u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/13313.html\",\"url\":\"https:\/\/www.wsisp.com\/helps\/13313.html\",\"name\":\"\u7535\u8111\u5173\u673a\u7684\u8da3\u5473\u5c0f\u6e38\u620f\u2014\u2014system\u51fd\u6570\u3001strcmp\u51fd\u6570\u3001goto\u8bed\u53e5\u7684\u4f7f\u7528 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"isPartOf\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\"},\"datePublished\":\"2025-04-18T12:18:06+00:00\",\"dateModified\":\"2025-04-18T12:18:06+00:00\",\"author\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/13313.html#breadcrumb\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.wsisp.com\/helps\/13313.html\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/13313.html#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"https:\/\/www.wsisp.com\/helps\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"\u7535\u8111\u5173\u673a\u7684\u8da3\u5473\u5c0f\u6e38\u620f\u2014\u2014system\u51fd\u6570\u3001strcmp\u51fd\u6570\u3001goto\u8bed\u53e5\u7684\u4f7f\u7528\"}]},{\"@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":"\u7535\u8111\u5173\u673a\u7684\u8da3\u5473\u5c0f\u6e38\u620f\u2014\u2014system\u51fd\u6570\u3001strcmp\u51fd\u6570\u3001goto\u8bed\u53e5\u7684\u4f7f\u7528 - \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\/13313.html","og_locale":"zh_CN","og_type":"article","og_title":"\u7535\u8111\u5173\u673a\u7684\u8da3\u5473\u5c0f\u6e38\u620f\u2014\u2014system\u51fd\u6570\u3001strcmp\u51fd\u6570\u3001goto\u8bed\u53e5\u7684\u4f7f\u7528 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","og_description":"\u6587\u7ae0\u6d4f\u89c8\u9605\u8bfb5.5k\u6b21\uff0c\u70b9\u8d5e105\u6b21\uff0c\u6536\u85cf117\u6b21\u3002\u4eca\u5929\u6211\u4eec\u5199\u4e00\u70b9\u7a0d\u5fae\u6709\u8da3\u7684\u4ee3\u7801\uff0c\u6bd4\u5982\u5199\u4e00\u4e2a\u5c0f\u7a0b\u5e8f\u4f7f\u7535\u8111\u5173\u673a\uff0c\u4ee3\u7801\u6bd4\u8f83\u7b80\u5355\u597d\u7406\u89e3\uff0c\u6211\u4eec\u7684\u91cd\u70b9\u5728\u4e8e\u5b66\u4e60system\u51fd\u6570strcmp\u51fd\u6570goto\u8bed\u53e5\u7684\u4f7f\u7528\u3002\u4eca\u5929\u5b66\u4e60\u4e86\u7528\u4ee3\u7801\u5199\u4e00\u4e9b\u8da3\u5473\u5c0f\u6e38\u620f\uff0c\u8fd9\u7bc7\u6587\u7ae0\u662f\u7528system\u7b49\u51fd\u6570\u8bed\u53e5\u505a\u4e86\u4e00\u4e2a\u7535\u8111\u5173\u673a\u7684\u5c0f\u6e38\u620f\uff0c\u5927\u5bb6\u53ef\u4ee5\u53bb\u8bd5\u8bd5\uff0c\u6216\u8005\u6349\u5f04\u4e00\u4e0b\u670b\u53cb\u3002\u7a0b\u5e8f\u6bd4\u8f83\u7b80\u5355\uff0c\u4f46\u662f\u54b1\u4eec\u91cd\u5728\u5b66\u4e60\u77e5\u8bc6 ~\u9884\u544a\u4e0b\u7bc7\u535a\u5ba2 \u2014\u2014 \u3010C\u8bed\u8a00\u3011\u731c\u6570\u5b57\u7684\u8da3\u5473\u5c0f\u6e38\u620f\u2014\u2014rand\u51fd\u6570\u3001srand\u51fd\u6570\u3001time\u51fd\u6570\u7684\u4f7f\u7528\u3002_c\u8bed\u8a00systempause\u4e0egoto\u8bed\u53e5\u8fde\u7528","og_url":"https:\/\/www.wsisp.com\/helps\/13313.html","og_site_name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","article_published_time":"2025-04-18T12:18:06+00:00","og_image":[{"url":"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250418121801-680242f9e447e.png"}],"author":"admin","twitter_card":"summary_large_image","twitter_misc":{"\u4f5c\u8005":"admin","\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4":"1 \u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.wsisp.com\/helps\/13313.html","url":"https:\/\/www.wsisp.com\/helps\/13313.html","name":"\u7535\u8111\u5173\u673a\u7684\u8da3\u5473\u5c0f\u6e38\u620f\u2014\u2014system\u51fd\u6570\u3001strcmp\u51fd\u6570\u3001goto\u8bed\u53e5\u7684\u4f7f\u7528 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","isPartOf":{"@id":"https:\/\/www.wsisp.com\/helps\/#website"},"datePublished":"2025-04-18T12:18:06+00:00","dateModified":"2025-04-18T12:18:06+00:00","author":{"@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41"},"breadcrumb":{"@id":"https:\/\/www.wsisp.com\/helps\/13313.html#breadcrumb"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.wsisp.com\/helps\/13313.html"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.wsisp.com\/helps\/13313.html#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"https:\/\/www.wsisp.com\/helps"},{"@type":"ListItem","position":2,"name":"\u7535\u8111\u5173\u673a\u7684\u8da3\u5473\u5c0f\u6e38\u620f\u2014\u2014system\u51fd\u6570\u3001strcmp\u51fd\u6570\u3001goto\u8bed\u53e5\u7684\u4f7f\u7528"}]},{"@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\/13313","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=13313"}],"version-history":[{"count":0,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/13313\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media\/13302"}],"wp:attachment":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media?parent=13313"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/categories?post=13313"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/tags?post=13313"},{"taxonomy":"topic","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/topic?post=13313"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}