{"id":50845,"date":"2025-08-10T12:45:27","date_gmt":"2025-08-10T04:45:27","guid":{"rendered":"https:\/\/www.wsisp.com\/helps\/50845.html"},"modified":"2025-08-10T12:45:27","modified_gmt":"2025-08-10T04:45:27","slug":"c%e8%af%ad%e8%a8%80%ef%bc%9a%e7%a8%8b%e5%ba%8f%e7%8e%af%e5%a2%83%e5%92%8c%e9%a2%84%e5%a4%84%e7%90%86","status":"publish","type":"post","link":"https:\/\/www.wsisp.com\/helps\/50845.html","title":{"rendered":"C\u8bed\u8a00\uff1a\u7a0b\u5e8f\u73af\u5883\u548c\u9884\u5904\u7406"},"content":{"rendered":"<p id=\"main-toc\">\u76ee\u5f55<\/p>\n<p id=\"1.%20%E7%A8%8B%E5%BA%8F%E7%9A%84%E7%BF%BB%E8%AF%91%E7%8E%AF%E5%A2%83%E5%92%8C%E6%89%A7%E8%A1%8C%E7%8E%AF%E5%A2%83-toc\" style=\"margin-left:0px\">1. \u7a0b\u5e8f\u7684\u7ffb\u8bd1\u73af\u5883\u548c\u6267\u884c\u73af\u5883<\/p>\n<p id=\"2.%20%E7%BF%BB%E8%AF%91%E7%8E%AF%E5%A2%83-toc\" style=\"margin-left:0px\">2. \u7ffb\u8bd1\u73af\u5883<\/p>\n<p id=\"%E5%8F%AF%E6%89%A7%E8%A1%8C%E7%A8%8B%E5%BA%8F%E5%BD%A2%E6%88%90%E7%9A%84%E6%B5%81%E7%A8%8B%E5%9B%BE%EF%BC%9A-toc\" style=\"margin-left:40px\">\u53ef\u6267\u884c\u7a0b\u5e8f\u5f62\u6210\u7684\u6d41\u7a0b\u56fe&#xff1a;<\/p>\n<p id=\"2.1%E9%A2%84%E5%A4%84%E7%90%86%EF%BC%88%E9%A2%84%E7%BC%96%E8%AF%91%EF%BC%89-toc\" style=\"margin-left:40px\">2.1\u9884\u5904\u7406&#xff08;\u9884\u7f16\u8bd1&#xff09;<\/p>\n<p id=\"%E5%91%BD%E4%BB%A4%E5%A6%82%E4%B8%8B%3A-toc\" style=\"margin-left:80px\">\u547d\u4ee4\u5982\u4e0b:<\/p>\n<p id=\"2.2%20%E7%BC%96%E8%AF%91-toc\" style=\"margin-left:40px\">2.2 \u7f16\u8bd1<\/p>\n<p id=\"%E7%BC%96%E8%AF%91%E8%BF%87%E7%A8%8B%E7%9A%84%E5%91%BD%E4%BB%A4%E5%A6%82%E4%B8%8B%3A-toc\" style=\"margin-left:80px\">\u7f16\u8bd1\u8fc7\u7a0b\u7684\u547d\u4ee4\u5982\u4e0b:<\/p>\n<p id=\"2.2.1%20%E8%AF%8D%E6%B3%95%E5%88%86%E6%9E%90-toc\" style=\"margin-left:80px\">2.2.1 \u8bcd\u6cd5\u5206\u6790<\/p>\n<p id=\"2.2.2%20%E8%AF%AD%E6%B3%95%E5%88%86%E6%9E%90-toc\" style=\"margin-left:80px\">2.2.2 \u8bed\u6cd5\u5206\u6790<\/p>\n<p id=\"2.2.3%20%E8%AF%AD%E4%B9%89%E5%88%86%E6%9E%90-toc\" style=\"margin-left:80px\">2.2.3 \u8bed\u4e49\u5206\u6790<\/p>\n<p id=\"2.3%20%E6%B1%87%E7%BC%96-toc\" style=\"margin-left:40px\">2.3 \u6c47\u7f16<\/p>\n<p id=\"%E6%B1%87%E7%BC%96%E7%9A%84%E5%91%BD%E4%BB%A4%E5%A6%82%E4%B8%8B%3A-toc\" style=\"margin-left:80px\">\u6c47\u7f16\u7684\u547d\u4ee4\u5982\u4e0b:<\/p>\n<p id=\"2.4%20%E9%93%BE%E6%8E%A5-toc\" style=\"margin-left:40px\">2.4 \u94fe\u63a5<\/p>\n<p id=\"%E6%AF%94%E5%A6%82%3A-toc\" style=\"margin-left:80px\">\u6bd4\u5982:<\/p>\n<p id=\"3.%E8%BF%90%E8%A1%8C%E7%8E%AF%E5%A2%83-toc\" style=\"margin-left:0px\">3.\u8fd0\u884c\u73af\u5883<\/p>\n<p id=\"4.%E9%A2%84%E5%A4%84%E7%90%86%E8%AF%A6%E8%A7%A3-toc\" style=\"margin-left:0px\">4.\u9884\u5904\u7406\u8be6\u89e3<\/p>\n<p id=\"4.1%20%E9%A2%84%E5%AE%9A%E4%B9%89%E7%AC%A6%E5%8F%B7-toc\" style=\"margin-left:40px\">4.1 \u9884\u5b9a\u4e49\u7b26\u53f7<\/p>\n<p id=\"%E4%BE%8B%E5%AD%90%EF%BC%9A-toc\" style=\"margin-left:80px\">\u4f8b\u5b50&#xff1a;<\/p>\n<p id=\"4.2%20%23define-toc\" style=\"margin-left:40px\">4.2 #define<\/p>\n<p id=\"4.2.1%20%23define%20%E5%AE%9A%E4%B9%89%E6%A0%87%E8%AF%86%E7%AC%A6-toc\" style=\"margin-left:80px\">4.2.1 #define \u5b9a\u4e49\u6807\u8bc6\u7b26<\/p>\n<p id=\"%E4%BE%8B%E5%AD%90%EF%BC%9A-toc\" style=\"margin-left:120px\">\u4f8b\u5b50&#xff1a;<\/p>\n<p id=\"4.2.2%20%23define%20%E5%AE%9A%E4%B9%89%E5%AE%8F-toc\" style=\"margin-left:80px\">4.2.2 #define \u5b9a\u4e49\u5b8f<\/p>\n<p id=\"4.2.3%20%23define%EF%BC%88%E5%AE%8F%EF%BC%89%20%E6%9B%BF%E6%8D%A2%E8%A7%84%E5%88%99-toc\" style=\"margin-left:80px\">4.2.3 #define&#xff08;\u5b8f&#xff09; \u66ff\u6362\u89c4\u5219<\/p>\n<p id=\"4.2.4%20%E5%B8%A6%E5%89%AF%E4%BD%9C%E7%94%A8%E7%9A%84%E5%AE%8F%E5%8F%82%E6%95%B0-toc\" style=\"margin-left:80px\">4.2.4 \u5e26\u526f\u4f5c\u7528\u7684\u5b8f\u53c2\u6570<\/p>\n<p id=\"4.2.5%20%E5%AE%8F%E5%92%8C%E5%87%BD%E6%95%B0%E5%AF%B9%E6%AF%94-toc\" style=\"margin-left:80px\">4.2.5 \u5b8f\u548c\u51fd\u6570\u5bf9\u6bd4<\/p>\n<p id=\"%E5%AE%8F%E5%92%8C%E5%87%BD%E6%95%B0%E7%9A%84%E4%B8%80%E4%B8%AA%E5%AF%B9%E6%AF%94-toc\" style=\"margin-left:120px\">\u5b8f\u548c\u51fd\u6570\u7684\u4e00\u4e2a\u5bf9\u6bd4<\/p>\n<p id=\"%E5%91%BD%E5%90%8D%E7%BA%A6%E5%AE%9A-toc\" style=\"margin-left:120px\">\u547d\u540d\u7ea6\u5b9a<\/p>\n<p id=\"4.2.6%20%23%E5%92%8C%23%23%E8%BF%90%E7%AE%97%E7%AC%A6-toc\" style=\"margin-left:80px\">4.2.6 #\u548c##\u8fd0\u7b97\u7b26<\/p>\n<p id=\"%23%E8%BF%90%E7%AE%97%E7%AC%A6-toc\" style=\"margin-left:120px\">#\u8fd0\u7b97\u7b26<\/p>\n<p id=\"%23%23%E8%BF%90%E7%AE%97%E7%AC%A6-toc\" style=\"margin-left:120px\">##\u8fd0\u7b97\u7b26<\/p>\n<p id=\"%E6%AF%94%E5%A6%82%EF%BC%9A-toc\" style=\"margin-left:160px\">\u6bd4\u5982&#xff1a;<\/p>\n<p id=\"4.3%20%E5%91%BD%E5%90%8D%E7%BA%A6%E5%AE%9A-toc\" style=\"margin-left:40px\">4.3 \u547d\u540d\u7ea6\u5b9a<\/p>\n<p id=\"4.4%20%23undef-toc\" style=\"margin-left:40px\">4.4 #undef<\/p>\n<p id=\"4.5%20%E5%91%BD%E4%BB%A4%E8%A1%8C%E5%AE%9A%E4%B9%89-toc\" style=\"margin-left:40px\">4.5 \u547d\u4ee4\u884c\u5b9a\u4e49<\/p>\n<p id=\"%E7%BC%96%E8%AF%91%E6%8C%87%E4%BB%A4%EF%BC%9A-toc\" style=\"margin-left:80px\">\u7f16\u8bd1\u6307\u4ee4&#xff1a;<\/p>\n<p id=\"4.6%20%E6%9D%A1%E4%BB%B6%E7%BC%96%E8%AF%91-toc\" style=\"margin-left:40px\">4.6 \u6761\u4ef6\u7f16\u8bd1<\/p>\n<p id=\"4.7%20%E6%96%87%E4%BB%B6%E5%8C%85%E5%90%AB-toc\" style=\"margin-left:40px\">4.7 \u6587\u4ef6\u5305\u542b<\/p>\n<p id=\"4.7.1%20%E5%A4%B4%E6%96%87%E4%BB%B6%E8%A2%AB%E5%8C%85%E5%90%AB%E7%9A%84%E6%96%B9%E5%BC%8F%EF%BC%9A-toc\" style=\"margin-left:80px\">4.7.1 \u5934\u6587\u4ef6\u88ab\u5305\u542b\u7684\u65b9\u5f0f&#xff1a;<\/p>\n<p id=\"Linux%E7%8E%AF%E5%A2%83%E7%9A%84%E6%A0%87%E5%87%86%E5%A4%B4%E6%96%87%E4%BB%B6%E7%9A%84%E8%B7%AF%E5%BE%84%EF%BC%9A-toc\" style=\"margin-left:120px\">Linux\u73af\u5883\u7684\u6807\u51c6\u5934\u6587\u4ef6\u7684\u8def\u5f84&#xff1a;<\/p>\n<p id=\"VS%E7%8E%AF%E5%A2%83%E7%9A%84%E6%A0%87%E5%87%86%E5%A4%B4%E6%96%87%E4%BB%B6%E7%9A%84%E8%B7%AF%E5%BE%84%EF%BC%9A-toc\" style=\"margin-left:120px\">VS\u73af\u5883\u7684\u6807\u51c6\u5934\u6587\u4ef6\u7684\u8def\u5f84&#xff1a;<\/p>\n<p id=\"4.7.2%20%E5%B5%8C%E5%A5%97%E6%96%87%E4%BB%B6%E5%8C%85%E5%90%AB-toc\" style=\"margin-left:80px\">4.7.2 \u5d4c\u5957\u6587\u4ef6\u5305\u542b<\/p>\n<p id=\"4.8%20%E5%85%B6%E4%BB%96%E9%A2%84%E5%A4%84%E7%90%86%E6%8C%87%E4%BB%A4-toc\" style=\"margin-left:40px\">4.8 \u5176\u4ed6\u9884\u5904\u7406\u6307\u4ee4<\/p>\n<hr id=\"hr-toc\" \/>\n<h2>1. \u7a0b\u5e8f\u7684\u7ffb\u8bd1\u73af\u5883\u548c\u6267\u884c\u73af\u5883<\/h2>\n<p>\u5728ANSI C\u7684\u4efb\u4f55\u4e00\u79cd\u5b9e\u73b0\u4e2d&#xff0c;\u5b58\u5728\u4e24\u4e2a\u4e0d\u540c\u7684\u73af\u5883<\/p>\n<p>\u7b2c1\u79cd\u662f\u7ffb\u8bd1\u73af\u5883&#xff0c;\u5728\u8fd9\u4e2a\u73af\u5883\u4e2d\u6e90\u4ee3\u7801\u88ab\u8f6c\u6362\u4e3a\u53ef\u6267\u884c\u7684\u673a\u5668\u6307\u4ee4<\/p>\n<p>\u7b2c2\u79cd\u662f\u6267\u884c\u73af\u5883&#xff0c;\u5b83\u7528\u4e8e\u5b9e\u9645\u6267\u884c\u4ee3\u7801<\/p>\n<hr \/>\n<h2 id=\"2.%20%E7%BF%BB%E8%AF%91%E7%8E%AF%E5%A2%83\">2. \u7ffb\u8bd1\u73af\u5883<\/h2>\n<p>\u90a3\u7ffb\u8bd1\u73af\u5883\u662f\u600e\u4e48\u5c06\u6e90\u4ee3\u7801\u8f6c\u6362\u4e3a\u53ef\u6267\u884c\u7684\u673a\u5668\u6307\u4ee4\u7684\u5462?\u8fd9\u91cc\u6211\u4eec\u5c31\u5f97\u5c55\u5f00\u5f00\u8bb2\u89e3\u4e00\u4e0b\u7ffb\u8bd1\u73af\u5883\u6240\u505a\u7684\u4e8b\u60c5,\u5176\u5b9e\u7ffb\u8bd1\u73af\u5883\u662f\u7531\u7f16\u8bd1\u548c\u94fe\u63a5\u4e24\u4e2a\u5927\u7684\u8fc7\u7a0b\u7ec4\u6210\u7684&#xff0c;\u800c\u7f16\u8bd1\u53c8\u53ef\u4ee5\u5206\u89e3\u6210:\u9884\u5904\u7406(\u6709\u4e9b\u4e66\u4e5f\u53eb\u9884\u7f16\u8bd1)\u3001\u7f16\u8bd1\u6c47\u7f16\u4e09\u4e2a\u8fc7\u7a0b\u3002<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" class=\"left\" height=\"421\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/08\/20250810044518-689823de6fdc8.png\" width=\"500\" \/><\/p>\n<p>\u4e00\u4e2aC\u8bed\u8a00\u7684\u9879\u76ee\u4e2d\u53ef\u80fd\u6709\u591a\u4e2a.c\u6587\u4ef6\u4e00\u8d77\u6784\u5efa&#xff0c;\u90a3\u591a\u4e2a.c \u6587\u4ef6\u5982\u4f55\u751f\u6210\u53ef\u6267\u884c\u7a0b\u5e8f\u5462?<\/p>\n<p>\u591a\u4e2a.c\u6587\u4ef6\u5355\u72ec\u7ecf\u8fc7\u7f16\u8bd1\u5668&#xff0c;\u7f16\u8bd1\u5904\u7406\u751f\u6210\u5bf9\u5e94\u7684\u76ee\u6807\u6587\u4ef6\u3002<\/p>\n<p>\u6ce8:\u5728Windows\u73af\u5883\u4e0b\u7684\u76ee\u6807\u6587\u4ef6\u7684\u540e\u7f00\u662f.obj&#xff0c;Linux\u73af\u5883\u4e0b\u76ee\u6807\u6587\u4ef6\u7684\u540e\u7f00\u662f.0\u591a\u4e2a\u76ee\u6807\u6587\u4ef6\u548c\u94fe\u63a5\u5e93\u4e00\u8d77\u7ecf\u8fc7\u94fe\u63a5\u5668\u5904\u7406\u751f\u6210\u6700\u7ec8\u7684\u53ef\u6267\u884c\u7a0b\u5e8f\u3002<\/p>\n<p>\u94fe\u63a5\u5e93\u662f\u6307\u8fd0\u884c\u65f6\u5e93(\u5b83\u662f\u652f\u6301\u7a0b\u5e8f\u8fd0\u884c\u7684\u57fa\u672c\u51fd\u6570\u96c6\u5408)\u6216\u8005\u7b2c\u4e09\u65b9\u5e93\u3002<\/p>\n<h3 id=\"%E5%8F%AF%E6%89%A7%E8%A1%8C%E7%A8%8B%E5%BA%8F%E5%BD%A2%E6%88%90%E7%9A%84%E6%B5%81%E7%A8%8B%E5%9B%BE%EF%BC%9A\">\u53ef\u6267\u884c\u7a0b\u5e8f\u5f62\u6210\u7684\u6d41\u7a0b\u56fe&#xff1a;<\/h3>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" class=\"left\" height=\"327\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/08\/20250810044520-689823e0404ca.png\" width=\"500\" \/><\/p>\n<h3 id=\"2.1%E9%A2%84%E5%A4%84%E7%90%86%EF%BC%88%E9%A2%84%E7%BC%96%E8%AF%91%EF%BC%89\">2.1\u9884\u5904\u7406&#xff08;\u9884\u7f16\u8bd1&#xff09;<\/h3>\n<p>\u5728\u9884\u5904\u7406\u9636\u6bb5&#xff0c;\u6e90\u6587\u4ef6\u548c\u5934\u6587\u4ef6\u4f1a\u88ab\u5904\u7406\u6210\u4e3a.i\u4e3a\u540e\u7f00\u7684\u6587\u4ef6\u3002<\/p>\n<p>\u5728 gcc\u73af\u5883\u4e0b\u60f3\u89c2\u5bdf\u4e00\u4e0b&#xff0c;\u5bf9 test.c \u6587\u4ef6\u9884\u5904\u7406\u540e\u7684.i\u6587\u4ef6<\/p>\n<h4 id=\"%E5%91%BD%E4%BB%A4%E5%A6%82%E4%B8%8B%3A\">\u547d\u4ee4\u5982\u4e0b:<\/h4>\n<p>\u200b\u200b\u200b\u200bgcc -E test.c -o test.i<\/p>\n<p>\u9884\u5904\u7406\u9636\u6bb5\u4e3b\u8981\u5904\u7406\u90a3\u4e9b\u6e90\u6587\u4ef6\u4e2d#\u5f00\u59cb\u7684\u9884\u7f16\u8bd1\u6307\u4ee4\u3002\u6bd4\u5982:#include&#xff0c;#define&#xff0c;\u5904\u7406\u7684\u89c4\u5219\u5982\u4e0b:<\/p>\n<p>\u5c06\u6240\u6709\u7684 #define \u5220\u9664&#xff0c;\u5e76\u5c55\u5f00\u6240\u6709\u7684\u5b8f\u5b9a\u4e49\u3002<\/p>\n<p>\u5904\u7406\u6240\u6709\u7684\u6761\u4ef6\u7f16\u8bd1\u6307\u4ee4&#xff0c;\u5982:#if\u3001#ifdef\u3001#elif\u3001#else\u3001#endif\u3002<\/p>\n<p>\u5904\u7406#include \u9884\u7f16\u8bd1\u6307\u4ee4&#xff0c;\u5c06\u5305\u542b\u7684\u5934\u6587\u4ef6\u7684\u5185\u5bb9\u63d2\u5165\u5230\u8be5\u9884\u7f16\u8bd1\u6307\u4ee4\u7684\u4f4d\u7f6e\u3002\u8fd9\u4e2a\u8fc7\u7a0b\u662f\u9012\u5f52\u8fdb\u884c\u7684&#xff0c;\u4e5f\u5c31\u662f\u8bf4\u88ab\u5305\u542b\u7684\u5934\u6587\u4ef6\u4e5f\u53ef\u80fd\u5305\u542b\u5176\u4ed6\u6587\u4ef6\u3002<\/p>\n<p>\u5220\u9664\u6240\u6709\u7684\u6ce8\u91ca<\/p>\n<p>\u6dfb\u52a0\u884c\u53f7\u548c\u6587\u4ef6\u540d\u6807\u8bc6&#xff0c;\u65b9\u4fbf\u540e\u7eed\u7f16\u8bd1\u5668\u751f\u6210\u8c03\u8bd5\u4fe1\u606f\u7b49<\/p>\n<p>\u4fdd\u7559\u6240\u6709\u7684#pragma\u7684\u7f16\u8bd1\u5668\u6307\u4ee4&#xff0c;\u7f16\u8bd1\u5668\u540e\u7eed\u4f1a\u4f7f\u7528\u3002\u7ecf\u8fc7\u9884\u5904\u7406\u540e\u7684.i \u6587\u4ef6\u4e2d\u4e0d\u518d\u5305\u542b\u5b8f\u5b9a\u4e49&#xff0c;\u56e0\u4e3a\u5b8f\u5df2\u7ecf\u88ab\u5c55\u5f00\u3002\u5e76\u4e14\u5305\u542b\u7684\u5934\u6587\u4ef6\u90fd\u88ab\u63d2\u5165\u5230.i\u6587\u4ef6\u4e2d\u3002\u6240\u4ee5\u5f53\u6211\u4eec\u65e0\u6cd5\u77e5\u9053\u5b8f\u5b9a\u4e49\u6216\u8005\u5934\u6587\u4ef6\u662f\u5426\u5305\u542b\u6b63\u786e\u7684\u65f6\u5019&#xff0c;\u53ef\u4ee5\u67e5\u770b\u9884\u5904\u7406\u540e\u7684.i \u6587\u4ef6\u6765\u786e\u8ba4\u3002<\/p>\n<h3 id=\"2.2%20%E7%BC%96%E8%AF%91\">2.2 \u7f16\u8bd1<\/h3>\n<p>\u7f16\u8bd1\u8fc7\u7a0b\u5c31\u662f\u5c06\u9884\u5904\u7406\u540e\u7684\u6587\u4ef6\u8fdb\u884c\u4e00\u7cfb\u5217\u7684:\u8bcd\u6cd5\u5206\u6790\u3001\u8bed\u6cd5\u5206\u6790\u3001\u8bed\u4e49\u5206\u6790\u53ca\u4f18\u5316&#xff0c;\u751f\u6210\u76f8\u5e94\u7684\u6c47\u7f16\u4ee3\u7801\u6587\u4ef6\u3002<\/p>\n<h4 id=\"%E7%BC%96%E8%AF%91%E8%BF%87%E7%A8%8B%E7%9A%84%E5%91%BD%E4%BB%A4%E5%A6%82%E4%B8%8B%3A\" style=\"background-color:transparent\">\u7f16\u8bd1\u8fc7\u7a0b\u7684\u547d\u4ee4\u5982\u4e0b:<\/h4>\n<p>gcc -S test.i -o test.s<\/p>\n<p>\u5bf9\u4e0b\u9762\u4ee3\u7801\u8fdb\u884c\u7f16\u8bd1\u7684\u65f6\u5019&#xff0c;\u4f1a\u600e\u4e48\u505a\u5462?\u5047\u8bbe\u6709\u4e0b\u9762\u7684\u4ee3\u7801<\/p>\n<p>array[index] &#061; (index&#043;4)*(2&#043;6);<\/p>\n<h4 id=\"2.2.1%20%E8%AF%8D%E6%B3%95%E5%88%86%E6%9E%90\">2.2.1 \u8bcd\u6cd5\u5206\u6790<\/h4>\n<p>\u5c06\u6e90\u4ee3\u7801\u7a0b\u5e8f\u88ab\u8f93\u5165\u626b\u63cf\u5668&#xff0c;\u626b\u63cf\u5668\u7684\u4efb\u52a1\u5c31\u662f\u7b80\u5355\u7684\u8fdb\u884c\u8bcd\u6cd5\u5206\u6790&#xff0c;\u628a\u4ee3\u7801\u4e2d\u7684\u5b57\u7b26\u5206\u5272\u6210\u4e00\u7cfb\u5217\u7684\u8bb0\u53f7(\u5173\u952e\u5b57\u3001\u6807\u8bc6\u7b26\u3001\u5b57\u9762\u91cf\u3001\u7279\u6b8a\u5b57\u7b26\u7b49)<\/p>\n<p>\u4e0a\u9762\u7a0b\u5e8f\u8fdb\u884c\u8bcd\u6cd5\u5206\u6790\u540e\u5f97\u5230\u4e8616\u4e2a\u8bb0\u53f7:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" class=\"left\" height=\"517\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/08\/20250810044520-689823e0b2c36.png\" width=\"500\" \/><\/p>\n<h4 id=\"2.2.2%20%E8%AF%AD%E6%B3%95%E5%88%86%E6%9E%90\">2.2.2 \u8bed\u6cd5\u5206\u6790<\/h4>\n<p>\u63a5\u4e0b\u6765\u8bed\u6cd5\u5206\u6790\u5668&#xff0c;\u5c06\u5bf9\u626b\u63cf\u4ea7\u751f\u7684\u8bb0\u53f7\u8fdb\u884c\u8bed\u6cd5\u5206\u6790&#xff0c;\u4ece\u800c\u4ea7\u751f\u8bed\u6cd5\u6811\u3002\u8fd9\u4e9b\u8bed\u6cd5\u6811\u662f\u4ee5\u8868\u8fbe\u5f0f\u4e3a\u8282\u70b9\u7684\u6811<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" class=\"left\" height=\"282\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/08\/20250810044521-689823e1529a3.png\" width=\"500\" \/><\/p>\n<h4 id=\"2.2.3%20%E8%AF%AD%E4%B9%89%E5%88%86%E6%9E%90\">2.2.3 \u8bed\u4e49\u5206\u6790<\/h4>\n<p>\u7531\u8bed\u4e49\u5206\u6790\u5668\u6765\u5b8c\u6210\u8bed\u4e49\u5206\u6790&#xff0c;\u5373\u5bf9\u8868\u8fbe\u5f0f\u7684\u8bed\u6cd5\u5c42\u9762\u5206\u6790\u3002\u7f16\u8bd1\u5668\u6240\u80fd\u505a\u7684\u5206\u6790\u662f\u8bed\u4e49\u7684\u9759\u6001\u5206\u6790\u3002\u9759\u6001\u8bed\u4e49\u5206\u6790\u901a\u5e38\u5305\u62ec\u58f0\u660e\u548c\u7c7b\u578b\u7684\u5339\u914d&#xff0c;\u7c7b\u578b\u7684\u8f6c\u6362\u7b49\u3002\u8fd9\u4e2a\u9636\u6bb5\u4f1a\u62a5\u544a\u9519\u8bef\u7684\u8bed\u6cd5\u4fe1\u606f<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" class=\"left\" height=\"284\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/08\/20250810044521-689823e1d2cfd.png\" width=\"500\" \/><\/p>\n<h3 id=\"2.3%20%E6%B1%87%E7%BC%96\">2.3 \u6c47\u7f16<\/h3>\n<p>\u6c47\u7f16\u5668\u662f\u5c06\u6c47\u7f16\u4ee3\u7801\u8f6c\u8f6c\u53d8\u6210\u673a\u5668\u53ef\u6267\u884c\u7684\u6307\u4ee4&#xff08;\u4e8c\u8fdb\u5236\u6307\u4ee4&#xff09;&#xff0c;\u6bcf\u4e00\u4e2a\u6c47\u7f16\u8bed\u53e5\u51e0\u4e4e\u90fd\u5bf9\u5e94\u4e00\u6761\u673a\u5668\u6307\u4ee4\u3002\u5c31\u662f\u6839\u636e\u6c47\u7f16\u6307\u4ee4\u548c\u673a\u5668\u6307\u4ee4\u7684\u5bf9\u7167\u8868\u4e00\u4e00\u7684\u8fdb\u884c\u7ffb\u8bd1&#xff0c;\u4e5f\u4e0d\u505a\u6307\u4ee4\u4f18\u5316<\/p>\n<h4 id=\"%E6%B1%87%E7%BC%96%E7%9A%84%E5%91%BD%E4%BB%A4%E5%A6%82%E4%B8%8B%3A\">\u6c47\u7f16\u7684\u547d\u4ee4\u5982\u4e0b:<\/h4>\n<p>gcc -c test.s -o test.o<\/p>\n<h3 id=\"2.4%20%E9%93%BE%E6%8E%A5\">2.4 \u94fe\u63a5<\/h3>\n<p>\u94fe\u63a5\u662f\u4e00\u4e2a\u590d\u6742\u7684\u8fc7\u7a0b&#xff0c;\u94fe\u63a5\u7684\u65f6\u5019\u9700\u8981\u628a\u4e00\u5806\u6587\u4ef6\u94fe\u63a5\u5728\u4e00\u8d77\u624d\u751f\u6210\u53ef\u6267\u884c\u7a0b\u5e8f\u3002<\/p>\n<p>\u94fe\u63a5\u8fc7\u7a0b\u4e3b\u8981\u5305\u62ec:\u5730\u5740\u548c\u7a7a\u95f4\u5206\u914d&#xff0c;\u7b26\u53f7\u51b3\u8bae\u548c\u91cd\u5b9a\u4f4d\u7b49\u8fd9\u4e9b\u6b65\u9aa4<\/p>\n<p>\u94fe\u63a5\u89e3\u51b3\u7684\u662f\u4e00\u4e2a\u9879\u76ee\u4e2d\u591a\u6587\u4ef6\u3001\u591a\u6a21\u5757\u4e4b\u95f4\u4e92\u76f8\u8c03\u7528\u7684\u95ee\u9898<\/p>\n<h4 id=\"%E6%AF%94%E5%A6%82%3A\">\u6bd4\u5982:<\/h4>\n<p>\u5728\u4e00\u4e2aC\u7684\u9879\u76ee\u4e2d\u67092\u4e2a.c\u6587\u4ef6(test.c\u548cadd.c)&#xff0c;\u4ee3\u7801\u5982\u4e0b<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" class=\"left\" height=\"226\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/08\/20250810044522-689823e25ded0.png\" width=\"500\" \/><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"259\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/08\/20250810044522-689823e2c1bb7.png\" width=\"500\" \/><\/p>\n<p>\u6211\u4eec\u5df2\u7ecf\u77e5\u9053&#xff0c;\u6bcf\u4e2a\u6e90\u6587\u4ef6\u90fd\u662f\u5355\u72ec\u7ecf\u8fc7\u7f16\u8bd1\u5668\u5904\u7406\u751f\u6210\u5bf9\u5e94\u7684\u76ee\u6807\u6587\u4ef6\u3002<\/p>\n<p>test.c \u7ecf\u8fc7\u7f16\u8bd1\u5668\u5904\u7406\u751f\u6210 test.o<\/p>\n<p>add.c\u7ecf\u8fc7\u7f16\u8bd1\u5668\u5904\u7406\u751f\u6210 add.o<\/p>\n<p>\u6211\u4eec\u5728 test.c\u7684\u6587\u4ef6\u4e2d\u4f7f\u7528\u4e86 add.c \u6587\u4ef6\u4e2d\u7684 Add \u51fd\u6570\u548c g val \u53d8\u91cf\u3002<\/p>\n<p>\u6211\u4eec\u5728 test.c\u6587\u4ef6\u4e2d\u6bcf\u4e00\u6b21\u4f7f\u7528 Add \u51fd\u6570\u548c g_va1 \u7684\u65f6\u5019\u5fc5\u987b\u786e\u5207\u7684\u77e5\u9053 Add \u548c g_va1 \u7684\u5730\u5740&#xff0c;\u4f46\u662f\u7531\u4e8e\u6bcf\u4e2a\u6587\u4ef6\u662f\u5355\u72ec\u7f16\u8bd1\u7684&#xff0c;\u5728\u7f16\u8bd1\u5668\u7f16\u8bd1 test.c\u7684\u65f6\u5019\u5e76\u4e0d\u77e5\u9053 Add \u51fd\u6570\u548c g_va1 \u53d8\u91cf\u7684\u5730\u5740&#xff0c;\u6240\u4ee5\u6682\u65f6\u628a\u8c03\u7528Add \u7684\u6307\u4ee4\u7684\u76ee\u6807\u5730\u5740\u548c g_va1 \u7684\u5730\u5740\u6401\u7f6e\u3002\u7b49\u5f85\u6700\u540e\u94fe\u63a5\u7684\u65f6\u5019\u7531\u94fe\u63a5\u5668\u6839\u636e\u5f15\u7528\u7684\u7b26\u53f7 Add \u5728\u5176\u4ed6\u6a21\u5757\u4e2d\u67e5\u627e Add \u51fd\u6570\u7684\u5730\u5740&#xff0c;\u7136\u540e\u5c06 test.c\u4e2d\u6240\u6709\u5f15\u7528\u5230 Add \u7684\u6307\u4ee4\u91cd\u65b0\u4fee\u6b63&#xff0c;\u8ba9\u4ed6\u4eec\u7684\u76ee\u6807\u5730\u5740\u4e3a\u771f\u6b63\u7684 Add \u51fd\u6570\u7684\u5730\u5740&#xff0c;\u5bf9\u4e8e\u5168\u5c40\u53d8\u91cfg_va1 \u4e5f\u662f\u7c7b\u4f3c\u7684\u65b9\u6cd5\u6765\u4fee\u6b63\u5730\u5740\u3002\u8fd9\u4e2a\u5730\u5740\u4fee\u6b63\u7684\u8fc7\u7a0b\u4e5f\u88ab\u53eb\u505a:\u91cd\u5b9a\u4f4d\u3002<\/p>\n<hr \/>\n<h2 id=\"3.%E8%BF%90%E8%A1%8C%E7%8E%AF%E5%A2%83\">3.\u8fd0\u884c\u73af\u5883<\/h2>\n<p>1.\u7a0b\u5e8f\u5fc5\u987b\u8f7d\u5165\u5185\u5b58\u4e2d\u3002\u5728\u6709\u64cd\u4f5c\u7cfb\u7edf\u7684\u73af\u5883\u4e2d:\u4e00\u822c\u8fd9\u4e2a\u7531\u64cd\u4f5c\u7cfb\u7edf\u5b8c\u6210\u3002\u5728\u72ec\u7acb\u7684\u73af\u5883\u4e2d&#xff0c;\u7a0b\u5e8f\u7684\u8f7d\u5165\u5fc5\u987b\u7531\u624b\u5de5\u5b89\u6392&#xff0c;\u4e5f\u53ef\u80fd\u662f\u901a\u8fc7\u53ef\u6267\u884c\u4ee3\u7801\u7f6e\u5165\u53ea\u8bfb\u5185\u5b58\u6765\u5b8c\u6210\u3002<\/p>\n<p>2.\u7a0b\u5e8f\u7684\u6267\u884c\u4fbf\u5f00\u59cb\u3002\u63a5\u7740\u4fbf\u8c03\u7528main\u51fd\u6570<\/p>\n<p>3.\u5f00\u59cb\u6267\u884c\u7a0b\u5e8f\u4ee3\u7801\u3002\u8fd9\u4e2a\u65f6\u5019\u7a0b\u5e8f\u5c06\u4f7f\u7528\u4e00\u4e2a\u8fd0\u884c\u65f6\u5806\u6808(stack)&#xff0c;\u5b58\u50a8\u51fd\u6570\u7684\u5c40\u90e8\u53d8\u91cf\u548c\u8fd4\u56de\u5730\u5740\u3002\u7a0b\u5e8f\u540c\u65f6\u4e5f\u53ef\u4ee5\u4f7f\u7528\u9759\u6001(static)\u5185\u5b58&#xff0c;\u5b58\u50a8\u4e8e\u9759\u6001\u5185\u5b58\u4e2d\u7684\u53d8\u91cf\u5728\u7a0b\u5e8f\u7684\u6574\u4e2a\u6267\u884c\u8fc7\u7a0b\u4e00\u76f4\u4fdd\u7559\u4ed6\u4eec\u7684\u503c<\/p>\n<p>4.\u7ec8\u6b62\u7a0b\u5e8f\u3002\u6b63\u5e38\u7ec8\u6b62main\u51fd\u6570;\u4e5f\u6709\u53ef\u80fd\u662f\u610f\u5916\u7ec8\u6b62<\/p>\n<hr \/>\n<h2 id=\"4.%E9%A2%84%E5%A4%84%E7%90%86%E8%AF%A6%E8%A7%A3\">4.\u9884\u5904\u7406\u8be6\u89e3<\/h2>\n<h3 id=\"4.1%20%E9%A2%84%E5%AE%9A%E4%B9%89%E7%AC%A6%E5%8F%B7\">4.1 \u9884\u5b9a\u4e49\u7b26\u53f7<\/h3>\n<p>__FILE__ \/\/\u8fdb\u2f8f\u7f16\u8bd1\u7684\u6e90\u2f42\u4ef6<br \/>\n__LINE__ \/\/\u2f42\u4ef6\u5f53\u524d\u7684\u2f8f\u53f7<br \/>\n__DATE__ \/\/\u2f42\u4ef6\u88ab\u7f16\u8bd1\u7684\u2f47\u671f<br \/>\n__TIME__ \/\/\u2f42\u4ef6\u88ab\u7f16\u8bd1\u7684\u65f6\u95f4<br \/>\n__STDC__ \/\/\u5982\u679c\u7f16\u8bd1\u5668\u9075\u5faaANSI C&#xff0c;\u5176\u503c\u4e3a1&#xff0c;\u5426\u5219\u672a\u5b9a\u4e49 <\/p>\n<p>\u8fd9\u4e9b\u9884\u5b9a\u4e49\u7b26\u53f7\u90fd\u662f\u8bed\u8a00\u5185\u7f6e\u7684\u3002<\/p>\n<h5 id=\"%E4%BE%8B%E5%AD%90%EF%BC%9A\">\u4f8b\u5b50&#xff1a;<\/h5>\n<p>printf(&#034;file:%s line:%d\\\\n&#034;, __FILE__, __LINE__);<\/p>\n<h3 id=\"4.2%20%23define\">4.2 #define<\/h3>\n<h4 id=\"4.2.1%20%23define%20%E5%AE%9A%E4%B9%89%E6%A0%87%E8%AF%86%E7%AC%A6\">4.2.1 #define \u5b9a\u4e49\u6807\u8bc6\u7b26<\/h4>\n<p>#define name stuff<\/p>\n<h5 id=\"%E4%BE%8B%E5%AD%90%EF%BC%9A\">\u4f8b\u5b50&#xff1a;<\/h5>\n<p>#define MAX 1000<br \/>\n#define reg register \/\/\u4e3a register\u8fd9\u4e2a\u5173\u952e\u5b57&#xff0c;\u521b\u5efa\u2f00\u4e2a\u7b80\u77ed\u7684\u540d\u5b57<br \/>\n#define do_forever for(;;) \/\/\u2f64\u66f4\u5f62\u8c61\u7684\u7b26\u53f7\u6765\u66ff\u6362\u2f00\u79cd\u5b9e\u73b0<br \/>\n#define CASE break;case \/\/\u5728\u5199case\u8bed\u53e5\u7684\u65f6\u5019\u2f83\u52a8\u628a break\u5199\u4e0a\u3002<br \/>\n\/\/ \u5982\u679c\u5b9a\u4e49\u7684 stuff\u8fc7\u2ed3&#xff0c;\u53ef\u4ee5\u5206\u6210\u2f0f\u2f8f\u5199&#xff0c;\u9664\u4e86\u6700\u540e\u2f00\u2f8f\u5916&#xff0c;\u6bcf\u2f8f\u7684\u540e\u2faf\u90fd\u52a0\u2f00\u4e2a\u53cd\u659c\u6760(\u7eed\u2f8f\u7b26)\u3002<br \/>\n#define DEBUG_PRINT printf(&#034;file:%s\\\\tline:%d\\\\t \\\\<br \/>\n date:%s\\\\ttime:%s\\\\n&#034; ,\\\\<br \/>\n __FILE__,__LINE__ , \\\\<br \/>\n __DATE__,__TIME__ ) <\/p>\n<p>&#039;\\\\&#039;\u662f\u7eed\u884c\u7b26<\/p>\n<p>\u63d0\u95ee&#xff1a;\u5728define\u5b9a\u4e49\u6807\u8bc6\u7b26\u7684\u65f6\u5019&#xff0c;\u8981\u4e0d\u8981\u5728\u6700\u540e\u52a0\u4e0a \u2018;\u2019 ?<\/p>\n<p>\u6bd4\u5982&#xff1a;<\/p>\n<p> #define MAX 1000;<br \/>\n#define MAX 1000<\/p>\n<p>\u52a0\u4e0a&#039;;&#039;\u5c31\u53d8\u6210\u4e86&#034;MAX &#061; 1000&#xff1b;&#034; \u6240\u4ee5\u5efa\u8bae\u4e0d\u8981\u52a0\u4e0a &#039;;&#039; ,\u8fd9\u6837\u5bb9\u6613\u5bfc\u81f4\u95ee\u9898\u3002<\/p>\n<p>\u6bd4\u5982\u4e0b\u9762\u7684\u573a\u666f&#xff1a;<\/p>\n<p> if(condition)<br \/>\n max &#061; MAX;<br \/>\nelse<br \/>\n max &#061; 0;<\/p>\n<p>\u8fd9\u91cc\u4f1a\u51fa\u73b0\u8bed\u6cd5\u9519\u8bef<\/p>\n<h4 id=\"4.2.2%20%23define%20%E5%AE%9A%E4%B9%89%E5%AE%8F\">4.2.2 #define \u5b9a\u4e49\u5b8f<\/h4>\n<p>#define \u673a\u5236\u5305\u62ec\u4e86\u4e00\u4e2a\u89c4\u5b9a&#xff0c;\u5141\u8bb8\u628a\u53c2\u6570\u66ff\u6362\u5230\u6587\u672c\u4e2d&#xff0c;\u8fd9\u79cd\u5b9e\u73b0\u901a\u5e38\u79f0\u4e3a\u5b8f&#xff08;macro&#xff09;\u6216\u5b9a\u4e49\u5b8f&#xff08;define macro&#xff09;<\/p>\n<p>\u4e0b\u9762\u662f\u5b8f\u7684\u7533\u660e\u65b9\u5f0f&#xff1a;#define name( parament-list ) stuff\u5176\u4e2d\u7684 parament-list \u662f\u4e00\u4e2a\u7531\u9017\u53f7\u9694\u5f00\u7684\u7b26\u53f7\u8868&#xff0c;\u5b83\u4eec\u53ef\u80fd\u51fa\u73b0\u5728stuff\u4e2d<\/p>\n<p> #define name( parament-list ) stuff<\/p>\n<p>\u6ce8\u610f&#xff1a;\u53c2\u6570\u5217\u8868\u7684\u5de6\u62ec\u53f7\u5fc5\u987b\u4e0ename\u7d27\u90bb\u3002\u5982\u679c\u4e24\u8005\u4e4b\u95f4\u6709\u4efb\u4f55\u7a7a\u767d\u5b58\u5728&#xff0c;\u53c2\u6570\u5217\u8868\u5c31\u4f1a\u88ab\u89e3\u91ca\u4e3astuff\u7684\u4e00\u90e8\u5206\u3002<\/p>\n<p>\u5982&#xff1a;<\/p>\n<p> #define SQUARE( x ) x * x<\/p>\n<p>\u8fd9\u4e2a\u5b8f\u63a5\u6536\u4e00\u4e2a\u53c2\u6570 x .\u5982\u679c\u5728\u4e0a\u8ff0\u58f0\u660e\u4e4b\u540e&#xff0c;\u4f60\u628a<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"41\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/08\/20250810044523-689823e3b0b91.png\" width=\"162\" \/><\/p>\n<p>\u7f6e\u4e8e\u7a0b\u5e8f\u4e2d&#xff0c;\u9884\u5904\u7406\u5668\u5c31\u4f1a\u7528\u4e0b\u9762\u8fd9\u4e2a\u8868\u8fbe\u5f0f\u66ff\u6362\u4e0a\u9762\u7684\u8868\u8fbe\u5f0f&#xff1a;<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"48\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/08\/20250810044524-689823e418ab0.png\" width=\"125\" \/><\/p>\n<p>\u8b66\u544a&#xff1a;\u8fd9\u4e2a\u5b8f\u5b58\u5728\u4e00\u4e2a\u95ee\u9898&#xff1a;\u89c2\u5bdf\u4e0b\u9762\u7684\u4ee3\u7801\u6bb5&#xff1a;<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" class=\"left\" height=\"73\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/08\/20250810044524-689823e440a47.png\" width=\"400\" \/><\/p>\n<p>\u4e4d\u4e00\u770b&#xff0c;\u4f60\u53ef\u80fd\u89c9\u5f97\u8fd9\u6bb5\u4ee3\u7801\u5c06\u6253\u537036\u8fd9\u4e2a\u503c\u3002\u4e8b\u5b9e\u4e0a&#xff0c;\u5b83\u5c06\u6253\u537011<\/p>\n<p>\u4e3a\u4ec0\u4e48&#xff1f;<\/p>\n<p>\u66ff\u6362\u6587\u672c\u65f6&#xff0c;\u53c2\u6570x\u88ab\u66ff\u6362\u6210a &#043; 1,\u6240\u4ee5\u8fd9\u6761\u8bed\u53e5\u5b9e\u9645\u4e0a\u53d8\u6210\u4e86&#xff1a;printf (&#034;%d\\\\n&#034;,a &#043; 1 * a &#043; 1 );<\/p>\n<p>\u8fd9\u6837\u5c31\u6bd4\u8f83\u6e05\u6670\u4e86&#xff0c;\u7531\u66ff\u6362\u4ea7\u751f\u7684\u8868\u8fbe\u5f0f\u5e76\u6ca1\u6709\u6309\u7167\u9884\u60f3\u7684\u6b21\u5e8f\u8fdb\u884c\u6c42\u503c<\/p>\n<p>\u5728\u5b8f\u5b9a\u4e49\u4e0a\u52a0\u4e0a\u4e24\u4e2a\u62ec\u53f7&#xff0c;\u8fd9\u4e2a\u95ee\u9898\u4fbf\u8f7b\u677e\u7684\u89e3\u51b3\u4e86&#xff1a;<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"36\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/08\/20250810044524-689823e467aa5.png\" width=\"335\" \/><\/p>\n<p>\u8fd9\u6837\u9884\u5904\u7406\u4e4b\u540e\u5c31\u4ea7\u751f\u4e86\u9884\u671f\u7684\u6548\u679c&#xff1a;<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"45\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/08\/20250810044524-689823e48c628.png\" width=\"440\" \/><\/p>\n<p>\u8fd9\u91cc\u8fd8\u6709\u4e00\u4e2a\u5b8f\u5b9a\u4e49&#xff1a;<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"43\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/08\/20250810044524-689823e4da1c5.png\" width=\"336\" \/><\/p>\n<p>\u5b9a\u4e49\u4e2d\u6211\u4eec\u4f7f\u7528\u4e86\u62ec\u53f7&#xff0c;\u60f3\u907f\u514d\u4e4b\u524d\u7684\u95ee\u9898&#xff0c;\u4f46\u662f\u8fd9\u4e2a\u5b8f\u53ef\u80fd\u4f1a\u51fa\u73b0\u65b0\u7684\u9519\u8bef<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"67\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/08\/20250810044525-689823e50c6a2.png\" width=\"374\" \/><\/p>\n<p>\u8fd9\u5c06\u6253\u5370\u4ec0\u4e48\u503c\u5462&#xff1f;<\/p>\n<p>warning&#xff1a;<\/p>\n<p>\u770b\u4e0a\u53bb&#xff0c;\u597d\u50cf\u6253\u5370100&#xff0c;\u4f46\u4e8b\u5b9e\u4e0a\u6253\u5370\u7684\u662f55.\u6211\u4eec\u53d1\u73b0\u66ff\u6362\u4e4b\u540e&#xff1a;<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"52\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/08\/20250810044525-689823e54d125.png\" width=\"394\" \/><\/p>\n<p>\u4e58\u6cd5\u8fd0\u7b97\u5148\u4e8e\u5b8f\u5b9a\u4e49\u7684\u52a0\u6cd5&#xff0c;\u6240\u4ee5\u51fa\u73b0\u4e86 55<\/p>\n<p>\u8fd9\u4e2a\u95ee\u9898&#xff0c;\u7684\u89e3\u51b3\u529e\u6cd5\u662f\u5728\u5b8f\u5b9a\u4e49\u8868\u8fbe\u5f0f\u4e24\u8fb9\u52a0\u4e0a\u4e00\u5bf9\u62ec\u53f7\u5c31\u53ef\u4ee5\u4e86<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"46\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/08\/20250810044525-689823e573cd7.png\" width=\"483\" \/><\/p>\n<p>\u63d0\u793a&#xff1a;\u6240\u4ee5\u7528\u4e8e\u5bf9\u6570\u503c\u8868\u8fbe\u5f0f\u8fdb\u884c\u6c42\u503c\u7684\u5b8f\u5b9a\u4e49\u90fd\u5e94\u8be5\u7528\u8fd9\u79cd\u65b9\u5f0f\u52a0\u4e0a\u62ec\u53f7&#xff0c;\u907f\u514d\u5728\u4f7f\u7528\u5b8f\u65f6\u7531\u4e8e\u53c2\u6570\u4e2d\u7684\u64cd\u4f5c\u7b26\u6216\u90bb\u8fd1\u64cd\u4f5c\u7b26\u4e4b\u95f4\u4e0d\u53ef\u9884\u6599\u7684\u76f8\u4e92\u4f5c\u7528<\/p>\n<h4 id=\"4.2.3%20%23define%EF%BC%88%E5%AE%8F%EF%BC%89%20%E6%9B%BF%E6%8D%A2%E8%A7%84%E5%88%99\">4.2.3 #define&#xff08;\u5b8f&#xff09; \u66ff\u6362\u89c4\u5219<\/h4>\n<p>\u5728\u7a0b\u5e8f\u4e2d\u6269\u5c55#define\u5b9a\u4e49\u7b26\u53f7\u548c\u5b8f\u65f6&#xff0c;\u9700\u8981\u6d89\u53ca\u51e0\u4e2a\u6b65\u9aa4\u3002<\/p>\n<p>1. \u5728\u8c03\u7528\u5b8f\u65f6&#xff0c;\u9996\u5148\u5bf9\u53c2\u6570\u8fdb\u884c\u68c0\u67e5&#xff0c;\u770b\u770b\u662f\u5426\u5305\u542b\u4efb\u4f55\u7531#define\u5b9a\u4e49\u7684\u7b26\u53f7\u3002\u5982\u679c\u662f&#xff0c;\u5b83\u4eec\u9996\u5148\u88ab\u66ff\u6362\u3002<\/p>\n<p>2. \u66ff\u6362\u6587\u672c\u968f\u540e\u88ab\u63d2\u5165\u5230\u7a0b\u5e8f\u4e2d\u539f\u6765\u6587\u672c\u7684\u4f4d\u7f6e\u3002\u5bf9\u4e8e\u5b8f&#xff0c;\u53c2\u6570\u540d\u88ab\u4ed6\u4eec\u7684\u503c\u66ff\u6362\u3002<\/p>\n<p>3. \u6700\u540e&#xff0c;\u518d\u6b21\u5bf9\u7ed3\u679c\u6587\u4ef6\u8fdb\u884c\u626b\u63cf&#xff0c;\u770b\u770b\u5b83\u662f\u5426\u5305\u542b\u4efb\u4f55\u7531#define\u5b9a\u4e49\u7684\u7b26\u53f7\u3002\u5982\u679c\u662f&#xff0c;\u5c31\u91cd\u590d\u4e0a\u8ff0\u5904\u7406\u8fc7\u7a0b\u3002<\/p>\n<p>\u6ce8\u610f&#xff1a;<\/p>\n<p>1. \u5b8f\u53c2\u6570\u548c#define \u5b9a\u4e49\u4e2d\u53ef\u4ee5\u51fa\u73b0\u5176\u4ed6#define\u5b9a\u4e49\u7684\u53d8\u91cf\u3002\u4f46\u662f\u5bf9\u4e8e\u5b8f&#xff0c;\u4e0d\u80fd\u51fa\u73b0\u9012\u5f52\u3002<\/p>\n<p>2. \u5f53\u9884\u5904\u7406\u5668\u641c\u7d22#define\u5b9a\u4e49\u7684\u7b26\u53f7\u7684\u65f6\u5019&#xff0c;\u5b57\u7b26\u4e32\u5e38\u91cf\u7684\u5185\u5bb9\u5e76\u4e0d\u88ab\u641c\u7d22<\/p>\n<h4 id=\"4.2.4%20%E5%B8%A6%E5%89%AF%E4%BD%9C%E7%94%A8%E7%9A%84%E5%AE%8F%E5%8F%82%E6%95%B0\">4.2.4 \u5e26\u526f\u4f5c\u7528\u7684\u5b8f\u53c2\u6570<\/h4>\n<p>\u5f53\u5b8f\u53c2\u6570\u5728\u5b8f\u7684\u5b9a\u4e49\u4e2d\u51fa\u73b0\u8d85\u8fc7\u4e00\u6b21\u7684\u65f6\u5019&#xff0c;\u5982\u679c\u53c2\u6570\u5e26\u6709\u526f\u4f5c\u7528&#xff0c;\u90a3\u4e48\u4f60\u5728\u4f7f\u7528\u8fd9\u4e2a\u5b8f\u7684\u65f6\u5019\u5c31\u53ef\u80fd\u51fa\u73b0\u5371\u9669&#xff0c;\u5bfc\u81f4\u4e0d\u53ef\u9884\u6d4b\u7684\u540e\u679c\u3002\u526f\u4f5c\u7528\u5c31\u662f\u8868\u8fbe\u5f0f\u6c42\u503c\u7684\u65f6\u5019\u51fa\u73b0\u7684\u6c38\u4e45\u6027\u6548\u679c<\/p>\n<p>\u4f8b\u5982&#xff1a;<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" class=\"left\" height=\"65\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/08\/20250810044525-689823e5b8a87.png\" width=\"200\" \/><\/p>\n<p>MAX\u5b8f\u53ef\u4ee5\u8bc1\u660e\u5177\u6709\u526f\u4f5c\u7528\u7684\u53c2\u6570\u6240\u5f15\u8d77\u7684\u95ee\u9898<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" class=\"left\" height=\"120\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/08\/20250810044525-689823e5e4bff.png\" width=\"400\" \/><\/p>\n<p>\u8fd9\u91cc\u6211\u4eec\u5f97\u77e5\u9053\u9884\u5904\u7406\u5668\u5904\u7406\u4e4b\u540e\u7684\u7ed3\u679c\u662f\u4ec0\u4e48&#xff1a;<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"52\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/08\/20250810044526-689823e62afa0.png\" width=\"455\" \/><\/p>\n<p>\u6240\u4ee5\u8f93\u51fa\u7684\u7ed3\u679c\u662f&#xff1a;<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"47\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/08\/20250810044526-689823e63fe0a.png\" width=\"186\" \/><\/p>\n<h4 id=\"4.2.5%20%E5%AE%8F%E5%92%8C%E5%87%BD%E6%95%B0%E5%AF%B9%E6%AF%94\">4.2.5 \u5b8f\u548c\u51fd\u6570\u5bf9\u6bd4<\/h4>\n<p>\u5b8f\u901a\u5e38\u88ab\u5e94\u7528\u4e8e\u6267\u884c\u7b80\u5355\u7684\u8fd0\u7b97\u3002\u6bd4\u5982\u5728\u4e24\u4e2a\u6570\u4e2d\u627e\u51fa\u8f83\u5927\u7684\u4e00\u4e2a<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"45\" src=\"2025-08-10q3b0ecr5luh.png\" width=\"437\" \/><\/p>\n<p>\u90a3\u4e3a\u4ec0\u4e48\u4e0d\u7528\u51fd\u6570\u6765\u5b8c\u6210\u8fd9\u4e2a\u4efb\u52a1&#xff1f;<\/p>\n<p>\u539f\u56e0\u6709\u4e8c&#xff1a;<\/p>\n<p>1. \u7528\u4e8e\u8c03\u7528\u51fd\u6570\u548c\u4ece\u51fd\u6570\u8fd4\u56de\u7684\u4ee3\u7801\u53ef\u80fd\u6bd4\u5b9e\u9645\u6267\u884c\u8fd9\u4e2a\u5c0f\u578b\u8ba1\u7b97\u5de5\u4f5c\u6240\u9700\u8981\u7684\u65f6\u95f4\u66f4\u591a\u3002\u6240\u4ee5\u5b8f\u6bd4\u51fd\u6570\u5728\u7a0b\u5e8f\u7684\u89c4\u6a21\u548c\u901f\u5ea6\u65b9\u9762\u66f4\u80dc\u4e00\u7b79<\/p>\n<p>2. \u66f4\u4e3a\u91cd\u8981\u7684\u662f\u51fd\u6570\u7684\u53c2\u6570\u5fc5\u987b\u58f0\u660e\u4e3a\u7279\u5b9a\u7684\u7c7b\u578b\u3002\u6240\u4ee5\u51fd\u6570\u53ea\u80fd\u5728\u7c7b\u578b\u5408\u9002\u7684\u8868\u8fbe\u5f0f\u4e0a\u4f7f\u7528\u3002\u53cd\u4e4b\u8fd9\u4e2a\u5b8f\u600e\u53ef\u4ee5\u9002\u7528\u4e8e\u6574\u5f62\u3001\u957f\u6574\u578b\u3001\u6d6e\u70b9\u578b\u7b49\u53ef\u4ee5\u7528\u4e8e&gt;\u6765\u6bd4\u8f83\u7684\u7c7b\u578b\u3002\u5b8f\u662f\u7c7b\u578b\u65e0\u5173\u7684\u3002<\/p>\n<p>\u5f53\u7136\u548c\u5b8f\u76f8\u6bd4\u51fd\u6570\u4e5f\u6709\u52a3\u52bf\u7684\u5730\u65b9&#xff1a;<\/p>\n<p>1. \u6bcf\u6b21\u4f7f\u7528\u5b8f\u7684\u65f6\u5019&#xff0c;\u4e00\u4efd\u5b8f\u5b9a\u4e49\u7684\u4ee3\u7801\u5c06\u63d2\u5165\u5230\u7a0b\u5e8f\u4e2d\u3002\u9664\u975e\u5b8f\u6bd4\u8f83\u77ed&#xff0c;\u5426\u5219\u53ef\u80fd\u5927\u5e45\u5ea6\u589e\u52a0\u7a0b\u5e8f\u7684\u957f\u5ea6<\/p>\n<p>2. \u5b8f\u662f\u6ca1\u6cd5\u8c03\u8bd5\u7684\u3002<\/p>\n<p>3. \u5b8f\u7531\u4e8e\u7c7b\u578b\u65e0\u5173&#xff0c;\u4e5f\u5c31\u4e0d\u591f\u4e25\u8c28\u3002<\/p>\n<p>4. \u5b8f\u53ef\u80fd\u4f1a\u5e26\u6765\u8fd0\u7b97\u7b26\u4f18\u5148\u7ea7\u7684\u95ee\u9898&#xff0c;\u5bfc\u81f4\u7a0b\u5bb9\u6613\u51fa\u73b0\u9519\u3002<\/p>\n<p>\u5b8f\u6709\u65f6\u5019\u53ef\u4ee5\u505a\u51fd\u6570\u505a\u4e0d\u5230\u7684\u4e8b\u60c5\u3002<\/p>\n<p>\u6bd4\u5982&#xff1a;\u5b8f\u7684\u53c2\u6570\u53ef\u4ee5\u51fa\u73b0\u7c7b\u578b&#xff0c;\u4f46\u662f\u51fd\u6570\u505a\u4e0d\u5230<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" class=\"left\" height=\"217\" src=\"2025-08-10xgri35pa4on.png\" width=\"400\" \/><\/p>\n<h5 id=\"%E5%AE%8F%E5%92%8C%E5%87%BD%E6%95%B0%E7%9A%84%E4%B8%80%E4%B8%AA%E5%AF%B9%E6%AF%94\">\u5b8f\u548c\u51fd\u6570\u7684\u4e00\u4e2a\u5bf9\u6bd4<\/h5>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" class=\"left\" height=\"699\" src=\"2025-08-10in2d30e0pxi.png\" width=\"400\" \/><\/p>\n<h5 id=\"%E5%91%BD%E5%90%8D%E7%BA%A6%E5%AE%9A\">\u547d\u540d\u7ea6\u5b9a<\/h5>\n<p>\u4e00\u822c\u6765\u8bb2\u51fd\u6570\u7684\u5b8f\u7684\u4f7f\u7528\u8bed\u6cd5\u5f88\u76f8\u4f3c\u3002\u6240\u4ee5\u8bed\u8a00\u672c\u8eab\u6ca1\u6cd5\u5e2e\u6211\u4eec\u533a\u5206\u4e8c\u8005\u3002\u90a3\u6211\u4eec\u5e73\u65f6\u7684\u4e00\u4e2a\u4e60\u60ef\u662f&#xff1a;\u628a\u5b8f\u540d\u5168\u90e8\u5927\u5199\u51fd\u6570\u540d\u4e0d\u8981\u5168\u90e8\u5927\u5199<\/p>\n<h4 id=\"4.2.6%20%23%E5%92%8C%23%23%E8%BF%90%E7%AE%97%E7%AC%A6\">4.2.6 #\u548c##\u8fd0\u7b97\u7b26<\/h4>\n<p>\u5982\u4f55\u628a\u53c2\u6570\u63d2\u5165\u5230\u5b57\u7b26\u4e32\u4e2d&#xff1f;<\/p>\n<p>\u9996\u5148\u6211\u4eec\u770b\u770b\u8fd9\u6837\u7684\u4ee3\u7801&#xff1a;<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" class=\"left\" height=\"85\" src=\"2025-08-10xnovvug5pgd.png\" width=\"300\" \/><\/p>\n<p>\u8fd9\u91cc\u8f93\u51fa\u7684\u662f\u4e0d\u662fhello bit &#xff1f;<\/p>\n<p>\u7b54\u6848\u662f\u786e\u5b9a\u7684&#xff1a;\u662f\u3002<\/p>\n<p>\u6211\u4eec\u53d1\u73b0\u5b57\u7b26\u4e32\u662f\u6709\u81ea\u52a8\u8fde\u63a5\u7684\u7279\u70b9\u7684<\/p>\n<h5 id=\"%23%E8%BF%90%E7%AE%97%E7%AC%A6\">#\u8fd0\u7b97\u7b26<\/h5>\n<p>#\u8fd0\u7b97\u7b26\u5c06\u5b8f\u7684\u4e00\u4e2a\u53c2\u6570\u8f6c\u6362\u4e3a\u5b57\u7b26\u4e32\u5b57\u9762\u91cf\u3002\u5b83\u4ec5\u5141\u8bb8\u51fa\u73b0\u5728\u5e26\u53c2\u6570\u7684\u5b8f\u7684\u66ff\u6362\u5217\u8868\u4e2d\u3002<\/p>\n<p>#\u8fd0\u7b97\u7b26\u6240\u6267\u884c\u7684\u64cd\u4f5c\u53ef\u4ee5\u7406\u89e3\u4e3a\u201c\u5b57\u7b26\u4e32\u5316&#034;\u5f53\u6211\u4eec\u6709\u4e00\u4e2a\u53d8\u91cfint a&#061;10;\u7684\u65f6\u5019&#xff0c;\u6211\u4eec\u60f3\u6253\u5370\u51fa:the value of a is 10\u5c31\u53ef\u4ee5\u5199:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"43\" src=\"2025-08-10wokugreovhz.png\" width=\"446\" \/><\/p>\n<p>\u5f53\u6211\u4eec\u6309\u7167\u4e0b\u9762\u7684\u65b9\u5f0f\u8c03\u7528\u7684\u65f6\u5019:<\/p>\n<p>PRINT(a);\/\/\u5f53\u6211\u4eec\u628aa\u66ff\u6362\u5230\u5b8f\u7684\u4f53\u5185\u65f6&#xff0c;\u5c31\u51fa\u73b0\u4e86#a&#xff0c;\u800c#a\u5c31\u662f\u8f6c\u6362\u4e3a&#034;a&#034;&#xff0c;\u65f6\u4e00\u4e2a\u5b57\u7b26\u4e32\u4ee3\u7801\u5c31\u4f1a\u88ab\u9884\u5904\u7406\u4e3a:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"42\" src=\"2025-08-10uokfo2rd2rs.png\" width=\"320\" \/><\/p>\n<p>\u8fd0\u884c\u4ee3\u7801\u5c31\u80fd\u5728\u5c4f\u5e55\u4e0a\u6253\u5370:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"45\" src=\"2025-08-10qnctz3jnrmn.png\" width=\"190\" \/><\/p>\n<h5 id=\"%23%23%E8%BF%90%E7%AE%97%E7%AC%A6\">##\u8fd0\u7b97\u7b26<\/h5>\n<p>##\u53ef\u4ee5\u628a\u4f4d\u4e8e\u5b83\u4e24\u8fb9\u7684\u7b26\u53f7\u5408\u6210\u4e00\u4e2a\u7b26\u53f7&#xff0c;\u5b83\u5141\u8bb8\u5b8f\u5b9a\u4e49\u4ece\u5206\u79bb\u7684\u6587\u672c\u7247\u6bb5\u521b\u5efa\u6807\u8bc6\u7b26\u3002 ## \u88ab\u79f0\u4e3a\u8bb0\u53f7\u7c98\u5408\u8fd9\u6837\u7684\u8fde\u63a5\u5fc5\u987b\u4ea7\u751f\u4e00\u4e2a\u5408\u6cd5\u7684\u6807\u8bc6\u7b26\u3002\u5426\u5219\u5176\u7ed3\u679c\u5c31\u662f\u672a\u5b9a\u4e49\u7684\u3002\u8fd9\u91cc\u6211\u4eec\u60f3\u60f3&#xff0c;\u5199\u4e00\u4e2a\u51fd\u6570\u6c422\u4e2a\u6570\u7684\u8f83\u5927\u503c\u7684\u65f6\u5019&#xff0c;\u4e0d\u540c\u7684\u6570\u636e\u7c7b\u578b\u5c31\u5f97\u5199\u4e0d\u540c\u7684\u51fd\u6570\u3002<\/p>\n<h6 id=\"%E6%AF%94%E5%A6%82%EF%BC%9A\">\u6bd4\u5982&#xff1a;<\/h6>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" class=\"left\" height=\"209\" src=\"2025-08-10o4s2lec5y52.png\" width=\"300\" \/><\/p>\n<p>\u4f46\u662f\u8fd9\u6837\u5199\u8d77\u6765\u592a\u7e41\u7410\u4e86&#xff0c;\u73b0\u5728\u6211\u4eec\u8fd9\u6837\u5199\u4ee3\u7801\u8bd5\u8bd5:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" class=\"left\" height=\"162\" src=\"2025-08-10xlp1zayl4zs.png\" width=\"300\" \/><\/p>\n<p>\u4f7f\u7528\u5b8f\u5b9a\u4e49\u4e0d\u540c\u51fd\u6570<\/p>\n<p>\u6ce8&#xff1a;\u8fd9\u6837\u7684\u8fde\u63a5\u5fc5\u987b\u4ea7\u751f\u4e00\u4e2a\u5408\u6cd5\u7684\u6807\u8bc6\u7b26\u3002\u5426\u5219\u5176\u7ed3\u679c\u5c31\u662f\u672a\u5b9a\u4e49\u7684<\/p>\n<h3 id=\"4.3%20%E5%91%BD%E5%90%8D%E7%BA%A6%E5%AE%9A\">4.3 \u547d\u540d\u7ea6\u5b9a<\/h3>\n<p>\u4e00\u822c\u6765\u8bb2\u51fd\u6570\u7684\u5b8f\u7684\u4f7f\u7528\u8bed\u6cd5\u5f88\u76f8\u4f3c\u3002\u6240\u4ee5\u8bed\u8a00\u672c\u8eab\u6ca1\u6cd5\u5e2e\u6211\u4eec\u533a\u5206\u4e8c\u8005\u3002\u90a3\u6211\u4eec\u5e73\u65f6\u7684\u4e00\u4e2a\u4e60\u60ef\u662f:<\/p>\n<p>\u628a\u5b8f\u540d\u5168\u90e8\u5927\u5199<\/p>\n<p>\u51fd\u6570\u540d\u4e0d\u8981\u5168\u90e8\u5927\u5199<\/p>\n<h3 id=\"4.4%20%23undef\">4.4 #undef<\/h3>\n<p>\u8fd9\u6761\u6307\u4ee4\u7528\u4e8e\u79fb\u9664\u4e00\u4e2a\u5b8f\u5b9a\u4e49<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" class=\"left\" height=\"60\" src=\"2025-08-10gi0tl13rqbc.png\" width=\"500\" \/><\/p>\n<h3 id=\"4.5%20%E5%91%BD%E4%BB%A4%E8%A1%8C%E5%AE%9A%E4%B9%89\">4.5 \u547d\u4ee4\u884c\u5b9a\u4e49<\/h3>\n<p>\u8bb8\u591aC \u7684\u7f16\u8bd1\u5668\u63d0\u4f9b\u4e86\u4e00\u79cd\u80fd\u529b&#xff0c;\u5141\u8bb8\u5728\u547d\u4ee4\u884c\u4e2d\u5b9a\u4e49\u7b26\u53f7\u3002\u7528\u4e8e\u542f\u52a8\u7f16\u8bd1\u8fc7\u7a0b\u3002<\/p>\n<p>\u4f8b\u5982&#xff1a;\u5f53\u6211\u4eec\u6839\u636e\u540c\u4e00\u4e2a\u6e90\u6587\u4ef6\u8981\u7f16\u8bd1\u51fa\u4e0d\u540c\u7684\u4e00\u4e2a\u7a0b\u5e8f\u7684\u4e0d\u540c\u7248\u672c\u7684\u65f6\u5019&#xff0c;\u8fd9\u4e2a\u7279\u6027\u6709\u70b9\u7528\u5904\u3002&#xff08;\u5047\u5b9a\u67d0\u4e2a\u7a0b\u5e8f\u4e2d\u58f0\u660e\u4e86\u4e00\u4e2a\u67d0\u4e2a\u957f\u5ea6\u7684\u6570\u7ec4&#xff0c;\u5982\u679c\u673a\u5668\u5185\u5b58\u6709\u9650&#xff0c;\u6211\u4eec\u9700\u8981\u4e00\u4e2a\u5f88\u5c0f\u7684\u6570\u7ec4&#xff0c;\u4f46\u662f\u53e6\u5916\u4e00\u4e2a\u673a\u5668\u5185\u5b58\u5927\u5199&#xff0c;\u6211\u4eec\u9700\u8981\u4e00\u4e2a\u6570\u7ec4\u80fd\u591f\u5927\u5199\u3002&#xff09;<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" class=\"left\" height=\"442\" src=\"2025-08-104md0p241tqx.png\" width=\"400\" \/><\/p>\n<h4 id=\"%E7%BC%96%E8%AF%91%E6%8C%87%E4%BB%A4%EF%BC%9A\">\u7f16\u8bd1\u6307\u4ee4&#xff1a;<\/h4>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"50\" src=\"2025-08-10lu1fodg3t3a.png\" width=\"385\" \/><\/p>\n<h3 id=\"4.6%20%E6%9D%A1%E4%BB%B6%E7%BC%96%E8%AF%91\">4.6 \u6761\u4ef6\u7f16\u8bd1<\/h3>\n<p>\u5728\u7f16\u8bd1\u4e00\u4e2a\u7a0b\u5e8f\u7684\u65f6\u5019\u6211\u4eec\u5982\u679c\u8981\u5c06\u4e00\u6761\u8bed\u53e5&#xff08;\u4e00\u7ec4\u8bed\u53e5&#xff09;\u7f16\u8bd1\u6216\u8005\u653e\u5f03\u662f\u5f88\u65b9\u4fbf\u7684\u3002\u56e0\u4e3a\u6211\u4eec\u6709\u6761\u4ef6\u7f16\u8bd1\u6307\u4ee4<\/p>\n<p>\u6bd4\u5982\u8bf4&#xff1a;\u8c03\u8bd5\u6027\u7684\u4ee3\u7801&#xff0c;\u5220\u9664\u53ef\u60dc&#xff0c;\u4fdd\u7559\u53c8\u788d\u4e8b&#xff0c;\u6240\u4ee5\u6211\u4eec\u53ef\u4ee5\u9009\u62e9\u6027\u7684\u7f16\u8bd1<\/p>\n<p>#include &lt;stdio.h&gt;<br \/>\n#define __DEBUG__<br \/>\nint main()<br \/>\n{<br \/>\n int i &#061; 0;<br \/>\n int arr[10] &#061; {0};<br \/>\n for(i&#061;0; i&lt;10; i&#043;&#043;)<br \/>\n {<br \/>\n arr[i] &#061; i;<br \/>\n #ifdef __DEBUG__<br \/>\n printf(&#034;%d\\\\n&#034;, arr[i]);\/\/\u4e3a\u4e86\u89c2\u5bdf\u6570\u7ec4\u662f\u5426\u8d4b\u503c\u6210\u529f\u3002<br \/>\n #endif \/\/__DEBUG__<br \/>\n }<br \/>\n return 0;<br \/>\n}<\/p>\n<p>\u5e38\u89c1\u7684\u6761\u4ef6\u7f16\u8bd1\u6307\u4ee4&#xff1a;\u90fd\u662f\u4ee5#enndif \u7ed3\u5c3e<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" class=\"left\" height=\"323\" src=\"2025-08-10gw1wjelf1nn.png\" width=\"300\" \/><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" class=\"left\" height=\"332\" src=\"2025-08-10rveatg4rjow.png\" width=\"300\" \/><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" class=\"left\" height=\"230\" src=\"2025-08-10csqbaz2bbfr.png\" width=\"300\" \/><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" class=\"left\" height=\"305\" src=\"2025-08-10diazex31dtb.png\" width=\"300\" \/><\/p>\n<h3 id=\"4.7%20%E6%96%87%E4%BB%B6%E5%8C%85%E5%90%AB\">4.7 \u6587\u4ef6\u5305\u542b<\/h3>\n<p>\u6211\u4eec\u5df2\u7ecf\u77e5\u9053&#xff0c; #include \u6307\u4ee4\u53ef\u4ee5\u4f7f\u53e6\u5916\u4e00\u4e2a\u6587\u4ef6\u88ab\u7f16\u8bd1\u3002\u5c31\u50cf\u5b83\u5b9e\u9645\u51fa\u73b0\u4e8e #include \u6307\u4ee4\u7684\u5730\u65b9\u4e00\u6837\u3002<\/p>\n<p>\u8fd9\u79cd\u66ff\u6362\u7684\u65b9\u5f0f\u5f88\u7b80\u5355&#xff1a;<\/p>\n<p>\u9884\u5904\u7406\u5668\u5148\u5220\u9664\u8fd9\u6761\u6307\u4ee4&#xff0c;\u5e76\u7528\u5305\u542b\u6587\u4ef6\u7684\u5185\u5bb9\u66ff\u6362\u3002<\/p>\n<p>\u8fd9\u6837\u4e00\u4e2a\u6e90\u6587\u4ef6\u88ab\u5305\u542b10\u6b21&#xff0c;\u90a3\u5c31\u5b9e\u9645\u88ab\u7f16\u8bd110\u6b21\u3002<\/p>\n<h4 id=\"4.7.1%20%E5%A4%B4%E6%96%87%E4%BB%B6%E8%A2%AB%E5%8C%85%E5%90%AB%E7%9A%84%E6%96%B9%E5%BC%8F%EF%BC%9A\">4.7.1 \u5934\u6587\u4ef6\u88ab\u5305\u542b\u7684\u65b9\u5f0f&#xff1a;<\/h4>\n<p>\u672c\u5730\u6587\u4ef6\u5305\u542b<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"52\" src=\"2025-08-10i2egdv4ib5k.png\" width=\"292\" \/><\/p>\n<p>\u67e5\u627e\u7b56\u7565&#xff1a;\u5148\u5728\u6e90\u6587\u4ef6\u6240\u5728\u76ee\u5f55\u4e0b\u67e5\u627e&#xff0c;\u5982\u679c\u8be5\u5934\u6587\u4ef6\u672a\u627e\u5230&#xff0c;\u7f16\u8bd1\u5668\u5c31\u50cf\u67e5\u627e\u5e93\u51fd\u6570\u5934\u6587\u4ef6\u4e00\u6837\u5728\u6807\u51c6\u4f4d\u7f6e\u67e5\u627e\u5934\u6587\u4ef6\u3002\u5982\u679c\u627e\u4e0d\u5230\u5c31\u63d0\u793a\u7f16\u8bd1\u9519\u8bef\u3002<\/p>\n<h5 id=\"Linux%E7%8E%AF%E5%A2%83%E7%9A%84%E6%A0%87%E5%87%86%E5%A4%B4%E6%96%87%E4%BB%B6%E7%9A%84%E8%B7%AF%E5%BE%84%EF%BC%9A\">Linux\u73af\u5883\u7684\u6807\u51c6\u5934\u6587\u4ef6\u7684\u8def\u5f84&#xff1a;<\/h5>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"55\" src=\"2025-08-10xazwdjadhci.png\" width=\"221\" \/><\/p>\n<h5 id=\"VS%E7%8E%AF%E5%A2%83%E7%9A%84%E6%A0%87%E5%87%86%E5%A4%B4%E6%96%87%E4%BB%B6%E7%9A%84%E8%B7%AF%E5%BE%84%EF%BC%9A\">VS\u73af\u5883\u7684\u6807\u51c6\u5934\u6587\u4ef6\u7684\u8def\u5f84&#xff1a;<\/h5>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"58\" src=\"2025-08-10uvugxskddvr.png\" width=\"841\" \/><\/p>\n<p>\u6ce8\u610f\u6309\u7167\u81ea\u5df1\u7684\u5b89\u88c5\u8def\u5f84\u53bb\u627e\u3002<\/p>\n<p>\u5e93\u6587\u4ef6\u5305\u542b<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"42\" src=\"2025-08-10sato3yrc2de.png\" width=\"275\" \/><\/p>\n<p>\u67e5\u627e\u5934\u6587\u4ef6\u76f4\u63a5\u53bb\u6807\u51c6\u8def\u5f84\u4e0b\u53bb\u67e5\u627e&#xff0c;\u5982\u679c\u627e\u4e0d\u5230\u5c31\u63d0\u793a\u7f16\u8bd1\u9519\u8bef\u3002<\/p>\n<p>\u8fd9\u6837\u662f\u4e0d\u662f\u53ef\u4ee5\u8bf4&#xff0c;\u5bf9\u4e8e\u5e93\u6587\u4ef6\u4e5f\u53ef\u4ee5\u4f7f\u7528 \u201c\u201d \u7684\u5f62\u5f0f\u5305\u542b&#xff1f;<\/p>\n<p>\u7b54\u6848\u662f\u80af\u5b9a\u7684&#xff0c;\u53ef\u4ee5\u3002<\/p>\n<p>\u4f46\u662f\u8fd9\u6837\u505a\u67e5\u627e\u7684\u6548\u7387\u5c31\u4f4e\u4e9b&#xff0c;\u5f53\u7136\u8fd9\u6837\u4e5f\u4e0d\u5bb9\u6613\u533a\u5206\u662f\u5e93\u6587\u4ef6\u8fd8\u662f\u672c\u5730\u6587\u4ef6\u4e86\u3002<\/p>\n<h4 id=\"4.7.2%20%E5%B5%8C%E5%A5%97%E6%96%87%E4%BB%B6%E5%8C%85%E5%90%AB\">4.7.2 \u5d4c\u5957\u6587\u4ef6\u5305\u542b<\/h4>\n<p>\u5982\u679c\u51fa\u73b0\u8fd9\u6837\u7684\u573a\u666f&#xff1a;<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" class=\"left\" height=\"179\" src=\"2025-08-10dz5y1qgyhol.png\" width=\"400\" \/><\/p>\n<p>omm.h\u548ccomm.c\u662f\u516c\u5171\u6a21\u5757\u3002<\/p>\n<p>test1.h\u548ctest1.c\u4f7f\u7528\u4e86\u516c\u5171\u6a21\u5757\u3002<\/p>\n<p>test2.h\u548ctest2.c\u4f7f\u7528\u4e86\u516c\u5171\u6a21\u5757\u3002<\/p>\n<p>test.h\u548ctest.c\u4f7f\u7528\u4e86test1\u6a21\u5757\u548ctest2\u6a21\u5757\u3002<\/p>\n<p>\u8fd9\u6837\u6700\u7ec8\u7a0b\u5e8f\u4e2d\u5c31\u4f1a\u51fa\u73b0\u4e24\u4efdcomm.h\u7684\u5185\u5bb9\u3002\u8fd9\u6837\u5c31\u9020\u6210\u4e86\u6587\u4ef6\u5185\u5bb9\u7684\u91cd\u590d\u3002<\/p>\n<p>\u5982\u4f55\u89e3\u51b3\u8fd9\u4e2a\u95ee\u9898&#xff1f;<\/p>\n<p>\u7b54\u6848&#xff1a;\u6761\u4ef6\u7f16\u8bd1\u3002<\/p>\n<p>\u6bcf\u4e2a\u5934\u6587\u4ef6\u7684\u5f00\u5934\u5199&#xff1a;<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" class=\"left\" height=\"153\" src=\"2025-08-10z0kbtuuaayj.png\" width=\"300\" \/><\/p>\n<p>\u6216\u8005&#xff1a;<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"60\" src=\"2025-08-10m1dlln4dp2f.png\" width=\"199\" \/><\/p>\n<p>\u5c31\u53ef\u4ee5\u907f\u514d\u5934\u6587\u4ef6\u7684\u91cd\u590d\u5f15\u5165<\/p>\n<h3 id=\"4.8%20%E5%85%B6%E4%BB%96%E9%A2%84%E5%A4%84%E7%90%86%E6%8C%87%E4%BB%A4\" style=\"background-color:transparent\">4.8 \u5176\u4ed6\u9884\u5904\u7406\u6307\u4ee4<\/h3>\n<p>\u53c2\u8003\u300aC\u8bed\u8a00\u6df1\u5ea6\u89e3\u5256\u300b\u5b66\u4e60<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u6587\u7ae0\u6d4f\u89c8\u9605\u8bfb1.2k\u6b21\uff0c\u70b9\u8d5e24\u6b21\uff0c\u6536\u85cf10\u6b21\u3002C\u8bed\u8a00\u8fdb\u9636\uff0c\u8bb2\u89e3\u7a0b\u5e8f\u73af\u5883\u548c\u9884\u5904\u7406<\/p>\n","protected":false},"author":2,"featured_media":50825,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[174,229,4960],"topic":[],"class_list":["post-50845","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-server","tag-c","tag-229","tag-4960"],"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\u7a0b\u5e8f\u73af\u5883\u548c\u9884\u5904\u7406 - \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\/50845.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\u7a0b\u5e8f\u73af\u5883\u548c\u9884\u5904\u7406 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"og:description\" content=\"\u6587\u7ae0\u6d4f\u89c8\u9605\u8bfb1.2k\u6b21\uff0c\u70b9\u8d5e24\u6b21\uff0c\u6536\u85cf10\u6b21\u3002C\u8bed\u8a00\u8fdb\u9636\uff0c\u8bb2\u89e3\u7a0b\u5e8f\u73af\u5883\u548c\u9884\u5904\u7406\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.wsisp.com\/helps\/50845.html\" \/>\n<meta property=\"og:site_name\" content=\"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"article:published_time\" content=\"2025-08-10T04:45:27+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/08\/20250810044518-689823de6fdc8.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=\"3 \u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/50845.html\",\"url\":\"https:\/\/www.wsisp.com\/helps\/50845.html\",\"name\":\"C\u8bed\u8a00\uff1a\u7a0b\u5e8f\u73af\u5883\u548c\u9884\u5904\u7406 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"isPartOf\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\"},\"datePublished\":\"2025-08-10T04:45:27+00:00\",\"dateModified\":\"2025-08-10T04:45:27+00:00\",\"author\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/50845.html#breadcrumb\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.wsisp.com\/helps\/50845.html\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/50845.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\u7a0b\u5e8f\u73af\u5883\u548c\u9884\u5904\u7406\"}]},{\"@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\u7a0b\u5e8f\u73af\u5883\u548c\u9884\u5904\u7406 - \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\/50845.html","og_locale":"zh_CN","og_type":"article","og_title":"C\u8bed\u8a00\uff1a\u7a0b\u5e8f\u73af\u5883\u548c\u9884\u5904\u7406 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","og_description":"\u6587\u7ae0\u6d4f\u89c8\u9605\u8bfb1.2k\u6b21\uff0c\u70b9\u8d5e24\u6b21\uff0c\u6536\u85cf10\u6b21\u3002C\u8bed\u8a00\u8fdb\u9636\uff0c\u8bb2\u89e3\u7a0b\u5e8f\u73af\u5883\u548c\u9884\u5904\u7406","og_url":"https:\/\/www.wsisp.com\/helps\/50845.html","og_site_name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","article_published_time":"2025-08-10T04:45:27+00:00","og_image":[{"url":"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/08\/20250810044518-689823de6fdc8.png"}],"author":"admin","twitter_card":"summary_large_image","twitter_misc":{"\u4f5c\u8005":"admin","\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4":"3 \u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.wsisp.com\/helps\/50845.html","url":"https:\/\/www.wsisp.com\/helps\/50845.html","name":"C\u8bed\u8a00\uff1a\u7a0b\u5e8f\u73af\u5883\u548c\u9884\u5904\u7406 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","isPartOf":{"@id":"https:\/\/www.wsisp.com\/helps\/#website"},"datePublished":"2025-08-10T04:45:27+00:00","dateModified":"2025-08-10T04:45:27+00:00","author":{"@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41"},"breadcrumb":{"@id":"https:\/\/www.wsisp.com\/helps\/50845.html#breadcrumb"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.wsisp.com\/helps\/50845.html"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.wsisp.com\/helps\/50845.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\u7a0b\u5e8f\u73af\u5883\u548c\u9884\u5904\u7406"}]},{"@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\/50845","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=50845"}],"version-history":[{"count":0,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/50845\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media\/50825"}],"wp:attachment":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media?parent=50845"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/categories?post=50845"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/tags?post=50845"},{"taxonomy":"topic","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/topic?post=50845"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}