{"id":87717,"date":"2026-07-30T19:24:29","date_gmt":"2026-07-30T11:24:29","guid":{"rendered":"https:\/\/www.wsisp.com\/helps\/87717.html"},"modified":"2026-07-30T19:24:29","modified_gmt":"2026-07-30T11:24:29","slug":"%e3%80%9000002%e3%80%91","status":"publish","type":"post","link":"https:\/\/www.wsisp.com\/helps\/87717.html","title":{"rendered":"\u301000002\u3011"},"content":{"rendered":"<h2>\u4e8c\u3001C\u8bed\u8a00<\/h2>\n<h2 style=\"text-align:center\">2.1\u57fa\u672c\u6570\u636e\u7c7b\u578b<\/h2>\n<h3>1.C\u8bed\u8a00\u5f00\u53d1\u6b65\u9aa4<\/h3>\n<h4>&#xff08;1&#xff09; vi\u7f16\u8f91\u5668<\/h4>\n<p>1.\u4f7f\u7528vi\u6253\u5f00\u8f6f\u4ef6<\/p>\n<p><span style=\"color:#0d0016\"><span style=\"background-color:#cbe0f1\">\u00a0 \u00a0 vi filename.c<\/span><\/span><\/p>\n<p>vi\u7f16\u8f91\u5668\u4e09\u79cd\u6a21\u5f0f&#xff1a;<br \/>\n\u5e95\u884c\u6a21\u5f0f&#xff08;\u9ed8\u8ba4&#xff0c;\u5176\u4f59\u6a21\u5f0f\u53ef\u4ee5ESC\u8fdb\u5165\u5e95\u884c\u6a21\u5f0f&#xff09;<br \/>\n\u63d2\u5165\u6a21\u5f0f&#xff08;\u5e95\u884c\u6a21\u5f0f\u8f93\u5165i\u3001a\u3001o\u5747\u53ef\u8fdb\u5165\u63d2\u5165\u6a21\u5f0f&#xff09;<br \/>\n\u547d\u4ee4\u6a21\u5f0f&#xff08;\u5e95\u884c\u6a21\u5f0f\u8f93\u5165: \u8fdb\u5165\u547d\u4ee4\u6a21\u5f0f&#xff09;<\/p>\n<p><span style=\"color:#4da8ee\">:wq<\/span> \u4fdd\u5b58\u5e76\u4e14\u9000\u51fa<br \/>\n<span style=\"color:#4da8ee\">:w<\/span> \u53ea\u4fdd\u5b58\u4e0d\u9000\u51fa<br \/>\n<span style=\"color:#4da8ee\">:q<\/span> \u76f4\u63a5\u9000\u51fa<br \/>\n<span style=\"color:#4da8ee\">:q!<\/span> \u4e0d\u4fdd\u5b58\u5f3a\u5236\u9000\u51fa<br \/>\n<span style=\"color:#4da8ee\">:wq! <\/span>\u5f3a\u5236\u4fdd\u5b58\u5e76\u4e14\u9000\u51fa<\/p>\n<p>2. \u70b9\u51fb <span style=\"color:#4da8ee\">i<\/span> \u952e\u8fdb\u5165\u63d2\u5165\u6a21\u5f0f<br \/>\n3. \u7f16\u5199\u4ee3\u7801<\/p>\n<p><span style=\"background-color:#cbe0f1\">\u00a0 <span style=\"color:#0d0016\">\u00a0 #include &lt;stdio.h&gt;<\/span><\/span><br \/>\n<span style=\"color:#0d0016\"><span style=\"background-color:#cbe0f1\">\u00a0 \u00a0 int main(void)<\/span><br \/>\n<span style=\"background-color:#cbe0f1\">\u00a0 \u00a0 {<\/span><br \/>\n<span style=\"background-color:#cbe0f1\">\u00a0 \u00a0 \u00a0 printf(&#034;Hello World!\\\\n&#034;);<\/span><br \/>\n<span style=\"background-color:#cbe0f1\">\u00a0 \u00a0 \u00a0 return 0;<\/span><\/span><\/p>\n<p><span style=\"color:#0d0016\"><span style=\"background-color:#cbe0f1\">\u00a0 \u00a0 }<\/span><\/span><br \/>\n4. \u70b9\u51fb<span style=\"color:#4da8ee\">ESC<\/span><br \/>\n5. \u8f93\u5165<span style=\"color:#4da8ee\">:wq<\/span>\u4fdd\u5b58\u5e76\u4e14\u9000\u51fa<\/p>\n<h4>&#xff08;2&#xff09;gcc\u7f16\u8bd1\u5668<\/h4>\n<h5>1.\u7f16\u8bd1C\u8bed\u8a00\u4ee3\u7801<\/h5>\n<p><span style=\"background-color:#cbe0f1\">\u00a0 \u00a0 <\/span><span style=\"color:#0d0016\"><span style=\"background-color:#cbe0f1\">gcc filename.c<\/span><\/span><br \/>\n<span style=\"color:#4da8ee\"><span style=\"background-color:#cbe0f1\">\u00a0 \u00a0 <\/span><\/span><span style=\"color:#0d0016\"><span style=\"background-color:#cbe0f1\">gcc filename.c -o filename<\/span><\/span><\/p>\n<p>\u6ce8\u610f&#xff1a;<br \/>\n\u5982\u679c\u4e0d\u6307\u5b9a\u751f\u6210\u4e8c\u8fdb\u5236\u7684\u7a0b\u5e8f\u540d&#xff0c;\u9ed8\u8ba4\u4f1a\u751f\u6210a.out<br \/>\n\u5982\u679c\u7f16\u8bd1\u62a5\u9519\u9700\u8981\u91cd\u65b0\u6253\u5f00\u4ee3\u7801\u4fee\u6539\u8bed\u6cd5\u95ee\u9898<br \/>\n\u5982\u679c\u7f16\u8bd1\u62a5\u8b66\u544a&#xff0c;\u6700\u597d\u6253\u5f00\u4ee3\u7801\u4fee\u6539\u544a\u8b66\u95ee\u9898<\/p>\n<h5>2.gcc\u7f16\u8bd1\u6d41\u7a0b<\/h5>\n<h6>\u9884\u5904\u7406<\/h6>\n<p>\u5904\u7406\u548c#\u53f7\u76f8\u5173\u7684\u4ee3\u7801<br \/>\n<span style=\"color:#4da8ee\">#include<\/span> \u5934\u6587\u4ef6\u5305\u542b<br \/>\n\u5c06\u5934\u6587\u4ef6\u4e2d\u7684\u5185\u5bb9\u5c55\u5f00<br \/>\n<span style=\"color:#4da8ee\">#define <\/span>\u5b8f\u5b9a\u4e49<br \/>\n\u5c06\u5b8f\u5b9a\u4e49\u5b8c\u6210\u66ff\u6362<br \/>\n<span style=\"color:#4da8ee\">#if\u00a0 #endif\u00a0 #else\u00a0 #elif\u00a0 #ifndef\u00a0 #ifdef<\/span> \u6761\u4ef6\u7f16\u8bd1<\/p>\n<p><span style=\"background-color:#cbe0f1\">\u00a0 \u00a0 gcc -E filename.c -o filename.i<\/span><\/p>\n<h6><span style=\"background-color:null\">\u7f16\u8bd1<\/span><\/h6>\n<p><span style=\"background-color:null\">\u5c06C\u8bed\u8a00\u4ee3\u7801\u7f16\u8bd1\u6210\u6c47\u7f16\u4ee3\u7801<\/span><\/p>\n<p><span style=\"background-color:#cbe0f1\">\u00a0 \u00a0 gcc -S filename.c -o filename.s<\/span><\/p>\n<h6><span style=\"background-color:null\">\u6c47\u7f16<\/span><\/h6>\n<p><span style=\"background-color:null\">\u5c06\u6c47\u7f16\u4ee3\u7801\u7f16\u8bd1\u6210\u4e8c\u8fdb\u5236\u4ee3\u7801<\/span><\/p>\n<p><span style=\"background-color:#cbe0f1\">\u00a0 \u00a0 gcc -c filename.c -o filename.o<\/span><\/p>\n<h6><span style=\"background-color:null\">\u94fe\u63a5<\/span><\/h6>\n<p><span style=\"background-color:null\">\u5c06\u591a\u4e2a\u4e8c\u8fdb\u5236\u4ee3\u7801\u94fe\u63a5\u4e3a\u4e00\u4e2a\u53ef\u6267\u884c\u7a0b\u5e8f<\/span><\/p>\n<p><span style=\"background-color:#cbe0f1\">\u00a0 \u00a0 gcc filename.c -o filename<\/span><\/p>\n<h4>&#xff08;3&#xff09;\u8fd0\u884c\u4ee3\u7801<\/h4>\n<p><span style=\"color:#0d0016\"><span style=\"background-color:#cbe0f1\">\u00a0 \u00a0 .\/\u4e8c\u8fdb\u5236\u7a0b\u5e8f\u540d<\/span><\/span><\/p>\n<h3>2.\u57fa\u7840\u77e5\u8bc6<\/h3>\n<h4>&#xff08;1&#xff09;\u7a0b\u5e8f\u5982\u4f55\u5728\u8ba1\u7b97\u673a\u4e2d\u8fd0\u884c<\/h4>\n<p>1. \u7f16\u5199C\u8bed\u8a00\u4ee3\u7801\u548c\u7f16\u8bd1\u597d\u7684\u4e8c\u8fdb\u5236\u53ef\u6267\u884c\u7a0b\u5e8f\u90fd\u5b58\u653e\u5728\u5916\u5b58\u4e2d<br \/>\n2. \u5f53\u6267\u884c\u4ee3\u7801\u65f6&#xff0c;\u4f1a\u5c06\u5916\u5b58\u4e2d\u7684\u4e8c\u8fdb\u5236\u4ee3\u7801\u653e\u5165\u5185\u5b58\u4e2d\u6267\u884c\u4e0eCPU\u4ea4\u4e92\u5b9e\u73b0\u5bf9\u5e94\u529f\u80fd<br \/>\n3. \u5f53\u4ee3\u7801\u6267\u884c\u7ed3\u675f\u540e&#xff0c;\u4f1a\u5c06\u5185\u5b58\u4e2d\u4e8c\u8fdb\u5236\u4ee3\u7801\u53ca\u5176\u6267\u884c\u7a7a\u95f4\u56de\u6536\u6389<\/p>\n<h4>&#xff08;2&#xff09;\u8ba1\u7b97\u673a\u4e2d\u6570\u636e\u91cf\u7684\u5355\u4f4d<\/h4>\n<p>1. \u8ba1\u7b97\u673a\u4e2d\u53ea\u67090\u30011\u4e8c\u8fdb\u5236\u6570\u636e<br \/>\n2. 1bit&#xff08;\u4f4d&#xff09;<br \/>\n3. 1byte&#xff08;\u5b57\u8282&#xff09;\u00a0&#061;&#061; 8bit<br \/>\n4. 1kb &#061;&#061; 1024 bytes<br \/>\n5. 1mb &#061;&#061; 1024 kb<br \/>\n6. 1gb &#061;&#061; 1024 mb<br \/>\n7. 1tb &#061;&#061; 1024 gb<\/p>\n<h4>&#xff08;3&#xff09;\u8fdb\u5236\u8f6c\u6362<\/h4>\n<p>1. \u4e8c\u8fdb\u5236&#xff08;0b&#xff09;&#xff1a;\u9022\u4e8c\u8fdb\u4e00 0 1<br \/>\n2. \u516b\u8fdb\u5236&#xff08;0\/0o&#xff09;&#xff1a;\u9022\u516b\u8fdb\u4e00 0 1 2 3 4 5 6 7<br \/>\n3. \u5341\u8fdb\u5236&#xff1a;\u9022\u5341\u8fdb\u4e00 0 1 2 3 4 5 6 7 8 9<br \/>\n4. \u5341\u516d\u8fdb\u5236&#xff08;0x&#xff09;&#xff1a;\u9022\u5341\u516d\u8fdb\u4e00 0 1 2 3 4 5 6 7 8 9 a b c d e f<br \/>\n5. \u4e8c\u8fdb\u5236\u3001\u516b\u8fdb\u5236\u3001\u5341\u516d\u8fdb\u5236\u8f6c\u5341\u8fdb\u5236<br \/>\n\u00a0 \u5bf9\u5e94\u4f4d * \u5bf9\u5e94\u4f4d\u7684\u6743\u503c\u518d\u6c42\u548c<br \/>\n6. \u5341\u8fdb\u5236\u8f6c\u4e8c\u8fdb\u5236\u3001\u516b\u8fdb\u5236\u3001\u5341\u516d\u8fdb\u5236<br \/>\n\u00a0 \u5341\u8fdb\u5236\u6570\u9664\u4ee5\u8fdb\u5236\u6570\u5f97\u5230\u7684\u4f59\u6570\u9006\u5e8f\u6392\u5217<br \/>\n7. \u4e8c\u8fdb\u5236\u8f6c\u6362\u4e3a\u516b\u8fdb\u5236<br \/>\n\u00a0 \u4e8c\u8fdb\u5236\u4e09\u4f4d\u5bf9\u5e94\u516b\u8fdb\u52361\u4f4d<br \/>\n8. \u4e8c\u8fdb\u5236\u8f6c\u6362\u4e3a\u5341\u516d\u8fdb\u5236<br \/>\n\u00a0 \u4e8c\u8fdb\u5236\u56db\u4f4d\u5bf9\u5e94\u5341\u516d\u8fdb\u52361\u4f4d<img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"550\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/07\/20260730112427-6a6b346bc5642.png\" width=\"1842\" \/><\/p>\n<h3>3.\u57fa\u672c\u6570\u636e\u7c7b\u578b<\/h3>\n<p>\u6570\u636e\u7c7b\u578b&#xff1a;\u6570\u636e\u5bf9\u8c61\u7684\u7279\u6027<br \/>\n\u57fa\u672c\u6570\u636e\u7c7b\u578b&#xff1a;C\u8bed\u8a00\u4e2d\u5df2\u7ecf\u5b9a\u4e49\u597d\u7684\u6570\u636e\u7c7b\u578b<br \/>\n\u6574\u6570\u7c7b\u578b&#xff1a;123<br \/>\n\u6d6e\u70b9\u6570\u7c7b\u578b&#xff1a;&#xff08;\u5c0f\u6570\u7c7b\u578b\/\u5b9e\u6570\u7c7b\u578b&#xff09; 3.14<br \/>\n\u5b57\u7b26\u578b&#xff1a;&#039;A&#039; &#039;!&#039;<br \/>\n\u903b\u8f91\u7c7b\u578b&#xff1a;true false<br \/>\n\u7f3a\u7701\u7c7b\u578b&#xff1a;void<br \/>\n\u6784\u9020\u6570\u636e\u7c7b\u578b&#xff1a;\u9700\u8981\u7528\u6237\u81ea\u5df1\u5b9a\u4e49\u7684\u6570\u636e\u7c7b\u578b<\/p>\n<h4>&#xff08;1&#xff09;\u6574\u6570\u7c7b\u578b<\/h4>\n<h5>1.short&#xff08;\u77ed\u6574\u578b&#xff09;<\/h5>\n<p>\u53602\u4e2a\u5b57\u8282<\/p>\n<h6>singed short&#xff08;\u9ed8\u8ba4&#xff09;&#xff1a;<\/h6>\n<p>signed short\u7c7b\u578b\u6700\u5de6\u8fb9\u76841bit\u8868\u793a\u7b26\u53f7\u4f4d&#xff08;0\u4e3a\u6b63\u30011\u4e3a\u8d1f&#xff09;&#xff0c;\u5176\u4f59\u4f4d\u8868\u793a\u6570\u636e\u4f4d&#xff08;\u6570\u636e<br \/>\n\u4f4d\u6309\u7167\u8865\u7801\u5b58\u653e&#xff09;<\/p>\n<p><span style=\"color:#fe2c24\">\u8d1f\u6570\u8865\u7801&#061;\u539f\u7801-&gt;\u53cd\u7801&#043;1<\/span><\/p>\n<p>signed short\u7c7b\u578b\u8868\u793a\u8303\u56f4&#xff1a;-32768 &#8212; 32767<\/p>\n<h6>unsigned short&#xff1a;<\/h6>\n<p>unsigned short\u7c7b\u578b\u6240\u6709\u5b57\u8282\u7a7a\u95f4\u5747\u5b58\u50a8\u6570\u636e\u4f4d<\/p>\n<p>unsiged short\u7c7b\u578b\u8868\u793a\u8303\u56f4&#xff1a; 0 &#8212; 65535<\/p>\n<h5>2.int&#xff08;\u6574\u578b&#xff09;<\/h5>\n<p>\u53604\u4e2a\u5b57\u8282<\/p>\n<h6>singed int&#xff08;\u9ed8\u8ba4&#xff09;&#xff1a;<\/h6>\n<p>signed int\u7c7b\u578b\u6700\u5de6\u8fb9\u76841bit\u8868\u793a\u7b26\u53f7\u4f4d&#xff08;0\u4e3a\u6b63\u30011\u4e3a\u8d1f&#xff09;&#xff0c;\u5176\u4f59\u4f4d\u8868\u793a\u6570\u636e\u4f4d&#xff08;\u6570\u636e<br \/>\n\u4f4d\u6309\u7167\u8865\u7801\u5b58\u653e&#xff09;<\/p>\n<p>signed int\u7c7b\u578b\u8868\u793a\u8303\u56f4&#xff1a;-21\u4ebf &#8212; 21\u4ebf<\/p>\n<h6>unsigned int&#xff1a;<\/h6>\n<p>unsigned int\u7c7b\u578b\u6240\u6709\u5b57\u8282\u7a7a\u95f4\u5747\u5b58\u50a8\u6570\u636e\u4f4d<\/p>\n<p>unsiged int\u7c7b\u578b\u8868\u793a\u8303\u56f4&#xff1a; 0 &#8212; 42\u4ebf<\/p>\n<h5>3.long&#xff08;\u957f\u6574\u578b&#xff09;<\/h5>\n<p>\u53608\u4e2a\u5b57\u8282<\/p>\n<h6>singed long&#xff08;\u9ed8\u8ba4&#xff09;&#xff1a;<\/h6>\n<p>signed long\u7c7b\u578b\u6700\u5de6\u8fb9\u76841bit\u8868\u793a\u7b26\u53f7\u4f4d&#xff08;0\u4e3a\u6b63\u30011\u4e3a\u8d1f&#xff09;&#xff0c;\u5176\u4f59\u4f4d\u8868\u793a\u6570\u636e\u4f4d&#xff08;\u6570\u636e<br \/>\n\u4f4d\u6309\u7167\u8865\u7801\u5b58\u653e&#xff09;<\/p>\n<p>signed long\u7c7b\u578b\u8868\u793a\u8303\u56f4&#xff1a;-2^32 &#8212; 2^32 -1<\/p>\n<h6>unsigned long&#xff1a;<\/h6>\n<p>unsigned long\u7c7b\u578b\u6240\u6709\u5b57\u8282\u7a7a\u95f4\u5747\u5b58\u50a8\u6570\u636e\u4f4d<\/p>\n<p>unsiged long\u7c7b\u578b\u8868\u793a\u8303\u56f4&#xff1a; 0 &#8212; 2^64 -1<\/p>\n<h4>&#xff08;2&#xff09;\u6d6e\u70b9\u6570\u7c7b\u578b<\/h4>\n<h5>1.float&#xff08;\u5355\u7cbe\u5ea6\u6d6e\u70b9\u6570\u7c7b\u578b&#xff09;<\/h5>\n<p>\u53604\u4e2a\u5b57\u8282<br \/>\n\u6240\u6709\u7684float\u7c7b\u578b\u5747\u4e3a\u6709\u7b26\u53f7<br \/>\n1\u4f4d\u7b26\u53f7\u4f4d &#043; 8\u6307\u6570\u4f4d &#043; 23\u5c3e\u6570\u4f4d<br \/>\nfloat\u7c7b\u578b 6-8\u4f4d\u6709\u6548\u6570\u5b57<\/p>\n<h5>2.double&#xff08;\u53cc\u7cbe\u5ea6\u6d6e\u70b9\u6570\u7c7b\u578b&#xff09;<\/h5>\n<p>\u53608\u4e2a\u5b57\u8282<\/p>\n<p>\u6240\u6709\u7684double\u7c7b\u578b\u5747\u4e3a\u6709\u7b26\u53f7<br \/>\n1\u4f4d\u7b26\u53f7\u4f4d &#043; 11\u6307\u6570\u4f4d &#043; 52\u5c3e\u6570\u4f4d<br \/>\ndouble\u7c7b\u578b12-16\u4f4d\u6709\u6548\u6570\u5b57<\/p>\n<h4>&#xff08;3&#xff09;\u5b57\u7b26\u578b<\/h4>\n<h5>char&#xff1a;\u8be5\u7c7b\u578b\u4e3b\u8981\u7528\u4e8e\u8868\u793a\u5b58\u50a8\u5b57\u7b26\u7c7b\u578b<\/h5>\n<p>\u53601\u4e2a\u5b57\u8282<\/p>\n<h6>singed char&#xff08;\u9ed8\u8ba4&#xff09;&#xff1a;<\/h6>\n<p>signed char\u7c7b\u578b\u6700\u5de6\u8fb9\u76841bit\u8868\u793a\u7b26\u53f7\u4f4d&#xff08;0\u4e3a\u6b63\u30011\u4e3a\u8d1f&#xff09;&#xff0c;\u5176\u4f59\u4f4d\u8868\u793a\u6570\u636e\u4f4d&#xff08;\u6570\u636e<br \/>\n\u4f4d\u6309\u7167\u8865\u7801\u5b58\u653e&#xff09;<\/p>\n<p>signed char\u7c7b\u578b\u8868\u793a\u8303\u56f4&#xff1a;-128 &#8212; 127<\/p>\n<h6>unsigned char&#xff1a;<\/h6>\n<p>unsigned char\u7c7b\u578b\u6240\u6709\u5b57\u8282\u7a7a\u95f4\u5747\u5b58\u50a8\u6570\u636e\u4f4d<\/p>\n<p>unsiged char\u7c7b\u578b\u8868\u793a\u8303\u56f4&#xff1a; 0 &#8212; 255<br \/>\nASCII\u7801\u8868&#xff1a;\u89c4\u5b9a\u5b57\u7b26\u548c\u6570\u5b57\u4e4b\u95f4\u8f6c\u6362\u5173\u7cfb<\/p>\n<p>\u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u8868\u793a\u6240\u6709\u80fd\u591f\u5728\u5c4f\u5e55\u4e0a\u663e\u793a\u6216\u8005\u952e\u76d8\u8f93\u5165\u7684\u5b57\u7b26<\/p>\n<p>\u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 32\u53f7\u4e4b\u524d\u4e3b\u8981\u7528\u4e8e\u901a\u4fe1\u63a7\u5236<\/p>\n<h4>&#xff08;4&#xff09;\u6ce2\u5c14&#xff08;bool&#xff09;\u7c7b\u578b\/\u903b\u8f91\u7c7b\u578b<\/h4>\n<p>bool\u7c7b\u578b\u7684\u503c\u57df\u8303\u56f4&#xff1a;true&#xff08;1&#xff09;\u3001false&#xff08;0&#xff09;<br \/>\nC\u8bed\u8a00\u4e2d\u975e0\u503c\u5373\u4e3a\u903b\u8f91\u771f\u503c&#xff0c;0\u503c\u4e3a\u903b\u8f91\u5047\u503c<\/p>\n<h4>&#xff08;5&#xff09;\u7f3a\u7701&#xff08;void&#xff09;\u7c7b\u578b<\/h4>\n<p>\u4e3b\u8981\u7528\u4e8e\u642d\u914d\u51fd\u6570\u4f20\u53c2\u3001\u6307\u9488\u6765\u4f7f\u7528<\/p>\n<h3>4.\u5e38\u91cf\u548c\u53d8\u91cf<\/h3>\n<h4>&#xff08;1&#xff09;\u5e38\u91cf<\/h4>\n<h5>1.\u6574\u578b\u5e38\u91cf<\/h5>\n<p>\u9ed8\u8ba4\u4e3asigned int\u7c7b\u578b<\/p>\n<p><span style=\"background-color:#cbe0f1\">\u00a0 \u00a0\u00a0-123<\/span><br \/>\n<span style=\"background-color:#cbe0f1\">\u00a0 \u00a0 100<\/span><br \/>\n<span style=\"background-color:#cbe0f1\">\u00a0 \u00a0 123U<\/span><br \/>\n<span style=\"background-color:#cbe0f1\">\u00a0 \u00a0 123u<\/span><br \/>\n<span style=\"background-color:#cbe0f1\">\u00a0 \u00a0 123UL<\/span><br \/>\n<span style=\"background-color:#cbe0f1\">\u00a0 \u00a0 123ul<\/span><br \/>\n<span style=\"background-color:#cbe0f1\">\u00a0 \u00a0 123l<\/span><br \/>\n<span style=\"background-color:#cbe0f1\">\u00a0 \u00a0 123L<\/span><br \/>\n<span style=\"background-color:#cbe0f1\">\u00a0 \u00a0 0123<\/span><br \/>\n<span style=\"background-color:#cbe0f1\">\u00a0 \u00a0 0x1a<\/span><br \/>\n<span style=\"background-color:#cbe0f1\">\u00a0 \u00a0 0X1F<\/span><\/p>\n<h5>2.\u6d6e\u70b9\u578b\u5e38\u91cf<\/h5>\n<p>\u9ed8\u8ba4\u4e3adouble\u7c7b\u578b<\/p>\n<p><span style=\"background-color:#cbe0f1\">\u00a0 \u00a0\u00a05.12<\/span><br \/>\n<span style=\"background-color:#cbe0f1\">\u00a0 \u00a0 12.34<\/span><br \/>\n<span style=\"background-color:#cbe0f1\">\u00a0 \u00a0 3.14f<\/span><br \/>\n<span style=\"background-color:#cbe0f1\">\u00a0 \u00a0 5.34F<\/span><br \/>\n<span style=\"background-color:#cbe0f1\">\u00a0 \u00a0 12.56e5<\/span><br \/>\n<span style=\"background-color:#cbe0f1\">\u00a0 \u00a0 -13.98e-10<\/span><br \/>\n<span style=\"background-color:#cbe0f1\">\u00a0 \u00a0 99.34E8<\/span><\/p>\n<h5>3.\u5b57\u7b26\u5e38\u91cf<\/h5>\n<p>\u5b57\u7b26\u578b\u5e38\u91cf\u5fc5\u987b\u52a0&#039; &#039;&#xff0c;\u53ea\u80fd\u51991\u4e2a\u5b57\u7b26<br \/>\n<span style=\"background-color:#cbe0f1\">\u00a0 \u00a0 &#039;a&#039;;<\/span><br \/>\n<span style=\"background-color:#cbe0f1\">\u00a0 \u00a0 &#039;A&#039;;<\/span><br \/>\n<span style=\"background-color:#cbe0f1\">\u00a0 \u00a0 &#039;Z&#039;;<\/span><br \/>\n<span style=\"background-color:#cbe0f1\">\u00a0 \u00a0 &#039;!&#039;;<\/span><br \/>\n<span style=\"background-color:#cbe0f1\">\u00a0 \u00a0 &#039;~&#039;;<\/span><br \/>\n<span style=\"background-color:#cbe0f1\">\u00a0 \u00a0 &#039;&#039;&#039;;<\/span><br \/>\n<span style=\"background-color:#cbe0f1\">\u00a0 \u00a0 &#039;&#034;&#039;;<\/span><br \/>\n<span style=\"background-color:#cbe0f1\">\u00a0 \u00a0 &#039; &#039;;<\/span><br \/>\n<span style=\"background-color:#cbe0f1\">\u00a0 \u00a0 &#039;0&#039;;<\/span><br \/>\n<span style=\"background-color:#cbe0f1\">\u00a0 \u00a0 &#039;1&#039;;<\/span><br \/>\n<span style=\"background-color:#cbe0f1\">\u00a0 \u00a0 &#039;9&#039;;<\/span><br \/>\n<span style=\"background-color:#cbe0f1\">\u00a0 \u00a0 &#039;\\\\n&#039;;<\/span><span style=\"background-color:null\">\u6362\u884c\u7b26&#xff0c;\u5149\u6807\u79fb\u5230\u4e0b\u4e00\u884c\u5f00\u5934<\/span><br \/>\n<span style=\"background-color:#cbe0f1\">\u00a0 \u00a0 &#039;\\\\a&#039;;<\/span><span style=\"background-color:null\">\u54cd\u94c3\u8b66\u62a5&#xff0c;\u8f93\u51fa\u65f6\u7ec8\u7aef\u8702\u9e23<\/span><br \/>\n<span style=\"background-color:#cbe0f1\">\u00a0 \u00a0 &#039;\\\\b&#039;;<\/span><span style=\"background-color:null\">\u9000\u683c\u7b26&#xff0c;\u5149\u6807\u5411\u5de6\u56de\u9000\u4e00\u683c<\/span><br \/>\n<span style=\"background-color:#cbe0f1\">\u00a0 \u00a0 &#039;\\\\r&#039;;<\/span><span style=\"background-color:null\">\u56de\u8f66\u7b26&#xff0c;\u5149\u6807\u56de\u5230\u672c\u884c\u6700\u5de6\u4fa7<\/span><br \/>\n<span style=\"background-color:#cbe0f1\">\u00a0 \u00a0 &#039;\\\\t&#039;;<\/span><span style=\"background-color:null\">\u6c34\u5e73\u5236\u8868\u7b26&#xff0c;\u6a2a\u5411\u8df3\u683c&#xff08;\u901a\u5e38\u5360 4\/8 \u7a7a\u683c\u5bbd\u5ea6&#xff09;<\/span><br \/>\n<span style=\"background-color:#cbe0f1\">\u00a0 \u00a0 &#039;\\\\v&#039;;<\/span><span style=\"background-color:null\">\u5782\u76f4\u5236\u8868\u7b26&#xff0c;\u7eb5\u5411\u6362\u884c\u8df3\u884c<\/span><br \/>\n<span style=\"background-color:#cbe0f1\">\u00a0 \u00a0 &#039;\\\\\\\\&#039;;<\/span><span style=\"background-color:null\">\u53cd\u659c\u6760\u672c\u8eab&#xff0c;\u7528\u6765\u8f93\u51fa\u4e00\u4e2a<\/span><span style=\"background-color:null\">\\\\<\/span><br \/>\n<span style=\"background-color:#cbe0f1\">\u00a0 \u00a0 &#039;\\\\0&#039;;<\/span><span style=\"background-color:null\">\u7a7a\u7ec8\u6b62\u7b26&#xff0c;ASCII 0&#xff0c;C \u8bed\u8a00\u5b57\u7b26\u4e32\u7ed3\u675f\u6807\u8bb0<\/span><br \/>\n<span style=\"background-color:#cbe0f1\">\u00a0 \u00a0 &#039;\\\\065&#039;;<\/span><br \/>\n<span style=\"background-color:#cbe0f1\">\u00a0 \u00a0 &#039;\\\\x41&#039;;<\/span><\/p>\n<h5>4.\u5b57\u7b26\u4e32\u5e38\u91cf<\/h5>\n<p>\u5b57\u7b26\u4e32\u6700\u672b\u5c3e\u4f1a\u6709\u4e00\u4e2a\u7528\u6765\u6807\u8bc6\u7ed3\u5c3e\u7684\\\\0\u5b57\u7b26<\/p>\n<p>\u201ca\u201d\u662f\u7531<span style=\"color:#4da8ee\">&#039;a&#039;<\/span>\u548c<span style=\"color:#4da8ee\">&#039;\\\\0&#039;<\/span>\u7ec4\u6210&#xff0c;\u4e0e&#039;a&#039;\u4e0d\u7b49\u4ef7<\/p>\n<h5>5.\u6807\u8bc6\u5e38\u91cf<\/h5>\n<p>#define \u5b8f\u5b9a\u4e49<\/p>\n<p>\u589e\u5f3a\u4ee3\u7801\u7684\u53ef\u8bfb\u6027&#xff0c;\u907f\u514d\u9b54\u9b3c\u6570\u5b57<\/p>\n<p>\u5b8f\u5b9a\u4e49\u53ea\u662f\u4ee3\u7801\u7684\u66ff\u6362&#xff0c;\u4e0d\u4f1a\u6267\u884c\u4efb\u4f55\u6570\u636e\u8ba1\u7b97\u7684\u64cd\u4f5c<br \/>\n\u5b8f\u5b9a\u4e49\u4e2d\u80fd\u52a0\u62ec\u53f7\u5c31\u52a0\u62ec\u53f7<\/p>\n<p><span style=\"background-color:#cbe0f1\">\u00a0 \u00a0\u00a0#define M &#xff08;50&#xff09;<\/span><\/p>\n<p><span style=\"background-color:#cbe0f1\">\u00a0 \u00a0 #define N\u00a0&#xff08;&#xff08;M&#xff09;&#043;&#xff08;M&#xff09;&#xff09;<\/span><\/p>\n<h4>&#xff08;2&#xff09;\u53d8\u91cf<\/h4>\n<p>\u5728\u7a0b\u5e8f\u8fd0\u884c\u8fc7\u7a0b\u4e2d&#xff0c;\u503c\u53ef\u4ee5\u53d1\u751f\u6539\u53d8\u7684\u91cf<\/p>\n<p>\u53d8\u91cf\u56e0\u4e3a\u5728\u5185\u5b58\u4e2d\u6709\u5b58\u50a8\u7a7a\u95f4&#xff0c;\u6240\u4ee5\u53ef\u4ee5\u901a\u8fc7\u5411\u5b58\u50a8\u7a7a\u95f4\u8d4b\u503c\u6765\u4fee\u6539\u53d8\u91cf\u7684\u503c<br \/>\n\u53d8\u91cf\u5fc5\u987b\u5148\u5b9a\u4e49\u518d\u4f7f\u7528<br \/>\n\u5f00\u8f9f\u5bf9\u5e94\u7c7b\u578b\u7684\u53d8\u91cf\u7a7a\u95f4&#xff0c;\u7a7a\u95f4\u540d\u79f0\u4e3a\u53d8\u91cf\u540d&#xff0c;\u901a\u8fc7\u53d8\u91cf\u540d\u53ef\u4ee5\u8bbf\u95ee\u8be5\u7a7a\u95f4&#xff0c;\u5b58\u53d6<br \/>\n\u53d8\u91cf\u4e2d\u7684\u6570\u636e\u65f6\u5fc5\u987b\u6309\u7167\u53d8\u91cf\u7c7b\u578b\u5b8c\u6210\u5bf9\u6570\u636e\u7684\u64cd\u4f5c<\/p>\n<h5>1.\u53d8\u91cf\u7684\u5b9a\u4e49<\/h5>\n<p><span style=\"background-color:#cbe0f1\">\u00a0 \u00a0 \u6570\u636e\u7c7b\u578b \u53d8\u91cf\u540d;<\/span><\/p>\n<p>\u6570\u636e\u7c7b\u578b&#xff1a;\u57fa\u672c\u6570\u636e\u7c7b\u578b<br \/>\n\u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u6784\u9020\u6570\u636e\u7c7b\u578b<\/p>\n<p>\u53d8\u91cf\u540d&#xff1a;\u53ea\u80fd\u7531\u5b57\u6bcd\u3001\u6570\u5b57\u3001\u4e0b\u5212\u7ebf\u6784\u6210&#xff0c;\u4e0d\u80fd\u4ee5\u6570\u5b57\u5f00\u5934<br \/>\n\u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u4e0d\u80fd\u4e0eC\u8bed\u8a00\u5173\u952e\u5b57\u91cd\u540d<br \/>\n\u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u6700\u597d\u4e0d\u8981\u4e0eC\u8bed\u8a00\u5e93\u51fd\u6570\u91cd\u540d<br \/>\n\u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u53d8\u91cf\u540d\u6700\u597d\u505a\u5230\u89c1\u540d\u77e5\u610f&#xff08;\u9a7c\u5cf0\u6cd5\u3001Linux\u5185\u6838 GNU&#xff09;<\/p>\n<h6>\u6574\u5f62\u53d8\u91cf\u5b9a\u4e49:<\/h6>\n<p><span style=\"background-color:#cbe0f1\">\u00a0 \u00a0 short var;<\/span><br \/>\n<span style=\"background-color:#cbe0f1\">\u00a0 \u00a0 unsigned short var;<\/span><br \/>\n<span style=\"background-color:#cbe0f1\">\u00a0 \u00a0 int var;<\/span><br \/>\n<span style=\"background-color:#cbe0f1\">\u00a0 \u00a0 unsigned int var;<\/span><br \/>\n<span style=\"background-color:#cbe0f1\">\u00a0 \u00a0 long var;<\/span><br \/>\n<span style=\"background-color:#cbe0f1\">\u00a0 \u00a0 unsigned long var;<\/span><\/p>\n<h6>\u6d6e\u70b9\u578b\u53d8\u91cf\u5b9a\u4e49<\/h6>\n<p><span style=\"background-color:#cbe0f1\">\u00a0 \u00a0 float var;<\/span><br \/>\n<span style=\"background-color:#cbe0f1\">\u00a0 \u00a0 double var;<\/span><\/p>\n<h6>\u5b57\u7b26\u578b\u53d8\u91cf\u5b9a\u4e49<\/h6>\n<p><span style=\"background-color:#cbe0f1\">\u00a0 \u00a0 char var;<\/span><\/p>\n<p><span style=\"background-color:#cbe0f1\">\u00a0 \u00a0 unsigned var&#xff1b;<\/span><\/p>\n<h6>\u6cca\u5c14\u7c7b\u578b\u53d8\u91cf\u5b9a\u4e49<\/h6>\n<p><span style=\"background-color:#cbe0f1\">\u00a0 \u00a0 #include &lt;stdbool.h&gt;<\/span><br \/>\n<span style=\"background-color:#cbe0f1\">\u00a0 \u00a0 bool var;<\/span><\/p>\n<h5>2.\u53d8\u91cf\u7684\u521d\u59cb\u5316<\/h5>\n<p>\u521d\u59cb\u5316&#xff1a;\u5b9a\u4e49\u53d8\u91cf\u65f6\u4e3a\u53d8\u91cf\u8d4b\u521d\u503c&#xff0c;\u79f0\u4e3a\u521d\u59cb\u5316<br \/>\n\u8d4b\u503c&#xff1a;\u53d8\u91cf\u5b9a\u4e49\u5b8c\u6bd5\u540e&#xff0c;\u901a\u8fc7\u201c&#061;\u201d\u5bf9\u53d8\u91cf\u7a7a\u95f4\u8d4b\u503c&#xff0c;\u5c06\u201c&#061;\u201d\u53f3\u8fb9\u7684\u503c\u62f7\u8d1d\u5230\u201c&#061;\u201d\u5de6\u8fb9\u7684<br \/>\n\u7a7a\u95f4<br \/>\n\u6ce8\u610f&#xff1a;\u5982\u679c\u53d8\u91cf\u4e0d\u521d\u59cb\u5316&#xff0c;\u53d8\u91cf\u4e3a\u968f\u673a\u503c&#xff0c;\u6240\u4ee5\u53d8\u91cf\u4e00\u5b9a\u8981\u521d\u59cb\u5316&#xff0c;\u4e0d\u8981\u4f7f\u7528\u672a\u7ecf<br \/>\n\u521d\u59cb\u5316\u7684\u53d8\u91cf<\/p>\n<h4>&#xff08;3&#xff09;\u8868\u8fbe\u5f0f<\/h4>\n<p>\u6982\u5ff5&#xff1a;\u7531\u8fd0\u7b97\u7b26\u8fde\u63a5\u7684\u5e38\u91cf\u6216\u53d8\u91cf\u7ec4\u6210\u7684\u5f0f\u5b50<br \/>\n\u7279\u70b9&#xff1a;\u8868\u8fbe\u5f0f\u4e00\u5b9a\u6709\u7c7b\u578b<br \/>\n\u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0\u8868\u8fbe\u5f0f\u4e00\u5b9a\u6709\u503c<\/p>\n<h5>1.\u6df7\u5408\u6570\u636e\u6570\u636e\u7c7b\u578b\u8fd0\u7b97<\/h5>\n<p>\u5982\u679c\u8fd0\u7b97\u7b26\u5de6\u53f3\u4e24\u7aef\u7c7b\u578b\u4e0d\u4e00\u81f4&#xff0c;\u9700\u8981\u8f6c\u6362\u4e3a\u540c\u4e00\u7c7b\u578b\u8fdb\u884c\u8fd0\u7b97<\/p>\n<h6>\u8f6c\u6362\u89c4\u5219<\/h6>\n<p>\u4f4e\u7cbe\u5ea6\u7c7b\u578b\u8f6c\u6362\u4e3a\u9ad8\u7cbe\u5ea6\u7c7b\u578b<\/p>\n<p>\u6d6e\u70b9\u6570\u7c7b\u578b\u7cbe\u5ea6 &gt; \u6574\u6570\u7c7b\u578b\u7cbe\u5ea6&#xff0c;\u540c\u4e00\u7c7b\u578b\u6240\u5360\u7a7a\u95f4\u8d8a\u5927\u7cbe\u5ea6\u8d8a\u9ad8<br \/>\n\u65e0\u7b26\u53f7\u7c7b\u578b\u7cbe\u5ea6 &gt; \u6709\u7b26\u53f7\u7c7b\u578b\u7cbe\u5ea6<br \/>\nchar\u3001short\u5728\u6570\u636e\u8fd0\u7b97\u65f6\u4f1a\u5f3a\u5236\u6362\u8f6c\u4e3aint\u8fdb\u884c\u6570\u636e\u8fd0\u7b97\u548c\u6570\u636e\u5904\u7406<br \/>\nfloat\u5728\u6570\u636e\u8fd0\u7b97\u65f6\u4f1a\u5f3a\u5236\u6362\u6362\u4f4ddouble\u8fdb\u884c\u6570\u636e\u8fd0\u7b97\u548c\u6570\u636e\u5904\u7406<\/p>\n<h6>\u7c7b\u578b\u8f6c\u6362<\/h6>\n<p>1. \u5f3a\u5236\u7c7b\u578b\u8f6c\u6362&#xff08;\u663e\u793a\u7c7b\u578b\u8f6c\u6362&#xff09;<br \/>\n<span style=\"background-color:#cbe0f1\">\u00a0 \u00a0&#xff08;\u7c7b\u578b&#xff09;\u8868\u8fbe\u5f0f\/\u53d8\u91cf<\/span><br \/>\n2. \u9690\u5f0f\u7c7b\u578b\u8f6c\u6362<br \/>\n\u4e3b\u8981\u53d1\u751f\u5728\u6df7\u5408\u6570\u636e\u7c7b\u578b\u8fd0\u7b97\u548c\u5904\u7406\u65f6&#xff0c;\u4f4e\u7cbe\u5ea6\u8f6c\u6362\u4e3a\u9ad8\u7cbe\u5ea6<\/p>\n<h4>&#xff08;4&#xff09;\u8fd0\u7b97\u7b26<\/h4>\n<h5>1.\u7b97\u6570\u8fd0\u7b97\u7b26<\/h5>\n<p>&#043;&#xff08;\u52a0\u6cd5&#xff09;\u3001-&#xff08;\u51cf\u6cd5&#xff09;\u3001*&#xff08;\u4e58\u6cd5&#xff09;\u3001\/&#xff08;\u9664\u6cd5&#xff09;\u3001%&#xff08;\u53d6\u4f59&#xff09;\u3001&#043;&#xff08;\u81ea\u589e&#xff09;\u3001&#8211;&#xff08;\u81ea\u51cf&#xff09;<br \/>\n%&#xff1a;\u552f\u4e00\u4e0d\u80fd\u5bf9\u6d6e\u70b9\u6570\u64cd\u4f5c\u7684\u7b97\u6570\u8fd0\u7b97\u7b26<br \/>\n&#043;&#043;\/&#8211;&#xff1a;\u53ea\u80fd\u5bf9\u53d8\u91cf\u64cd\u4f5c<\/p>\n<h5>2.\u8d4b\u503c\u8fd0\u7b97\u7b26<\/h5>\n<p>&#061;\u3001&#043;&#061;\u3001-&#061;\u3001*&#061;\u3001\/&#061;\u3001%&#061;<\/p>\n<p>\u5de6\u503c&#xff1a;\u53d8\u91cf\u53ef\u4ee5\u4f5c\u4e3a\u5de6\u503c<br \/>\n\u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0\u5e38\u91cf\/\u8868\u8fbe\u5f0f\u4e0d\u80fd\u4f5c\u4e3a\u5de6\u503c<\/p>\n<p>\u53f3\u503c&#xff1a;\u53d8\u91cf\/\u5e38\u91cf\/\u8868\u8fbe\u5f0f\u90fd\u53ef\u4ee5\u4f5c\u4e3a\u53f3\u503c<\/p>\n<h6>\u6df7\u5408\u7c7b\u578b\u8d4b\u503c\u5904\u7406\u65b9\u5f0f&#xff1a;<\/h6>\n<p>1. \u6574\u5f62\u8d4b\u503c\u7ed9\u6d6e\u70b9\u6570\u7c7b\u578b&#xff0c;\u6269\u5c55\u7cbe\u5ea6<br \/>\n2. \u6d6e\u70b9\u6570\u7c7b\u578b\u8d4b\u503c\u7ed9\u6574\u5f62&#xff0c;\u820d\u5f03\u5c0f\u6570\u70b9\u540e\u7684\u7cbe\u5ea6\u6570\u636e<br \/>\n3. \u5982\u679c\u6709\u7b26\u53f7\u548c\u65e0\u7b26\u53f7\u6574\u5f62\u4e92\u76f8\u8d4b\u503c&#xff0c;\u4f1a\u76f4\u63a5\u5b8c\u6210\u5185\u5b58\u7a7a\u95f4\u7684\u62f7\u8d1d<br \/>\n4. \u5c0f\u6570\u636e\u653e\u5165\u5927\u7a7a\u95f4&#xff0c;\u6709\u7b26\u53f7\u6570\u6269\u7b26\u53f7\u4f4d&#xff0c;\u65e0\u7b26\u53f7\u6570\u62690<br \/>\n5. \u5927\u6570\u636e\u653e\u5165\u5c0f\u7a7a\u95f4&#xff0c;\u76f4\u63a5\u622a\u53d6\u6570\u636e\u4f4e\u4f4d<\/p>\n<h5>3. \u9017\u53f7\u8fd0\u7b97\u7b26<\/h5>\n<p>\u4ece\u5de6\u5230\u53f3\u4f9d\u6b21\u6267\u884c\u9017\u53f7\u8868\u8fbe\u5f0f&#xff0c;\u5e76\u5c06\u6700\u540e\u4e00\u4e2a\u9017\u53f7\u8868\u8fbe\u5f0f\u7684\u7ed3\u679c\u4f5c\u4e3a\u6574\u4f53\u7684\u7ed3\u679c<\/p>\n<h5>4. sizeof\u8fd0\u7b97\u7b26<\/h5>\n<p>sizeof\u53ef\u4ee5\u83b7\u5f97\u6570\u636e\u7c7b\u578b\u6216\u8005\u53d8\u91cf\u6240\u5360\u5185\u5b58\u7a7a\u95f4\u5927\u5c0f&#xff08;\u5355\u4f4d&#xff1a;\u5b57\u8282&#xff09;<\/p>\n<h5>5. \u8fd0\u7b97\u7b26\u4f18\u5148\u7ea7<\/h5>\n<p>\u62ec\u53f7 &gt; \u5355\u76ee &gt; \u53cc\u76ee&#xff08;\u7b97\u6570 &gt; \u79fb\u4f4d &gt; \u5173\u7cfb &gt; \u4f4d &gt; \u903b\u8f91&#xff09; &gt; \u4e09\u76ee &gt; \u8d4b\u503c &gt; \u9017\u53f7<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u4e8c\u3001C\u8bed\u8a002.1\u57fa\u672c\u6570\u636e\u7c7b\u578b1.C\u8bed\u8a00\u5f00\u53d1\u6b65\u9aa4&#xff08;1&#xff09; vi\u7f16\u8f91\u56681.\u4f7f\u7528vi\u6253\u5f00\u8f6f\u4ef6vi filename.cvi\u7f16\u8f91\u5668\u4e09\u79cd\u6a21\u5f0f&#xff1a;<br \/>\n\u5e95\u884c\u6a21\u5f0f&#xff08;\u9ed8\u8ba4&#xff0c;\u5176\u4f59\u6a21\u5f0f\u53ef\u4ee5ESC\u8fdb\u5165\u5e95\u884c\u6a21\u5f0f&#xff09;<br \/>\n\u63d2\u5165\u6a21\u5f0f&#xff08;\u5e95\u884c\u6a21\u5f0f\u8f93\u5165i\u3001a\u3001o\u5747\u53ef\u8fdb\u5165\u63d2\u5165\u6a21\u5f0f&#xff09;<br \/>\n\u547d\u4ee4\u6a21\u5f0f&#xff08;\u5e95\u884c\u6a21\u5f0f\u8f93\u5165: \u8fdb\u5165\u547d\u4ee4\u6a21\u5f0f&#xff09;:wq \u4fdd\u5b58\u5e76\u4e14\u9000\u51fa<br \/>\n:w \u53ea\u4fdd\u5b58\u4e0d\u9000\u51fa<br \/>\n:q \u76f4\u63a5\u9000\u51fa<br \/>\n:q! <\/p>\n","protected":false},"author":2,"featured_media":87716,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[58],"topic":[],"class_list":["post-87717","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-server","tag-linux"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v20.3 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>\u301000002\u3011 - \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\/87717.html\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"\u301000002\u3011 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"og:description\" content=\"\u4e8c\u3001C\u8bed\u8a002.1\u57fa\u672c\u6570\u636e\u7c7b\u578b1.C\u8bed\u8a00\u5f00\u53d1\u6b65\u9aa4&#xff08;1&#xff09; vi\u7f16\u8f91\u56681.\u4f7f\u7528vi\u6253\u5f00\u8f6f\u4ef6vi filename.cvi\u7f16\u8f91\u5668\u4e09\u79cd\u6a21\u5f0f&#xff1a; \u5e95\u884c\u6a21\u5f0f&#xff08;\u9ed8\u8ba4&#xff0c;\u5176\u4f59\u6a21\u5f0f\u53ef\u4ee5ESC\u8fdb\u5165\u5e95\u884c\u6a21\u5f0f&#xff09; \u63d2\u5165\u6a21\u5f0f&#xff08;\u5e95\u884c\u6a21\u5f0f\u8f93\u5165i\u3001a\u3001o\u5747\u53ef\u8fdb\u5165\u63d2\u5165\u6a21\u5f0f&#xff09; \u547d\u4ee4\u6a21\u5f0f&#xff08;\u5e95\u884c\u6a21\u5f0f\u8f93\u5165: \u8fdb\u5165\u547d\u4ee4\u6a21\u5f0f&#xff09;:wq \u4fdd\u5b58\u5e76\u4e14\u9000\u51fa :w \u53ea\u4fdd\u5b58\u4e0d\u9000\u51fa :q \u76f4\u63a5\u9000\u51fa :q!\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.wsisp.com\/helps\/87717.html\" \/>\n<meta property=\"og:site_name\" content=\"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"article:published_time\" content=\"2026-07-30T11:24:29+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/07\/20260730112427-6a6b346bc5642.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\/87717.html\",\"url\":\"https:\/\/www.wsisp.com\/helps\/87717.html\",\"name\":\"\u301000002\u3011 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"isPartOf\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\"},\"datePublished\":\"2026-07-30T11:24:29+00:00\",\"dateModified\":\"2026-07-30T11:24:29+00:00\",\"author\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/87717.html#breadcrumb\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.wsisp.com\/helps\/87717.html\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/87717.html#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"https:\/\/www.wsisp.com\/helps\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"\u301000002\u3011\"}]},{\"@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":"\u301000002\u3011 - \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\/87717.html","og_locale":"zh_CN","og_type":"article","og_title":"\u301000002\u3011 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","og_description":"\u4e8c\u3001C\u8bed\u8a002.1\u57fa\u672c\u6570\u636e\u7c7b\u578b1.C\u8bed\u8a00\u5f00\u53d1\u6b65\u9aa4&#xff08;1&#xff09; vi\u7f16\u8f91\u56681.\u4f7f\u7528vi\u6253\u5f00\u8f6f\u4ef6vi filename.cvi\u7f16\u8f91\u5668\u4e09\u79cd\u6a21\u5f0f&#xff1a; \u5e95\u884c\u6a21\u5f0f&#xff08;\u9ed8\u8ba4&#xff0c;\u5176\u4f59\u6a21\u5f0f\u53ef\u4ee5ESC\u8fdb\u5165\u5e95\u884c\u6a21\u5f0f&#xff09; \u63d2\u5165\u6a21\u5f0f&#xff08;\u5e95\u884c\u6a21\u5f0f\u8f93\u5165i\u3001a\u3001o\u5747\u53ef\u8fdb\u5165\u63d2\u5165\u6a21\u5f0f&#xff09; \u547d\u4ee4\u6a21\u5f0f&#xff08;\u5e95\u884c\u6a21\u5f0f\u8f93\u5165: \u8fdb\u5165\u547d\u4ee4\u6a21\u5f0f&#xff09;:wq \u4fdd\u5b58\u5e76\u4e14\u9000\u51fa :w \u53ea\u4fdd\u5b58\u4e0d\u9000\u51fa :q \u76f4\u63a5\u9000\u51fa :q!","og_url":"https:\/\/www.wsisp.com\/helps\/87717.html","og_site_name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","article_published_time":"2026-07-30T11:24:29+00:00","og_image":[{"url":"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/07\/20260730112427-6a6b346bc5642.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\/87717.html","url":"https:\/\/www.wsisp.com\/helps\/87717.html","name":"\u301000002\u3011 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","isPartOf":{"@id":"https:\/\/www.wsisp.com\/helps\/#website"},"datePublished":"2026-07-30T11:24:29+00:00","dateModified":"2026-07-30T11:24:29+00:00","author":{"@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41"},"breadcrumb":{"@id":"https:\/\/www.wsisp.com\/helps\/87717.html#breadcrumb"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.wsisp.com\/helps\/87717.html"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.wsisp.com\/helps\/87717.html#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"https:\/\/www.wsisp.com\/helps"},{"@type":"ListItem","position":2,"name":"\u301000002\u3011"}]},{"@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\/87717","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=87717"}],"version-history":[{"count":0,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/87717\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media\/87716"}],"wp:attachment":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media?parent=87717"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/categories?post=87717"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/tags?post=87717"},{"taxonomy":"topic","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/topic?post=87717"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}