﻿<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/"><channel><title>C++博客-重新开始温习下Cplusplus</title><link>http://www.cppblog.com/cplus/</link><description /><language>zh-cn</language><lastBuildDate>Tue, 09 Jun 2026 19:59:05 GMT</lastBuildDate><pubDate>Tue, 09 Jun 2026 19:59:05 GMT</pubDate><ttl>60</ttl><item><title>c++入门之命名空间常用引用</title><link>http://www.cppblog.com/cplus/archive/2010/05/18/115716.html</link><dc:creator>重温cplusplus</dc:creator><author>重温cplusplus</author><pubDate>Tue, 18 May 2010 12:21:00 GMT</pubDate><guid>http://www.cppblog.com/cplus/archive/2010/05/18/115716.html</guid><wfw:comment>http://www.cppblog.com/cplus/comments/115716.html</wfw:comment><comments>http://www.cppblog.com/cplus/archive/2010/05/18/115716.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.cppblog.com/cplus/comments/commentRss/115716.html</wfw:commentRss><trackback:ping>http://www.cppblog.com/cplus/services/trackbacks/115716.html</trackback:ping><description><![CDATA[<p style="COLOR: red">#include &lt;iostream&gt;</p>
<p><span style="COLOR: red">using std::cin;<br>using std::cout;<br>using std::endl;</span><br>&nbsp;</p>
<p>int main()<br>{<br>&nbsp;&nbsp; int i = 0, sum = 0;<br>&nbsp;&nbsp; const int max = 10;</p>
<p>&nbsp;&nbsp; for(i = 1; i &lt;= max; i++)&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; sum += i;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br>&nbsp;&nbsp; <span style="COLOR: red">cout</span> &lt;&lt; <span style="COLOR: red">endl</span><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;&lt; "sum = " &lt;&lt; sum<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;&lt; <span style="COLOR: red">endl</span><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;&lt; "i = " &lt;&lt; i<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;&lt; <span style="COLOR: red">endl</span>;<br>&nbsp;&nbsp; return 0;<br>}<br></p>
<img src ="http://www.cppblog.com/cplus/aggbug/115716.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.cppblog.com/cplus/" target="_blank">重温cplusplus</a> 2010-05-18 20:21 <a href="http://www.cppblog.com/cplus/archive/2010/05/18/115716.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item></channel></rss>