{"rsdb":{"rid":"156014","subhead":"","postdate":"0","aid":"117120","fid":"49","uid":"1","topic":"1","content":"
\n

C++<\/a>\u8f93\u5165\u91cd\u5b9a\u5411 \u8bb2\u8bb2\u7f16\u7a0b<\/a><\/a>\u7ade\u8d5b\u672c\u673a\u8c03\u8bd5\u6280\u5de7<\/strong>\uff1a\u559c\u6b22\u7f16\u7a0b<\/a>\u7684\u4e00\u5b9a\u5e0c\u671b\u53c2\u52a0ACM\u5427\u3002\u51e0\u4e4e\u6240\u6709\u7684ACM\u6559\u6750\u90fd\u6709\u8bb2\u5230\u8f93\u5165\u6d41\u7684\u91cd\u5b9a\u5411\uff0c\u4e0d\u8fc7\u63d0\u5230\u53ea\u9700\u4e00\u53e5\u5c31\u80fd\u91cd\u5b9a\u5411\u7684\u4e66\u8fd8\u771f\u4e0d\u591a\u3002\u8fd8\u6709\u91cd\u5b9a\u5411\u7684\u6ce8\u610f\u4e8b\u9879\u3002

\u597d\u4e45\u6ca1\u5199
C++<\/a>\u7a0b\u5e8f\u7684\uff0c\u4e3a\u4e86\u6253\u6253CodeJam\u7684\u9171\u6cb9\uff0c\u4eca\u5929\u7ec3\u4e60\u4e86\u4e00\u4e0b\u3002\u7ed3\u679c\u5c31\u56e0\u4e3a\u8fd9\u4e2a\u91cd\u5b9a\u5411\u95ee\u9898\u6d6a\u8d39\u7684\u4e00\u5929\u7684\u65f6\u95f4\uff0c\u8fd8\u4ee5\u4e3a\u662f\u7b97\u6cd5\u5199\u9519\u4e86\u5462\uff01\u771f\u662f\u65e0\u5948\u5230\u5410\u8840\u5440\uff01<\/p> \n

\u5934\u6587\u4ef6\u9700\u8981\uff1a#include\n <\/fstream><\/p> \n

\u91cd\u5b9a\u5411\u8bed\u53e5\uff1aifsteam cin(\"C:\\\\xxx\\\\xxx\\\\xxx.xxx\");<\/p> \n

\u6ce8\u610f\uff0c\u6ce8\u610f\u554a\uff0c\u4e00\u5b9a\u8981\u7edd\u5bf9\u8def\u5f84\uff01\u7528VC6\u6216\u8005CodeBlock\u8c03\u8bd5\u7684\u65f6\u5019\u7a0b\u5e8f\u8fd0\u884c\u76ee\u5f55\u4e0d\u662f\u7a0b\u5e8f\u7684\u751f\u6210\u76ee\u5f55\uff01\u4e0d\u5199\u7edd\u5bf9\u8def\u5f84\uff0c\u5c31\u6ca1\u6709\u8f93\u5165\uff0c\u7a0b\u5e8f\u8c03\u8bd5\u65f6\u5c31\u5361\u5728\u8f93\u5165\u4e0a\u4e86\uff01\uff01\uff01\u8fd8\u6709\uff0c\u662f\u4e24\u6761\u53cd\u659c\u6760\uff0c\u4e24\u6761\uff0c\u4e0d\u662f\u4e00\u6761\uff01\uff01\uff01\uff08\u4e22\u4eba\u554a\uff0c\u6211\u7adf\u7136\u5f3a\u8c03\u8fd9\u4e2a\u3002\uff09<\/p> \n

\u7ed9\u4e2a\u6211\u7684\u4ee3\u7801\u6a21\u677f\uff1a<\/p> \n

\r\n#include\r\n#include\r\n#include\r\n#include\r\n#include\r\n\r\n#define debug \/\/\u63d0\u4ea4\u4ee3\u7801\u65f6\u6ce8\u91ca\u8fd9\u884c\r\n\r\nint main()\r\n{\r\n#ifdef debug\r\n\/\/cin\u91cd\u5b9a\u5411\r\nifstream cin(\"C:\\\\Users\\\\xxx\\\\Desktop\\\\test.txt\");\r\n#endif\r\n\r\n\/\/ToDo\r\n\r\n\/\/Done\r\n#ifdef debug\r\ncout< getchar();\r\n#endif\r\n\r\nreturn 0;\r\n}<\/pre> \n<\/dd>","orderid":"0","title":"C++\u8f93\u5165\u91cd\u5b9a\u5411 \u8bb2\u8bb2\u7f16\u7a0b\u7ade\u8d5b\u672c\u673a\u8c03\u8bd5\u6280\u5de7","smalltitle":"","mid":"0","fname":"c++\u7f16\u7a0b\u57fa\u7840","special_id":"0","bak_id":"0","info":"0","hits":"118","pages":"1","comments":"0","posttime":"2017-01-10 08:14:58","list":"1484007298","username":"admin","author":"","copyfrom":"","copyfromurl":"","titlecolor":"","fonttype":"0","titleicon":"0","picurl":"http:\/\/www.cppentry.com\/upload_files\/","ispic":"0","yz":"1","yzer":"","yztime":"0","levels":"0","levelstime":"0","keywords":"\u8f93\u5165<\/A> \u5b9a\u5411<\/A> \u8bb2\u8bb2<\/A> \u7f16\u7a0b<\/A> \u7ade\u8d5b<\/A> \u8c03\u8bd5<\/A> \u6280\u5de7<\/A>","jumpurl":"","iframeurl":"","style":"","template":"a:3:{s:4:\"head\";s:0:\"\";s:4:\"foot\";s:0:\"\";s:8:\"bencandy\";s:0:\"\";}","target":"0","ip":"14.17.22.36","lastfid":"0","money":"0","buyuser":"","passwd":"","allowdown":"","allowview":"","editer":"","edittime":"0","begintime":"0","endtime":"0","description":"C++\u8f93\u5165\u91cd\u5b9a\u5411 \u8bb2\u8bb2\u7f16\u7a0b\u7ade\u8d5b\u672c\u673a\u8c03\u8bd5\u6280\u5de7","lastview":"1500931594","digg_num":"0","digg_time":"0","forbidcomment":"0","ifvote":"0","heart":"","htmlname":"","city_id":"0"},"page":"1"}