{"id":1047,"date":"2010-04-28T09:37:00","date_gmt":"2010-04-28T01:37:00","guid":{"rendered":""},"modified":"2013-11-24T20:38:48","modified_gmt":"2013-11-24T12:38:48","slug":"%e7%a8%8b%e5%ba%8f%e5%91%98%e7%9a%84%e6%83%85%e4%b9%a6","status":"publish","type":"post","link":"https:\/\/kyle.ai\/blog\/1047.html","title":{"rendered":"\u7a0b\u5e8f\u5458\u7684\u60c5\u4e66"},"content":{"rendered":"<p>QS.H<\/p>\n<pre class=\"brush: cpp; title: ; notranslate\" title=\"\">\r\n#include\r\n#include\r\n\r\n#define \u5929\u957f\u5730\u4e45 10000\r\n#define \u6c38\u8fdc\u7231\u4f60 &quot;Loving you forever!&quot;\r\n#define \u4eb2\u7231\u7684 main\r\n#define \u76f8\u4fe1 while\r\n#define \u732e\u7ed9 void\r\n#define \u8001\u5a46 HANDLE\r\n#define \u53ea\u5bf9\u4f60\u8bf4 printf\r\n#define \u6211\u7684 GetStdHandle\r\n#define \u521d\u604b STD_OUTPUT_HANDLE\r\n#define \u6211\u4f1a\u597d\u597d\u73cd\u60dc SetConsoleTextAttribute\r\n#define \u6bcf\u5929\u60f3\u4f60 Sleep\r\n#define \u5e0c\u671b int\r\n#define \u4ece =\r\n#define \u6700\u521d\u5f00\u59cb 0\r\n#define \u4f1a\u5230 &lt;=\r\n<\/pre>\n<p>QS.CPP<\/p>\n<pre class=\"brush: cpp; title: ; notranslate\" title=\"\">\r\n#include &quot;QS.h&quot;\r\n\r\n\u732e\u7ed9 \u4eb2\u7231\u7684()\r\n{\r\n \u8001\u5a46 \u4f60;\r\n \u4f60 = \u6211\u7684(\u521d\u604b);\r\n \u5e0c\u671b \u6211\u4eec\u7684\u7231\u60c5 \u4ece \u6700\u521d\u5f00\u59cb;\r\n \u76f8\u4fe1(\u6211\u4eec\u7684\u7231\u60c5 \u4f1a\u5230 \u5929\u957f\u5730\u4e45)\r\n {\r\n  \u6211\u4f1a\u597d\u597d\u73cd\u60dc(\u4f60,\u6211\u4eec\u7684\u7231\u60c5);\r\n  \u53ea\u5bf9\u4f60\u8bf4(&quot;  %s\\n&quot;,\u6c38\u8fdc\u7231\u4f60);\r\n  \u6bcf\u5929\u60f3\u4f60(100);\r\n  \u6211\u4eec\u7684\u7231\u60c5++;\r\n }\r\n}\r\n<\/pre>\n<p>\u8fd0\u884c\u540e\u6548\u679c\u5982\u56fe\uff1a<\/p>\n<p><img decoding=\"async\" class=\"blogimg\" src=\".\/wp-content\/uploads\/hibaidu\/eb7ef5f30d9a7a2bb17ec567.jpg\" alt=\"\" border=\"0\" \/><\/p>\n","protected":false},"excerpt":{"rendered":"<p>QS.H #include #include #define \u5929\u957f\u5730\u4e45 10000 #define \u6c38\u8fdc\u7231\u4f60  [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[6],"tags":[],"class_list":["post-1047","post","type-post","status-publish","format-standard","hentry","category-code_related"],"_links":{"self":[{"href":"https:\/\/kyle.ai\/blog\/wp-json\/wp\/v2\/posts\/1047","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/kyle.ai\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/kyle.ai\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/kyle.ai\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/kyle.ai\/blog\/wp-json\/wp\/v2\/comments?post=1047"}],"version-history":[{"count":1,"href":"https:\/\/kyle.ai\/blog\/wp-json\/wp\/v2\/posts\/1047\/revisions"}],"predecessor-version":[{"id":5169,"href":"https:\/\/kyle.ai\/blog\/wp-json\/wp\/v2\/posts\/1047\/revisions\/5169"}],"wp:attachment":[{"href":"https:\/\/kyle.ai\/blog\/wp-json\/wp\/v2\/media?parent=1047"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/kyle.ai\/blog\/wp-json\/wp\/v2\/categories?post=1047"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/kyle.ai\/blog\/wp-json\/wp\/v2\/tags?post=1047"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}