{"id":47778,"date":"2025-07-30T09:17:34","date_gmt":"2025-07-30T01:17:34","guid":{"rendered":"https:\/\/www.wsisp.com\/helps\/47778.html"},"modified":"2025-07-30T09:17:34","modified_gmt":"2025-07-30T01:17:34","slug":"c%e8%af%ad%e8%a8%80%ef%bc%9a%e6%8c%87%e9%92%88%e9%83%a8%e5%88%86","status":"publish","type":"post","link":"https:\/\/www.wsisp.com\/helps\/47778.html","title":{"rendered":"C\u8bed\u8a00\uff1a\u6307\u9488\u90e8\u5206"},"content":{"rendered":"<h2>\u7b14\u8bb0\u662f\u62ff\u6765\u5199\u7ed9\u81ea\u5df1\u770b\u7684&#xff0c;\u6574\u7406\u7b14\u8bb0\u9700\u8981\u8017\u8d39\u5927\u91cf\u7684\u65f6\u95f4&#xff0c;\u9700\u8981\u6301\u4e4b\u4ee5\u6052\u7684\u4e0d\u65ad\u6253\u5361&#xff0c;\u800c\u4e0d\u662f\u62ff\u6765\u5b8c\u6210\u4efb\u52a1\u7684&#xff0c;\u6211\u5728\u4e0d\u66f4\u65b0\u7b14\u8bb0\u7684\u65f6\u5019\u5927\u6982\u7387\u5c31\u662f\u5728\u624b\u6572\u4ee3\u7801\u5de9\u56fa\u4e0d\u719f\u7ec3\u7684\u4ee3\u7801&#xff0c;\u5982\u679c\u6211\u7684\u7b14\u8bb0\u80fd\u591f\u5e2e\u5230\u4f60\u6211\u4e5f\u5341\u5206\u8363\u5e78&#xff01;\u52a0\u6cb9&#xff01;\u5171\u52c9&#xff01;<\/h2>\n<h2>\u6307\u9488\u662f\u4e00\u79cd\u88c5\u5730\u5740\u7684\u6570\u636e\u7c7b\u578b<\/h2>\n<h2>\u6307\u9488\u5206\u4e3a\u6574\u578b\u6307\u9488&#xff0c;\u5b57\u7b26\u578b\u6307\u9488&#xff0c;\u6570\u7ec4\u578b\u6307\u9488&#xff0c;\u6307\u9488\u7684\u6307\u9488\u7b49<\/h2>\n<h2>\u6307\u9488\u7684\u6982\u5ff5&#xff1a;<\/h2>\n<p><img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/07\/20250730011729-688972a9293e9.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/><br \/>\n<img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/07\/20250730011729-688972a98c1b0.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/><\/p>\n<h3>\u5bf9\u4e8e64\u4f4d\u7684\u7cfb\u7edf\u4efb\u4f55\u7c7b\u578b\u7684\u6307\u9488\u5927\u5c0f\u90fd\u4e3a8\u5b57\u8282&#xff0c;\u5bf9\u4e8e32\u4f4d\u7684\u7cfb\u7edf\u4efb\u4f55\u7c7b\u578b\u7684\u6307\u9488\u5927\u5c0f\u90fd\u4e3a4\u5b57\u8282\u3002<\/h3>\n<p><img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/07\/20250730011730-688972aa1d4c8.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/><br \/>\n<img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/07\/20250730011730-688972aa5ff30.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/><\/p>\n<h3>\u6307\u9488\u4fdd\u5b58\u53d8\u91cf\u9996\u5b57\u8282\u7684\u5730\u5740\u503c&#xff0c;p\u8868\u793a\u7684\u5c31\u662fi\u672c\u8eab\u3002\u901a\u8fc7p\u6765\u8bbf\u95eei\u7684\u503c\u8fd9\u6837\u7684\u65b9\u5f0f\u79f0\u4e3a\u95f4\u63a5\u8bbf\u95ee\u3002<\/h3>\n<p><img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/07\/20250730011730-688972aab6c0e.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/><br \/>\n\u6ce8\u91ca&#xff1a;\u8fd9\u91cc\u662f\u4ee532\u4f4d\u7cfb\u7edf\u6765\u4e3e\u4f8b&#xff0c;\u6240\u4ee5\u6307\u9488\u5bb9\u91cf\u4f4d4\u5b57\u8282\u3002<br \/>\n\u56fe\u89e3&#xff1a;<br \/>\n<img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/07\/20250730011731-688972ab1a0bc.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/><\/p>\n<h2>\u4f7f\u7528\u6307\u9488\u7684\u76ee\u7684&#xff1a;\u4e3a\u4e86\u5b9e\u73b0\u5728\u88ab\u8c03\u51fd\u6570\u4e2d\u53bb\u4fee\u6539\u4e3b\u8c03\u51fd\u6570<\/h2>\n<p>\u4f8b&#xff1a;<br \/>\n<img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/07\/20250730011731-688972ab66c8b.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/><\/p>\n<h2>\u5b9a\u4e49\u6307\u9488\u9700\u8981\u5b9a\u8981\u6307\u9488\u6307\u5411\u7684\u5730\u5740&#xff0c;\u5426\u5219\u8fd9\u79cd\u6307\u9488\u79f0\u4e3a\u91ce\u6307\u9488&#xff0c;\u91ce\u6307\u9488\u4f1a\u968f\u673a\u50a8\u5b58\u5730\u5740&#xff0c;\u6709\u4e9b\u5730\u5740\u4e0d\u80fd\u591f\u8fdb\u884c\u4fee\u6539&#xff0c;\u4fee\u6539\u4f1a\u5bfc\u81f4\u7a0b\u5e8f\u8fd0\u884c\u5d29\u6e83&#xff0c;\u6307\u9488\u6807\u51c6\u5b9a\u4e49\u5f62\u5f0f&#xff1a;<\/h2>\n<p>int main(void)<br \/>\n{<br \/>\nint i&#061;1;<br \/>\nint *p;<br \/>\np&#061;&amp;i;                 \/\/ \u50a8\u5b58\u6307\u5b9a\u7684\u5730\u5740<\/p>\n<p>printf(&#034;%p\\\\n&#034;,p);<br \/>\nchar *l;<br \/>\nl&#061;(char *)&amp;i;<br \/>\nprintf(&#034;%d\\\\n&#034;,*l);<br \/>\nif&#xff08;*I&#061;&#061;1&#xff09;<br \/>\n{<br \/>\nputs&#xff08;\u201clittle\u201d&#xff09;&#xff1b;<br \/>\n}<br \/>\nelse<br \/>\n{<br \/>\nputs&#xff08;\u201cbig\u201d&#xff09;&#xff1b;<br \/>\n}<br \/>\nreturn 0;<br \/>\n}<\/p>\n<h4>\u901a\u8fc7\u4e0a\u9762\u7684\u4ee3\u7801\u4e2d\u7684\u5f3a\u8f6c&#xff08;char *&#xff09;\u53ef\u4ee5\u5b9e\u73b0\u5224\u65ad\u4f7f\u7528\u7684\u8bbe\u5907\u662f\u5c0f\u7aef\u5b58\u50a8\u8fd8\u662f\u5927\u7aef\u5b58\u50a8\u3002<\/h4>\n<h2>&#xff01;&#xff01;&#xff01;\u7528const\u4fee\u9970\u53d8\u91cf&#xff0c;\u5bf9\u53d8\u91cf\u7684\u4fee\u6539\u65e0\u6cd5\u901a\u8fc7\u76f4\u63a5\u8bbf\u95ee\u6765\u8fdb\u884c&#xff0c;\u867d\u7136\u5f3a\u8c03i\u4e0d\u80fd\u53d1\u751f\u53d8\u5316&#xff0c;\u4f46\u8fd8\u662f\u80fd\u591f\u901a\u8fc7\u6307\u9488\u95f4\u63a5\u8bbf\u95ee\u6765\u8fdb\u884c\u4fee\u6539\u3002<\/h2>\n<h2>&#xff01;&#xff01;&#xff01;\u5728\u6307\u9488\u53d8\u91cf\u524d\u52a0const\u4fee\u9970\u6307\u7684\u662f\u65e0\u6cd5\u901a\u8fc7\u8be5\u6307\u9488\u6765\u4fee\u6539\u5b83\u6240\u6307\u5411\u7684\u53d8\u91cf\u3002<\/h2>\n<h2>\u6240\u4ee5\u5728\u5b9a\u4e49\u51fd\u6570\u7684\u6307\u9488\u53d8\u91cf\u65f6&#xff0c;\u5e94\u8be5\u8003\u8651\u6307\u9488\u53d8\u91cf\u6240\u6307\u5411\u7684\u5185\u5bb9\u5185\u5426\u88ab\u4fee\u6539&#xff0c;\u5728\u4e0d\u80fd\u88ab\u4fee\u6539\u7684\u6307\u9488\u53d8\u91cf\u524d\u5e94\u8be5\u52a0const\u6765\u4fee\u9970\u3002<\/h2>\n<p><img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/07\/20250730011731-688972abb47a1.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/><\/p>\n<h4>\u5f3a\u884c\u4fee\u6539\u4f1a\u5f15\u53d1\u7f16\u8bd1\u62a5\u9519<\/h4>\n<h2>&#xff01;&#xff01;&#xff01; \u5728\u5224\u65ad\u4e24\u4e2a\u6307\u9488\u662f\u5426\u76f8\u540c&#xff0c;\u5e94\u8be5\u5224\u65ad\u4e8c\u8005\u4fdd\u5b58\u7684\u5730\u5740\u503c\u662f\u5426\u76f8\u540c\u3002<\/h2>\n<p><img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/07\/20250730011731-688972abd1542.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/><br \/>\n\u8f93\u51fa&#xff1a;yes<\/p>\n<h2>&#xff01;&#xff01;&#xff01; \u7528void\u7c7b\u578b\u5b9a\u4e49\u6307\u9488&#xff0c;\u5728\u51fd\u6570\u5185\u5c06\u6307\u9488\u5f3a\u8f6c\u4e3achar\u578b\u6307\u9488&#xff0c;\u5c06\u6307\u9488\u6240\u6307\u5411\u7684\u5185\u5bb9\u8f6c\u4e3a\u5355\u5b57\u8282\u5b57\u7b26\u6253\u5370&#xff0c;\u901a\u8fc7\u8fd9\u79cd\u65b9\u6cd5\u80fd\u591f\u5c06\u4efb\u610f\u7c7b\u578b\u7684\u6307\u9488\u6240\u6307\u5185\u5bb9\u8fdb\u884c\u8f93\u51fa<\/h2>\n<p><img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/07\/20250730011732-688972ac11953.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/><\/p>\n<h2>\u6570\u7ec4\u6307\u9488\u4ee5\u53ca\u6307\u9488\u6570\u7ec4&#xff1a;<\/h2>\n<h3>\u6570\u7ec4\u6307\u9488\u7684\u4f5c\u7528\u5bf9\u8c61\u662f\u4e00\u6574\u4e2a\u6570\u7ec4&#xff0c;\u800c\u6307\u9488\u6570\u7ec4\u662f\u7531\u6307\u9488\u7ec4\u6210\u7684\u6570\u7ec4\u3002<\/h3>\n<h4>\u6570\u7ec4\u6307\u9488\u80fd\u591f\u6307\u5411\u6574\u4e2a\u6570\u7ec4\u672c\u8eab\u800c\u975e\u6570\u7ec4\u7684\u9996\u5143\u7d20&#xff0c;<\/h4>\n<p><img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/07\/20250730011732-688972ac371e3.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/><\/p>\n<h4>&amp;a[0]\u53d6\u5730\u5740a [0] \u8868\u793a\u6570\u7ec4\u7684\u9996\u5143\u7d20\u5730\u5740&#xff0c;\u800c&amp;a\u8868\u793a\u8fd9\u4e2a\u6570\u7ec4\u7684\u5730\u5740&#xff0c;\u4e8c\u8005\u521a\u597d\u76f8\u540c\u3002<\/h4>\n<p><img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/07\/20250730011732-688972ac80278.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/><\/p>\n<h5>\u8981\u7528\u4e00\u4e2a\u4ec0\u4e48\u6837\u7684\u6307\u9488\u6765\u88c5&amp;a\u5462&#xff1f;<\/h5>\n<p><img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/07\/20250730011732-688972ac95fd5.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/><\/p>\n<h5>int *p\u7684\u57fa\u7c7b\u578b\u662f\u6574\u578b&#xff0c;\u4e0e&amp;a\u5bf9\u5e94\u7684\u6574\u578b\u6570\u7ec4\u7c7b\u578b\u4e0d\u540c&#xff0c;\u4e0d\u80fd\u7528int *p\u6765\u88c5\u6570\u7ec4\u7684\u5730\u5740<\/h5>\n<h3>\u6b63\u786e\u5199\u6cd5&#xff1a;<\/h3>\n<p><img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/07\/20250730011732-688972aca3a58.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/><\/p>\n<h4>\u8fd9\u6837\u6307\u9488p\u7684\u57fa\u7c7b\u578b\u5c31\u662f\u957f\u5ea6\u4e3a10\u7684\u6574\u578b\u6570\u7ec4&#xff0c;\u8fd9\u91cc*p\u52a0\u62ec\u53f7\u662f\u56e0\u4e3a\u5982\u679c\u53bb\u6389\u62ec\u53f7\u7f16\u8bd1\u5668\u4f1a\u5c06\u5176\u8fa8\u522b\u4e3a\u6307\u9488\u6570\u7ec4&#xff0c;\u5373&#xff1a;<\/h4>\n<p><img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/07\/20250730011732-688972acb2f6c.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/><\/p>\n<h3>\u8bc1\u660e&#xff1a;<\/h3>\n<p><img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/07\/20250730011732-688972acbbdfc.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/><\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/07\/20250730011732-688972acce31d.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/><br \/>\n<img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/07\/20250730011732-688972acde8b0.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/><br \/>\n<img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/07\/20250730011732-688972acf29d3.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/><\/p>\n<h2>\u5bf9\u4e8e\u4e00\u4f4d\u6570\u7ec4\u7684\u6307\u9488&#xff0c;p&#043;1\u4e0ep\u6240\u4fdd\u5b58\u7684\u5730\u5740\u503c\u76f8\u5dee1sizeof\u57fa\u7c7b\u578b\u4e2a\u5b57\u8282&#xff0c;\u5373410&#061;40\u4e2a\u5b57\u8282\u3002<\/h2>\n<p><img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/07\/20250730011733-688972ad17665.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/><br \/>\n<img decoding=\"async\" src=\"2025-07-30yrarezmh34h.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/><\/p>\n<h4>\u6b64\u65f6p&#043;1\u53d8\u4e3a\u91ce\u6307\u9488&#xff0c;\u6307\u5411\u6570\u7ec4\u5916\u4e0b\u4e00\u4e2a\u5730\u5740&#xff0c;\u6b64\u65f6\u8be5\u6307\u9488\u53ef\u7528\u4e8e\u4e8c\u7ef4\u6570\u7ec4\u7684\u6362\u884c\u3002<\/h4>\n<h3>\u5bf9\u4e8e\u4e8c\u7ef4\u6570\u7ec4&#xff1a;<\/h3>\n<p><img decoding=\"async\" src=\"2025-07-30x4zo41gve5o.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/><\/p>\n<h4>\u5bf9\u4e8e\u4e8c\u7ef4\u6570\u7ec4a\u8868\u793a\u542b\u6709\u4e09\u884c\u56db\u5217\u5143\u7d20\u7684\u6570\u7ec4\u7684\u9996\u5143\u7d20&#xff08;\u7b2c\u96f6\u884c\u4e00\u7ef4\u6570\u7ec4&#xff09;\u7684\u5730\u5740\u503c&#xff0c;*a\/a[0]\u8868\u793a\u7b2c\u96f6\u884c\u8fd9\u4e2a\u4e00\u4f4d\u6570\u7ec4\u7684\u9996\u5143\u7d20a [0][0]\u7684\u5730\u5740\u503c&#xff0c;\u6240\u4ee5\u5bf9\u4e8e\u4e8c\u7ef4\u6570\u7ec4sizeof&#xff08;a&#xff09;\u6c42\u7684\u662f\u8fd9\u6574\u4e2a\u6570\u7ec4\u7684\u603b\u5b57\u8282\u6570&#xff0c;\u5bf9\u4e8eint\u578b12\u5143\u7d20\u7684\u4e8c\u7ef4\u6570\u7ec4&#xff0c;\u5b83\u603b\u5171\u536048\u5b57\u8282&#xff1b;sizeof&#xff08;*a&#xff09;\u6c42\u7684\u662f\u8fd9\u4e2a\u4e8c\u7ef4\u6570\u7ec4\u7b2c0\u884c4\u4e2a\u5143\u7d20\u6240\u5360\u7684\u5b57\u8282\u6570&#xff0c;\u5373\u4e3a16\u4e2a\u5b57\u8282\u3002<\/h4>\n<p><img decoding=\"async\" src=\"2025-07-3015qxywo04du.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/><\/p>\n<h2>\u6574\u578b\u6307\u9488&#xff1a;<\/h2>\n<h3>\u8bfe\u4e0a\u7ec3\u4e60&#xff1a;<\/h3>\n<h4>\u627e\u4e09\u4e2a\u6570\u5185\u7684\u6700\u5927\u503c\u4ee5\u53ca\u6700\u5c0f\u503c&#xff1a;<\/h4>\n<p>void maxOrMinOfThreeNumbers(int a,int b,int c ,int *pmax,int *pmin)<br \/>\n{<br \/>\n*pmax&#061;a&gt;b?a:b;<br \/>\n*pmax&#061;c&gt;*pmax?c:*pmax;<br \/>\n*pmin&#061;a&lt;b?a:b;<br \/>\n*pmin&#061;c&lt;*pmin?c:*pmin;<br \/>\n}<\/p>\n<p>int main(void)<br \/>\n{<br \/>\nint a&#061;3,b&#061;1,c&#061;2;<br \/>\nint max;<br \/>\nint min;<br \/>\nmaxOrMinOfThreeNumbers(a,b,c,&amp;max,&amp;min);<br \/>\nprintf(&#034;%d\\\\n&#034;,max);<br \/>\nprintf(&#034;%d\\\\n&#034;,min);<br \/>\nreturn 0;<br \/>\n}<\/p>\n<h3>\u7528\u6307\u9488\u8c03\u7528\u4e00\u4e2a\u51fd\u6570\u5c31\u53ef\u4ee5\u83b7\u5f97\u4e00\u4e2a\u4ee5\u4e0a\u7684\u7ed3\u679c<\/h3>\n<h4>\u4e24\u6570\u4ea4\u6362&#xff1a;<\/h4>\n<p>#endif<br \/>\n#if 0<br \/>\nvoid swap(int *a,int *b)<br \/>\n{<br \/>\nint t&#061;*a;<br \/>\n*a&#061;*b;<br \/>\n*b&#061;t;<br \/>\n}<br \/>\nint main(void)<br \/>\n{<br \/>\nint i&#061;10,j&#061;20;<br \/>\nswap(&amp;i,&amp;j);<br \/>\nprintf(&#034;%d %d\\\\n&#034;,i,j);<br \/>\nreturn 0;<br \/>\n}<\/p>\n<h3>\u5bf9\u6307\u9488\u505a\u52a0\u6cd5\u8fd0\u7b97<\/h3>\n<p><img decoding=\"async\" src=\"2025-07-30m12nar2jpkh.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/><br \/>\n<img decoding=\"async\" src=\"2025-07-30d1r01o0fdjn.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/><\/p>\n<h4>p&#043;1\u4e0ep\u5dee\u4e86\u4e00\u4e2a\u57fa\u7c7b\u578b\u5b57\u8282&#xff08;int\u578b&#xff1a;4\u5b57\u8282&#xff09;<\/h4>\n<p><img decoding=\"async\" src=\"2025-07-305a2i0x1d5vy.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/><br \/>\n<img decoding=\"async\" src=\"2025-07-30zcgqqjz4omr.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/><\/p>\n<h4>P&#043;1\u548cp\u5dee\u4e86\u4e24\u4e2a\u5b57\u8282\u3002&#xff08;short\u578b2\u5b57\u8282&#xff09;<\/h4>\n<p><img decoding=\"async\" src=\"2025-07-30lvfdntzyiql.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/><br \/>\n<img decoding=\"async\" src=\"2025-07-3022njzae2uvp.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/><br \/>\n\u603b\u7ed3&#xff1a;<br \/>\n<img decoding=\"async\" src=\"2025-07-300sh3hn3fnhr.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/><\/p>\n<h2>\u5b57\u7b26\u578b\u6307\u9488&#xff1a;char *s\u5f62\u5f0f<\/h2>\n<p><img decoding=\"async\" src=\"2025-07-30um4u0caoh1u.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/><\/p>\n<h2>\u4f4d\u4e8e\u6808\u4e0a\u7684\u6307\u9488\u4fdd\u5b58\u5b57\u7b26\u4e32\u7684\u9996\u5143\u7d20\u5730\u5740&#xff0c;\u6307\u5411\u5b57\u7b26\u4e32\u5e38\u91cf\u533a\u5bf9\u5e94\u5b57\u7b26\u4e32\u7684\u9996\u5143\u7d20\u3002\u901a\u8fc7\u8be5\u6307\u9488\u80fd\u591f\u8bbf\u95ee\u6307\u5411\u5b57\u7b26\u4e32\u7684\u5185\u5bb9<\/h2>\n<h2>&#xff01;&#xff01;\u5b57\u7b26\u4e32\u5904\u5728\u5b57\u7b26\u4e32\u5e38\u91cf\u533a&#xff0c;\u4f7f\u7528\u6307\u9488\u5bf9\u5b57\u7b26\u4e32\u8fdb\u884c\u4fee\u6539\u4f1a\u5bfc\u81f4\u7a0b\u5e8f\u5d29\u6e83<\/h2>\n<p><img decoding=\"async\" src=\"2025-07-30vu5opw2lt3c.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/><br \/>\n<img decoding=\"async\" src=\"2025-07-30dorenngjnj5.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/><\/p>\n<h3>\u5bf9\u4e8e\u4e00\u7ef4\u5b57\u7b26\u578b\u6570\u7ec4\u7684\u6307\u9488\u7ec3\u4e60&#xff1a;<\/h3>\n<h4>\u7528puts\u904d\u5386\u5b57\u7b26\u4e32&#xff1a;<\/h4>\n<p>void Puts( const char *s)<br \/>\n{<br \/>\nwhile(*s)<br \/>\n{<br \/>\nputchar(*s&#043;&#043;);<br \/>\n}<br \/>\nputchar(&#039;\\\\n&#039;);<br \/>\n}<\/p>\n<h4>\u8ba1\u7b97\u5b57\u7b26\u4e32\u7684\u6709\u6548\u957f\u5ea6&#xff1a;<\/h4>\n<p>int STRLEN( const  char *s)<br \/>\n{<br \/>\nint counter&#061;0;<br \/>\nwhile(*s)<br \/>\n{<br \/>\n&#043;&#043;s;<br \/>\n&#043;&#043;counter;<br \/>\n}<br \/>\nreturn counter;<br \/>\n}<br \/>\nint main(void)<br \/>\n{<br \/>\nchar s[100]&#061;&#034;hello&#034;;<br \/>\nPuts(s);<br \/>\nprintf(&#034;%d\\\\n&#034;,STRLEN(&#034;hello&#034;));<br \/>\nreturn 0;<br \/>\n}<\/p>\n<h4>\u62f7\u8d1d&#xff1a;<\/h4>\n<p>void Strcpy(char *dest,const char *src)<br \/>\n{<br \/>\nwhile(*src)<br \/>\n{<br \/>\n*dest&#043;&#043;&#061;*src&#043;&#043;;<br \/>\n}<br \/>\n*dest&#061;0;<br \/>\n}<\/p>\n<h4>\u6807\u51c6\u81ea\u5b9a\u4e49\u957f\u5ea6\u62f7\u8d1d&#xff1a;<\/h4>\n<p>char *Strncpy(char *dest, const char *src,int n)<br \/>\n{<br \/>\nchar *ret&#061;dest;<br \/>\nwhile(*src&amp;&amp;n&#8211;)<br \/>\n{<br \/>\n*dest&#043;&#043;&#061;*src&#043;&#043;;<br \/>\n}<br \/>\nreturn ret;<br \/>\n}<\/p>\n<h2>\u4efb\u610f\u7c7b\u578b\u62f7\u8d1d&#xff1a;\u4f7f\u7528\u4e07\u80fd\u6307\u9488<\/h2>\n<p>void Memcpy(void *dest,void  *src,int n) \/\/\u4efb\u610f\u7c7b\u578b\u62f7\u8d1d<br \/>\n{<br \/>\nchar *p&#061;(char *)dest;<br \/>\nchar *q&#061;(char *)src;<br \/>\nwhile(n&#8211;)<br \/>\n{<br \/>\n*p&#043;&#043;&#061;*q&#043;&#043;;<br \/>\n}<br \/>\n}<\/p>\n<h4>\u6807\u51c6\u62fc\u63a5&#xff1a;<\/h4>\n<p>char *Strcat(char *dest,const char *src)<br \/>\n{<br \/>\nchar *ret&#061;dest;<br \/>\nwhile(*dest)<br \/>\n{<br \/>\ndest&#043;&#043;;<br \/>\n}<br \/>\nwhile(*src)<br \/>\n{<br \/>\n*dest&#043;&#043;&#061;*src&#043;&#043;;<br \/>\n}<br \/>\n*dest&#061;0;<br \/>\nreturn ret;<br \/>\n}<\/p>\n<h4>\u81ea\u5b9a\u4e49\u957f\u5ea6\u62fc\u63a5&#xff1a;<\/h4>\n<p>void Strncat(char *dest,  const  char *src,int n)<br \/>\n{<br \/>\nwhile(*dest)<br \/>\n{<br \/>\ndest&#043;&#043;;<br \/>\n}<br \/>\nwhile(*src&amp;&amp;n&#8211;)<br \/>\n{<br \/>\n*dest&#043;&#043;&#061;*src&#043;&#043;;<br \/>\n}<br \/>\n*dest&#061;0;<br \/>\n}<\/p>\n<h4>\u6bd4\u8f83\u4e24\u5b57\u7b26\u4e32\u5927\u5c0f&#xff1a;<\/h4>\n<p>int Strcmp(const char *s1,const char *s2 )<br \/>\n{<br \/>\nwhile(*s1&amp;&amp;*s2&amp;&amp;*s1&#061;&#061;*s2)<br \/>\n{<br \/>\n&#043;&#043;s1;<br \/>\n&#043;&#043;s2;<br \/>\n}<br \/>\nreturn *s1-*s2;<br \/>\n}<\/p>\n<h4>\u81ea\u5b9a\u4e49\u957f\u5ea6\u6bd4\u8f83\u5b57\u7b26\u4e32\u5927\u5c0f&#xff1a;<\/h4>\n<p>int Strncmp(const char *s1,const char *s2,int n)<br \/>\n{<br \/>\nwhile(*s1&#061;&#061;*s2&amp;&amp;*s1&amp;&amp;*s2&amp;&amp;&#8211;n)<br \/>\n{<br \/>\n&#043;&#043;s1;<br \/>\n&#043;&#043;s2;<br \/>\n}<br \/>\nreturn *s1-*s2;<br \/>\n}<\/p>\n<h2>\u67e5\u627e\u503c&#xff1a;<\/h2>\n<p>int Findchar(const char *s1,const char *s2)<br \/>\n{<br \/>\nint i;<br \/>\nfor(i&#061;0;i&lt;&#061;strlen(s1)-strlen(s2);&#043;&#043;i)<br \/>\n{<br \/>\nif(Strncmp(s1&#043;i,s2,strlen(s2))&#061;&#061;0)<br \/>\n{<br \/>\nbreak;<br \/>\n}<br \/>\n}<br \/>\nif(i&lt;&#061;strlen(s1)-strlen(s2))<br \/>\n{<br \/>\nreturn i;<br \/>\n}<br \/>\nreturn -1;<br \/>\n}<\/p>\n<h2>\u4e3b\u51fd\u6570&#xff1a;<\/h2>\n<p>int main(void)<br \/>\n{<br \/>\nchar s1[100]&#061;&#034;hello&#034;;<br \/>\nchar s2[100];<br \/>\nchar s3[100]&#061;&#034;world&#034;;<br \/>\nchar s4[100]&#061;&#034;hello!   World!&#034;;<br \/>\nchar s5[100]&#061;&#034;World!&#034;;<br \/>\n\/\/int ret&#061;Findchar(s4,s5);<br \/>\n\/\/if(ret)<br \/>\n\/\/{<br \/>\n\/\/printf(&#034;found!\u5728\u7b2c&#061;%d\u4e2a\\\\n&#034;,ret);<br \/>\n\/\/}<br \/>\n\/\/else if(ret&#061;-1)<br \/>\n\/\/{<br \/>\n\/\/printf(&#034;error!&#034;);<br \/>\n\/\/}<br \/>\n\/\/Strcpy(s2,s1);<br \/>\n\/\/Memcpy(s3,s1,sizeof(s1));<br \/>\n\/\/  Strcat(s3,s1);<br \/>\n\/\/printf(&#034;%d\\\\n&#034;,Strcmp(s1,s3));<br \/>\n\/\/Strncat(s1,s3&#043;1,3);<br \/>\n\/\/    printf(&#034;%d\\\\n&#034;,Strncmp(s1,s3,3));<br \/>\nputs(Strcat(s3,s1));<br \/>\nreturn 0;<br \/>\n}<\/p>\n<h2>\u6570\u7ec4\u578b\u6307\u9488&#xff1a;<\/h2>\n<h3>\u4e00\u7ef4\u6570\u7ec4\u7684\u6307\u9488&#xff1a;<\/h3>\n<h4>\u4e00\u7ef4\u6574\u578b\u6570\u7ec4\u7684\u6307\u9488&#xff1a;<\/h4>\n<p><img decoding=\"async\" src=\"2025-07-30zy3gxypsaiv.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/><br \/>\n<img decoding=\"async\" src=\"2025-07-30k2vnkq4bvut.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/><\/p>\n<h4>\u8fd9\u91cc\u4e24\u4e2a\u5355\u76ee\u8fd0\u7b97\u7b26&#xff0c;\u7ed3\u5408\u65b9\u5411\u4ece\u53f3\u5411\u5de6&#xff0c;\u5148\u5bf9\u6307\u9488\u6240\u5bf9\u5e94\u7684\u5730\u5740\u8fdb\u884c\u4fee\u6539\u3002p&#043;&#043;\u5bf9\u5730\u5740\u503c\u8fdb\u884c\u4fee\u6539&#xff0c;\u4e4b\u540e\u7684p\u8868\u793a\u7684\u662fa[1]\u7684\u503c\u3002<\/h4>\n<p><img decoding=\"async\" src=\"2025-07-30opano2rdssn.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/><\/p>\n<h4>\u533a\u5206\u4ee5\u4e0b&#xff1a;<\/h4>\n<p><img decoding=\"async\" src=\"2025-07-30cfghadpw2ey.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/><\/p>\n<h2>\u8fd9\u91cc\u52a0\u62ec\u53f7\u4ee5\u540e\u662f\u5bf9a[0]\u7684\u503c\u8fdb\u884c\u52a0\u4e00\u3002<\/h2>\n<p><img decoding=\"async\" src=\"2025-07-30xuvu23bhq1e.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/><\/p>\n<h4>\u4e00\u7ef4\u6570\u7ec4\u7684\u904d\u5386&#xff1a;<\/h4>\n<p><img decoding=\"async\" src=\"2025-07-30mpod1tpgkos.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/><\/p>\n<h3>\u8bfe\u4e0a\u4ee3\u7801<\/h3>\n<h4>\u904d\u5386\u6253\u5370\u6570\u7ec4&#xff1a;<\/h4>\n<p>#include&lt;stdio.h&gt;<br \/>\nvoid printArray(int len,int *a)<br \/>\n{<br \/>\nint i;<br \/>\nfor(i&#061;0;i&lt;len;&#043;&#043;i)<br \/>\n{<br \/>\nprintf(&#034;%d  &#034;,*a&#043;&#043;);<br \/>\n}<br \/>\nputs(&#034;\\\\n&#034;);<br \/>\n}<\/p>\n<h4>\u6c42\u6570\u7ec4\u6240\u6709\u5143\u7d20\u4e4b\u548c&#xff1a;<\/h4>\n<p>int sumOfArray(int len,int *a)<br \/>\n{<br \/>\nint sum&#061;0,i;<br \/>\nfor(i&#061;0;i&lt;len;&#043;&#043;i)<br \/>\n{<br \/>\nsum&#043;&#061;*a&#043;&#043;;<br \/>\n}<br \/>\nreturn sum;<br \/>\n}<\/p>\n<h4>\u9006\u5e8f&#xff1a;<\/h4>\n<p>void verseArray(int len,int *a)<br \/>\n{<br \/>\nint i;<br \/>\nfor(i&#061;0;i&lt;len\/2;&#043;&#043;i)<br \/>\n{<br \/>\nint t&#061;*(a&#043;i);<br \/>\n*(a&#043;i)&#061;*(a&#043;len-i-1);<br \/>\n*(a&#043;len-i-1)&#061;t;<br \/>\n}<br \/>\n}<\/p>\n<h4>\u4e24\u6570\u4ea4\u6362<\/h4>\n<p>void swapArray(int *a,int *b)<br \/>\n{<br \/>\nint t&#061;*a;<br \/>\n*a&#061;*b;<br \/>\n*b&#061;t;<br \/>\n}<\/p>\n<h4>\u9009\u62e9\u6392\u5e8f&#xff1a;<\/h4>\n<p>void sortArray(int *a,int len)<br \/>\n{<br \/>\nint i,j;<br \/>\nfor(i&#061;0;i&lt;len-1;&#043;&#043;i)<br \/>\n{<br \/>\nfor(j&#061;i&#043;1;j&lt;len;&#043;&#043;j)<br \/>\n{<br \/>\nif(*(a&#043;i)&gt;*(a&#043;j))<br \/>\n{<br \/>\nswapArray(a&#043;i,a&#043;j);  \/\/\/\u660e\u786eswapArray\u7684\u53c2\u6570&#xff01;&#xff01;&#xff01;&#xff01;&#xff01;<br \/>\n}<br \/>\n}<br \/>\n}<br \/>\n}<\/p>\n<h3>\u91cd\u70b9&#xff1a;\u4f7f\u7528\u8fd4\u56de\u503c\u4e3a\u6307\u9488\u7684\u51fd\u6570\u5199\u4e8c\u5206\u67e5\u627e\u7684\u4ee3\u7801&#xff1a;<\/h3>\n<p>int *binaryFind(int *a,int len,int n)     \/\/!!!\u4e8c\u5206\u67e5\u627e\u4e0d\u719f\u7ec3<br \/>\n{<br \/>\nint begin&#061;0;<br \/>\nint end&#061;len-1;<br \/>\nwhile(begin&lt;end)<br \/>\n{<\/p>\n<p>int mid&#061;(begin&#043;end)\/2;<br \/>\nif(*(a&#043;mid)&gt;n)<br \/>\n{<br \/>\nend&#061;mid-1;<br \/>\n}<br \/>\nelse if(*(a&#043;mid)&lt;n)<br \/>\n{<br \/>\nbegin&#061;mid&#043;1;<br \/>\n}<br \/>\nelse<br \/>\n{<br \/>\nreturn a&#043;mid;<br \/>\n}<br \/>\n}<br \/>\nreturn NULL;<br \/>\n}<br \/>\nint main(void)<br \/>\n{<br \/>\nint a[]&#061;{1,3,2,5,4,7,6,9,8,0};<br \/>\nint len&#061;sizeof(a)\/sizeof(*a);<br \/>\n\/\/verseArray(len,a);<br \/>\n\/\/swapArray(a,&amp;a[1]);<br \/>\n\/\/sortArray(a,len);<br \/>\nint n;<br \/>\nscanf(&#034;%d&#034;,&amp;n);<br \/>\nint *ret&#061;binaryFind(a,len,n);<br \/>\nif(ret)<br \/>\n{<br \/>\nprintf(&#034;found! value&#061;%d\\\\n&#034;,*ret);<br \/>\n}<br \/>\nelse<br \/>\n{<br \/>\nprintf(&#034;error!&#034;);<br \/>\n}<br \/>\n\/\/printArray(len,a);<br \/>\n\/\/printf(&#034;%d\\\\n&#034;,sumOfArray(len,a));<\/p>\n<p>return 0;<br \/>\n}<\/p>\n<h4>\u901a\u8fc7\u4fee\u6539\u6307\u9488\u53ef\u4ee5\u66f4\u52a0\u7075\u6d3b\u7684\u5b9e\u73b0\u51fd\u6570\u7684\u81ea\u5b9a\u4e49\u6548\u679c&#xff1a;<\/h4>\n<p>\u2013<img decoding=\"async\" src=\"2025-07-30f24cxkn1cqx.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/><\/p>\n<h4>\u4ecea  [1] \u5f00\u59cb\u904d\u5386&#xff0c;\u904d\u5386len-1\u4e2a\u5143\u7d20\u3002<\/h4>\n<p>\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014<br \/>\n<img decoding=\"async\" src=\"2025-07-30ocbrtqg4gfv.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/><\/p>\n<p><img decoding=\"async\" src=\"2025-07-30beiayhgd13j.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/><br \/>\n\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014<\/p>\n<h2>\u5c06begin\u548cend\u4f5c\u4e3a\u6307\u9488\u4f18\u5316\u4e0a\u9762\u7684\u4ee3\u7801&#xff1a;<\/h2>\n<h3>\u904d\u5386&#xff1a;<\/h3>\n<p>void printArray(int *begin,int *end)<br \/>\n{<br \/>\nwhile(begin&lt;&#061;end)<br \/>\n{<br \/>\nprintf(&#034;%d\\\\n&#034;,*begin&#043;&#043;);<\/p>\n<p>}<\/p>\n<p>}<\/p>\n<h3>\u9012\u5f52\u904d\u5386<\/h3>\n<p>void printArray2(int *begin,int *end)  \/\/\u5229\u7528\u9012\u5f52<br \/>\n{<br \/>\nif(begin&gt;end)<br \/>\n{<br \/>\nreturn ;<br \/>\n}<br \/>\nelse<br \/>\n{<br \/>\nprintf(&#034;%d\\\\n&#034;,*begin);<br \/>\nprintArray2(begin&#043;1,end);<br \/>\n}<br \/>\n}<\/p>\n<h3>\u4ea4\u6362\u5143\u7d20<\/h3>\n<p>void swapArray(int *a,int *b)<br \/>\n{<br \/>\nint t&#061;*a;<br \/>\n*a&#061;*b;<br \/>\n*b&#061;t;<br \/>\n}<\/p>\n<h3>\u5bf9\u4e8e\u4e00\u7ef4\u6574\u578b\u6570\u7ec4\u8fdb\u884c\u9006\u5e8f&#xff1a;<\/h3>\n<p>void reverse(int *begin,int *end)<br \/>\n{<br \/>\nwhile(begin&lt;end)<br \/>\n{<br \/>\nswapArray(begin&#043;&#043;,end&#8211;);<br \/>\n}<br \/>\n}<\/p>\n<h3>\u8fd0\u7528\u9012\u5f52\u601d\u60f3\u5bf9\u4e00\u7ef4\u6574\u578b\u6570\u7ec4\u9006\u5e8f&#xff1a;<\/h3>\n<p>void reverse2(int *begin,int *end)<br \/>\n{<br \/>\nif(begin&gt;end)<br \/>\n{<br \/>\nreturn;<br \/>\n}<br \/>\nelse<br \/>\n{<br \/>\nswapArray(begin,end);<\/p>\n<p>reverse2(&#043;&#043;begin,&#8211;end);<br \/>\n}<br \/>\n}<\/p>\n<h2>\u91cd\u70b9\u2014\u2014\u2014\u5feb\u901f\u6392\u5e8f&#xff1a;<\/h2>\n<p>void Qsort(int *begin,int *end)<br \/>\n{<br \/>\nif(begin&gt;&#061;end)<br \/>\n{<br \/>\nreturn ;<br \/>\n}<\/p>\n<p>int *p&#061;begin;<br \/>\nint *q&#061;end;<br \/>\nint t&#061;*begin;<br \/>\nwhile(p&lt;q)<br \/>\n{<br \/>\nwhile(p&lt;q&amp;&amp;*q&gt;&#061;t)<br \/>\n{<br \/>\n&#8211;q;<br \/>\n}<br \/>\nwhile(p&lt;q&amp;&amp;*p&lt;&#061;t)<br \/>\n{<br \/>\n&#043;&#043;p;<br \/>\n}<br \/>\nswapArray(p,q);<br \/>\n}<br \/>\nswapArray(begin,p);<br \/>\nQsort(begin,p-1);<br \/>\nQsort(q&#043;1,end);<br \/>\n}<\/p>\n<h3>\u9009\u62e9\u6392\u5e8f&#xff1a;<\/h3>\n<p>void choiceSort(int *begin,int *end)<br \/>\n{<br \/>\nfor(;begin&lt;end;&#043;&#043;begin)<br \/>\n{<br \/>\nint *p;<br \/>\nfor(p&#061;begin&#043;1;p&lt;&#061;end;&#043;&#043;p)<br \/>\n{<br \/>\nif(*p&lt;*begin)<br \/>\n{<br \/>\nswapArray(begin,p);<br \/>\n}<br \/>\n}<br \/>\n}<br \/>\n}<\/p>\n<h3>\u5192\u6ce1\u6392\u5e8f&#xff1a;<\/h3>\n<p>void bubbleSort(int *begin,int *end)<br \/>\n{<br \/>\nfor(;end&gt;begin;&#8211;end)<br \/>\n{<br \/>\nfor(;begin&lt;end;&#043;&#043;begin)<br \/>\n{<br \/>\nint *p&#061;begin&#043;1;<\/p>\n<p>if(*p&lt;*begin)<br \/>\n{<br \/>\nswapArray(p,begin);<br \/>\n}<\/p>\n<p>}<br \/>\n}<br \/>\n}<\/p>\n<h2>\u4e8c\u5206\u67e5\u627e&#xff1a;<\/h2>\n<p>int *binaryFind(int *begin,int *end,int n)<br \/>\n{<br \/>\nint *mid&#061;(end-begin)\/2&#043;begin;<br \/>\nif(n&lt;*mid)<br \/>\n{<br \/>\nend&#061;mid-1;<br \/>\n}<br \/>\nelse if(n&gt;*mid)<br \/>\n{<br \/>\nbegin&#061;mid&#043;1;<br \/>\n}<br \/>\nelse<br \/>\n{<br \/>\nreturn mid;<br \/>\n}<br \/>\nreturn NULL;<br \/>\n}<\/p>\n<h2>\u4e3b\u51fd\u6570&#xff1a;<\/h2>\n<p>int main(void)<br \/>\n{<br \/>\nint a[]&#061;{2,7,5,9,3,1,4,6,10,8};<br \/>\nint len&#061;sizeof(a)\/sizeof(*a);<br \/>\n\/\/printArray(a, a &#043; len &#8211; 1);<br \/>\n\/\/printArray2(a,a&#043;len-1);<br \/>\n\/\/reverse(a,a&#043;len-1);<br \/>\n\/\/reverse2(a,a&#043;len-1);<br \/>\nQsort(a,a&#043;len-1);<br \/>\n\/\/choiceSort(a,a&#043;len-1);<br \/>\nbubbleSort(a,a&#043;len-1);<br \/>\n\/\/int *ret&#061;binaryFind(a,a&#043;len-1,5);<br \/>\n\/\/if(ret)<br \/>\n\/\/{<br \/>\n\/\/printf(&#034;find,value&#061;%d\\\\n&#034;,*ret);<br \/>\n\/\/}<br \/>\n\/\/else<br \/>\n\/\/{<br \/>\n\/\/printf(&#034;error&#034;);<br \/>\n\/\/}<br \/>\n\/\/printf(&#034;%p\\\\n&#034;,binaryFind(a,a&#043;len-1,5));<br \/>\nprintArray(a,a&#043;len-1);<br \/>\nreturn 0;<br \/>\n}<\/p>\n<h2>\u4f5c\u4e1a&#xff1a;\u7528\u9012\u5f52\u6765\u8fdb\u884c\u4e8c\u5206\u67e5\u627e&#xff1a;<\/h2>\n<p>int *binaryFind2(int *begin, int *end, int n) {<br \/>\n    if (begin &gt;&#061; end)<br \/>\n    {<br \/>\n        return NULL;<br \/>\n    }<br \/>\n    int *mid &#061; begin &#043; (end &#8211; begin) \/ 2<br \/>\n    if (*mid &#061;&#061; n)<br \/>\n     {<br \/>\n         return mid;<br \/>\n     }<br \/>\n        else if (*mid &gt; n)<br \/>\n        {<br \/>\n        return binaryFind2(begin, mid, n);<br \/>\n         }<br \/>\n         else<br \/>\n         {<br \/>\n        return binaryFind2(mid &#043; 1, end, n);<br \/>\n          }<br \/>\n}<\/p>\n<h3>\u4e8c\u7ef4\u6570\u7ec4\u7684\u6307\u9488&#xff1a;<\/h3>\n<h4>\u6c42\u4e8c\u7ef4\u6570\u7ec4\u6240\u6709\u5143\u7d20\u4e4b\u548c&#xff1a;<\/h4>\n<p>int sumOf2DArray(int (*a)[4],int rows,int cols)<br \/>\n{<br \/>\nint i,sum&#061;0,j;<br \/>\nfor(i&#061;0;i&lt;rows;&#043;&#043;i)<br \/>\n{<br \/>\nfor(j&#061;0;j&lt;cols;&#043;&#043;j)<br \/>\n{<br \/>\nsum&#043;&#061;*(*(a&#043;i)&#043;j);<br \/>\n}<br \/>\n}<br \/>\nreturn sum;<br \/>\n}<\/p>\n<p>void swap(int *a,int *b)<br \/>\n{<br \/>\nint t&#061;*a;<br \/>\n*a&#061;*b;<br \/>\n*b&#061;t;<br \/>\n}<\/p>\n<h4>\u4e00\u7ef4\u6570\u7ec4\u9006\u5e8f&#xff1a;<\/h4>\n<p>void reverse(int *begin,int *end)<br \/>\n{<br \/>\nwhile(begin&lt;end)<br \/>\n{<br \/>\nswap(begin&#043;&#043;,end&#8211;);<br \/>\n}<br \/>\n}<\/p>\n<h4>\u4e8c\u7ef4\u6570\u7ec4\u884c\u9006\u5e8f&#xff1a;<\/h4>\n<p>void reverse2DArray(int (*a)[4],int rows,int cols)<br \/>\n{<br \/>\nint i,j;<br \/>\nfor(i&#061;0;i&lt;rows;&#043;&#043;i)<br \/>\n{<br \/>\nreverse((*(a&#043;i)),(*(a&#043;i)&#043;cols-1));<br \/>\n}<br \/>\n}<\/p>\n<h4>\u4e8c\u7ef4\u6570\u7ec4\u904d\u5386\u6253\u5370&#xff1a;<\/h4>\n<p>void print2Darray(int (*a)[4],int rows,int cols)<br \/>\n{<br \/>\nint i,j;<br \/>\nfor(i&#061;0;i&lt;rows;&#043;&#043;i)<br \/>\n{<br \/>\nfor(j&#061;0;j&lt;cols;&#043;&#043;j)<br \/>\n{<br \/>\nprintf(&#034;%2d  &#034;,*(*(a&#043;i)&#043;j));<br \/>\n}<br \/>\nputs(&#034;\\\\n&#034;);<br \/>\n}<br \/>\n}<\/p>\n<h2>\u4e3b\u51fd\u6570&#xff1a;<\/h2>\n<p>int main(void)<br \/>\n{<br \/>\nint a[][4]&#061;{1,2,3,4,5,6,7,8,9,10,11,12};<br \/>\nint rows&#061;sizeof(a)\/sizeof(*a);<br \/>\nint cols&#061;sizeof(*a)\/sizeof(**a);<br \/>\nreverse2DArray(a,rows,cols);<br \/>\nprint2Darray(a,rows,cols);<br \/>\n\/\/printf(&#034;%d\\\\n&#034;,sumOf2DArray(a,rows,cols));<br \/>\n}<\/p>\n<h2>\u6307\u9488\u7684\u6307\u9488&#xff1a;<\/h2>\n","protected":false},"excerpt":{"rendered":"<p>\u6587\u7ae0\u6d4f\u89c8\u9605\u8bfb241\u6b21\uff0c\u70b9\u8d5e9\u6b21\uff0c\u6536\u85cf4\u6b21\u3002\u8fd9\u7bc7\u6587\u7ae0\u4e3b\u8981\u4ecb\u7ecd\u4e86\u6307\u9488\u7684\u57fa\u7840\u6982\u5ff5\u53ca\u5e94\u7528\u3002\u6307\u9488\u662f\u4e00\u79cd\u5b58\u50a8\u5730\u5740\u7684\u6570\u636e\u7c7b\u578b\uff0c\u572832\u4f4d\u7cfb\u7edf\u53604\u5b57\u8282\uff0c64\u4f4d\u7cfb\u7edf\u53608\u5b57\u8282\u3002\u5185\u5bb9\u5305\u62ec\u6307\u9488\u7c7b\u578b\uff08\u6574\u578b\u3001\u5b57\u7b26\u578b\u3001\u6570\u7ec4\u6307\u9488\u7b49\uff09\u3001\u6307\u9488\u5b9a\u4e49\u89c4\u8303\uff08\u907f\u514d\u91ce\u6307\u9488\uff09\u3001const\u4fee\u9970\u6307\u9488\u7684\u4f5c\u7528\u3001\u6307\u9488\u4e0e\u6570\u7ec4\u7684\u5173\u7cfb\uff08\u6570\u7ec4\u6307\u9488\u4e0e\u6307\u9488\u6570\u7ec4\u7684\u533a\u522b\uff09\u3001\u6307\u9488\u8fd0\u7b97\u89c4\u5219\uff08\u5730\u5740\u504f\u79fb\u91cf\u7531\u57fa\u7c7b\u578b\u51b3\u5b9a\uff09\u3002\u91cd\u70b9\u8bb2\u89e3\u4e86\u6307\u9488\u7684\u6838\u5fc3\u7528\u9014\u2014\u2014\u5b9e\u73b0\u51fd\u6570\u95f4\u6570\u636e\u4fee\u6539\uff0c\u5e76\u901a\u8fc7\u5b9e\u4f8b\u6f14\u793a\u4e86\u6307\u9488\u5728\u53d8\u91cf\u4ea4\u6362\u3001\u6781\u503c\u67e5\u627e\u4e2d\u7684\u5e94\u7528\u3002\u6587\u7ae0\u8fd8\u8be6\u7ec6\u5206\u6790\u4e86\u4e8c\u7ef4\u6570\u7ec4\u7684\u6307\u9488\u8868\u793a\u65b9\u6cd5\uff0c\u4ee5\u53ca\u5b57\u7b26\u6307\u9488\u7684\u7279\u70b9\u548c\u6ce8\u610f\u4e8b\u9879\u3002\u6700\u540e\u5f3a\u8c03\u4e86\u6307\u9488\u6bd4\u8f83\u5e94\u5224\u65ad\u5730\u5740\u503c\u662f\u5426\u76f8\u540c\u3002<\/p>\n","protected":false},"author":2,"featured_media":47758,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[174,190],"topic":[],"class_list":["post-47778","post","type-post","status-publish","format-standard","has-post-thumbnail","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>C\u8bed\u8a00\uff1a\u6307\u9488\u90e8\u5206 - \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\/47778.html\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"C\u8bed\u8a00\uff1a\u6307\u9488\u90e8\u5206 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"og:description\" content=\"\u6587\u7ae0\u6d4f\u89c8\u9605\u8bfb241\u6b21\uff0c\u70b9\u8d5e9\u6b21\uff0c\u6536\u85cf4\u6b21\u3002\u8fd9\u7bc7\u6587\u7ae0\u4e3b\u8981\u4ecb\u7ecd\u4e86\u6307\u9488\u7684\u57fa\u7840\u6982\u5ff5\u53ca\u5e94\u7528\u3002\u6307\u9488\u662f\u4e00\u79cd\u5b58\u50a8\u5730\u5740\u7684\u6570\u636e\u7c7b\u578b\uff0c\u572832\u4f4d\u7cfb\u7edf\u53604\u5b57\u8282\uff0c64\u4f4d\u7cfb\u7edf\u53608\u5b57\u8282\u3002\u5185\u5bb9\u5305\u62ec\u6307\u9488\u7c7b\u578b\uff08\u6574\u578b\u3001\u5b57\u7b26\u578b\u3001\u6570\u7ec4\u6307\u9488\u7b49\uff09\u3001\u6307\u9488\u5b9a\u4e49\u89c4\u8303\uff08\u907f\u514d\u91ce\u6307\u9488\uff09\u3001const\u4fee\u9970\u6307\u9488\u7684\u4f5c\u7528\u3001\u6307\u9488\u4e0e\u6570\u7ec4\u7684\u5173\u7cfb\uff08\u6570\u7ec4\u6307\u9488\u4e0e\u6307\u9488\u6570\u7ec4\u7684\u533a\u522b\uff09\u3001\u6307\u9488\u8fd0\u7b97\u89c4\u5219\uff08\u5730\u5740\u504f\u79fb\u91cf\u7531\u57fa\u7c7b\u578b\u51b3\u5b9a\uff09\u3002\u91cd\u70b9\u8bb2\u89e3\u4e86\u6307\u9488\u7684\u6838\u5fc3\u7528\u9014\u2014\u2014\u5b9e\u73b0\u51fd\u6570\u95f4\u6570\u636e\u4fee\u6539\uff0c\u5e76\u901a\u8fc7\u5b9e\u4f8b\u6f14\u793a\u4e86\u6307\u9488\u5728\u53d8\u91cf\u4ea4\u6362\u3001\u6781\u503c\u67e5\u627e\u4e2d\u7684\u5e94\u7528\u3002\u6587\u7ae0\u8fd8\u8be6\u7ec6\u5206\u6790\u4e86\u4e8c\u7ef4\u6570\u7ec4\u7684\u6307\u9488\u8868\u793a\u65b9\u6cd5\uff0c\u4ee5\u53ca\u5b57\u7b26\u6307\u9488\u7684\u7279\u70b9\u548c\u6ce8\u610f\u4e8b\u9879\u3002\u6700\u540e\u5f3a\u8c03\u4e86\u6307\u9488\u6bd4\u8f83\u5e94\u5224\u65ad\u5730\u5740\u503c\u662f\u5426\u76f8\u540c\u3002\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.wsisp.com\/helps\/47778.html\" \/>\n<meta property=\"og:site_name\" content=\"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"article:published_time\" content=\"2025-07-30T01:17:34+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/07\/20250730011729-688972a9293e9.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=\"7 \u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/47778.html\",\"url\":\"https:\/\/www.wsisp.com\/helps\/47778.html\",\"name\":\"C\u8bed\u8a00\uff1a\u6307\u9488\u90e8\u5206 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"isPartOf\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\"},\"datePublished\":\"2025-07-30T01:17:34+00:00\",\"dateModified\":\"2025-07-30T01:17:34+00:00\",\"author\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/47778.html#breadcrumb\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.wsisp.com\/helps\/47778.html\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/47778.html#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"https:\/\/www.wsisp.com\/helps\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"C\u8bed\u8a00\uff1a\u6307\u9488\u90e8\u5206\"}]},{\"@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":"C\u8bed\u8a00\uff1a\u6307\u9488\u90e8\u5206 - \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\/47778.html","og_locale":"zh_CN","og_type":"article","og_title":"C\u8bed\u8a00\uff1a\u6307\u9488\u90e8\u5206 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","og_description":"\u6587\u7ae0\u6d4f\u89c8\u9605\u8bfb241\u6b21\uff0c\u70b9\u8d5e9\u6b21\uff0c\u6536\u85cf4\u6b21\u3002\u8fd9\u7bc7\u6587\u7ae0\u4e3b\u8981\u4ecb\u7ecd\u4e86\u6307\u9488\u7684\u57fa\u7840\u6982\u5ff5\u53ca\u5e94\u7528\u3002\u6307\u9488\u662f\u4e00\u79cd\u5b58\u50a8\u5730\u5740\u7684\u6570\u636e\u7c7b\u578b\uff0c\u572832\u4f4d\u7cfb\u7edf\u53604\u5b57\u8282\uff0c64\u4f4d\u7cfb\u7edf\u53608\u5b57\u8282\u3002\u5185\u5bb9\u5305\u62ec\u6307\u9488\u7c7b\u578b\uff08\u6574\u578b\u3001\u5b57\u7b26\u578b\u3001\u6570\u7ec4\u6307\u9488\u7b49\uff09\u3001\u6307\u9488\u5b9a\u4e49\u89c4\u8303\uff08\u907f\u514d\u91ce\u6307\u9488\uff09\u3001const\u4fee\u9970\u6307\u9488\u7684\u4f5c\u7528\u3001\u6307\u9488\u4e0e\u6570\u7ec4\u7684\u5173\u7cfb\uff08\u6570\u7ec4\u6307\u9488\u4e0e\u6307\u9488\u6570\u7ec4\u7684\u533a\u522b\uff09\u3001\u6307\u9488\u8fd0\u7b97\u89c4\u5219\uff08\u5730\u5740\u504f\u79fb\u91cf\u7531\u57fa\u7c7b\u578b\u51b3\u5b9a\uff09\u3002\u91cd\u70b9\u8bb2\u89e3\u4e86\u6307\u9488\u7684\u6838\u5fc3\u7528\u9014\u2014\u2014\u5b9e\u73b0\u51fd\u6570\u95f4\u6570\u636e\u4fee\u6539\uff0c\u5e76\u901a\u8fc7\u5b9e\u4f8b\u6f14\u793a\u4e86\u6307\u9488\u5728\u53d8\u91cf\u4ea4\u6362\u3001\u6781\u503c\u67e5\u627e\u4e2d\u7684\u5e94\u7528\u3002\u6587\u7ae0\u8fd8\u8be6\u7ec6\u5206\u6790\u4e86\u4e8c\u7ef4\u6570\u7ec4\u7684\u6307\u9488\u8868\u793a\u65b9\u6cd5\uff0c\u4ee5\u53ca\u5b57\u7b26\u6307\u9488\u7684\u7279\u70b9\u548c\u6ce8\u610f\u4e8b\u9879\u3002\u6700\u540e\u5f3a\u8c03\u4e86\u6307\u9488\u6bd4\u8f83\u5e94\u5224\u65ad\u5730\u5740\u503c\u662f\u5426\u76f8\u540c\u3002","og_url":"https:\/\/www.wsisp.com\/helps\/47778.html","og_site_name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","article_published_time":"2025-07-30T01:17:34+00:00","og_image":[{"url":"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/07\/20250730011729-688972a9293e9.png"}],"author":"admin","twitter_card":"summary_large_image","twitter_misc":{"\u4f5c\u8005":"admin","\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4":"7 \u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.wsisp.com\/helps\/47778.html","url":"https:\/\/www.wsisp.com\/helps\/47778.html","name":"C\u8bed\u8a00\uff1a\u6307\u9488\u90e8\u5206 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","isPartOf":{"@id":"https:\/\/www.wsisp.com\/helps\/#website"},"datePublished":"2025-07-30T01:17:34+00:00","dateModified":"2025-07-30T01:17:34+00:00","author":{"@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41"},"breadcrumb":{"@id":"https:\/\/www.wsisp.com\/helps\/47778.html#breadcrumb"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.wsisp.com\/helps\/47778.html"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.wsisp.com\/helps\/47778.html#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"https:\/\/www.wsisp.com\/helps"},{"@type":"ListItem","position":2,"name":"C\u8bed\u8a00\uff1a\u6307\u9488\u90e8\u5206"}]},{"@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\/47778","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=47778"}],"version-history":[{"count":0,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/47778\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media\/47758"}],"wp:attachment":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media?parent=47778"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/categories?post=47778"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/tags?post=47778"},{"taxonomy":"topic","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/topic?post=47778"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}