{"id":274315,"date":"2021-01-12T08:01:49","date_gmt":"2021-01-12T00:01:49","guid":{"rendered":"http:\/\/4563.org\/?p=274315"},"modified":"2021-01-12T08:01:49","modified_gmt":"2021-01-12T00:01:49","slug":"%e8%af%b7%e6%95%99%e4%b8%80%e4%b8%aa%e3%80%8ac-primer-plus%e3%80%8b%e4%b8%8a%e4%b8%80%e4%b8%aa%e4%bb%a3%e7%a0%81%e7%9a%84%e9%97%ae%e9%a2%98","status":"publish","type":"post","link":"http:\/\/4563.org\/?p=274315","title":{"rendered":"\u8bf7\u6559\u4e00\u4e2a\u300aC Primer Plus\u300b\u4e0a\u4e00\u4e2a\u4ee3\u7801\u7684\u95ee\u9898"},"content":{"rendered":"<div>\n<div>\n<div>\n<h1>                  \u8bf7\u6559\u4e00\u4e2a\u300aC Primer Plus\u300b\u4e0a\u4e00\u4e2a\u4ee3\u7801\u7684\u95ee\u9898               <\/h1>\n<p> <\/p>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : commoccoom <\/span>  <span><i><\/i> 0<\/span> <\/div>\n<div> <\/div>\n<\/p><\/div>\n<\/p><\/div>\n<\/p><\/div>\n<div isfirst=\"1\"> <\/p>\n<pre><code>\/*\u5bf9\u7528\u6237\u8f93\u5165\u7684\u6574\u6570\u6c42\u548c*\/ #include &lt;stdio.h&gt;  int main(void) {  long num;  long sum = 0L;   int status;   printf(\"Please enter an integer to be summed \");  printf(\"(q to quit): \");  status = scanf_s(\"%1d\", &amp;num);      while (status == 1)   {     sum = sum + num;   printf(\"Please enter next integer (q to quit): \");   status = scanf_s(\"%1d\", &amp;num);  }   printf(\"Those integers sum to %1d.n\", sum);  return 0; } <\/code><\/pre>\n<p>\u4e3a\u4ec0\u4e48\u6211\u7684\u8fd0\u884c\u7ed3\u679c\u662f\u4e0d\u5bf9\u7684\u554a      <\/p><\/div>\n<div> <b>\u5927\u4f6c\u6709\u8a71\u8aaa<\/b> (<span>5<\/span>)        <\/div>\n<div> <\/div>\n<\/p><\/div>\n<\/p><\/div>\n<ul>\n<li data-pid=\"4909575\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : QBugHunter <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             while (status == 1)<br \/>?????                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"4909576\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : Chowe <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             %1d \u8868\u793a\u957f\u5ea6\u4e3a 1 \u7684\u6574\u5f62\u6570<br \/>\u6240\u4ee5 12 \u4f1a\u53d8\u6210<br \/>1<br \/>2<br \/>\u66f4\u591a\u6709\u5173\u7ec6\u8282\uff0c\u8bf7\u67e5\u9605\u683c\u5f0f\u5316\u8f93\u5165\u8f93\u51fa                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"4909577\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u4e3b<\/span> <span>\u8cc7\u6df1\u5927\u4f6c : commoccoom <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @Chowe \u660e\u767d\u4e86\uff0c\u591a\u8c22\uff01                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"4909578\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : msg7086 <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u4f60\u662f\u4e0d\u662f\u628a ld \u6253\u6210\u4e86 1d \uff1f                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"4909579\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u4e3b<\/span> <span>\u8cc7\u6df1\u5927\u4f6c : commoccoom <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @msg7086 \u597d\u50cf\u662f\u7684\u554a                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li>\n","protected":false},"excerpt":{"rendered":"<p>\u8bf7\u6559\u4e00\u4e2a\u300aC Primer Plu&hellip;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[],"tags":[],"_links":{"self":[{"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts\/274315"}],"collection":[{"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=274315"}],"version-history":[{"count":0,"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts\/274315\/revisions"}],"wp:attachment":[{"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=274315"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=274315"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=274315"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}