﻿<?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++博客-guochen</title><link>http://www.cppblog.com/guochen/</link><description /><language>zh-cn</language><lastBuildDate>Tue, 14 Apr 2026 23:06:07 GMT</lastBuildDate><pubDate>Tue, 14 Apr 2026 23:06:07 GMT</pubDate><ttl>60</ttl><item><title>【笔记】《C++ primer》中文版第三版读书笔记（一）—— chaper 1 ~ chapter 5</title><link>http://www.cppblog.com/guochen/archive/2006/06/30/9251.html</link><dc:creator>郭晨</dc:creator><author>郭晨</author><pubDate>Fri, 30 Jun 2006 12:58:00 GMT</pubDate><guid>http://www.cppblog.com/guochen/archive/2006/06/30/9251.html</guid><wfw:comment>http://www.cppblog.com/guochen/comments/9251.html</wfw:comment><comments>http://www.cppblog.com/guochen/archive/2006/06/30/9251.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.cppblog.com/guochen/comments/commentRss/9251.html</wfw:commentRss><trackback:ping>http://www.cppblog.com/guochen/services/trackbacks/9251.html</trackback:ping><description><![CDATA[&nbsp;&nbsp;&nbsp;&nbsp; 摘要: 第1章 开始<br>第2章 C++浏览<br>第3章 C++数据类型<br>第4章 表达式<br>第5章 语句&nbsp;&nbsp;<a href='http://www.cppblog.com/guochen/archive/2006/06/30/9251.html'>阅读全文</a><img src ="http://www.cppblog.com/guochen/aggbug/9251.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.cppblog.com/guochen/" target="_blank">郭晨</a> 2006-06-30 20:58 <a href="http://www.cppblog.com/guochen/archive/2006/06/30/9251.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>【转载】单件模式</title><link>http://www.cppblog.com/guochen/archive/2006/06/29/9199.html</link><dc:creator>郭晨</dc:creator><author>郭晨</author><pubDate>Thu, 29 Jun 2006 13:49:00 GMT</pubDate><guid>http://www.cppblog.com/guochen/archive/2006/06/29/9199.html</guid><wfw:comment>http://www.cppblog.com/guochen/comments/9199.html</wfw:comment><comments>http://www.cppblog.com/guochen/archive/2006/06/29/9199.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.cppblog.com/guochen/comments/commentRss/9199.html</wfw:commentRss><trackback:ping>http://www.cppblog.com/guochen/services/trackbacks/9199.html</trackback:ping><description><![CDATA[&nbsp;&nbsp;&nbsp;&nbsp; 摘要: &nbsp;&nbsp;<a href='http://www.cppblog.com/guochen/archive/2006/06/29/9199.html'>阅读全文</a><img src ="http://www.cppblog.com/guochen/aggbug/9199.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.cppblog.com/guochen/" target="_blank">郭晨</a> 2006-06-29 21:49 <a href="http://www.cppblog.com/guochen/archive/2006/06/29/9199.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>【转载】什么是鲁棒性（健壮性）</title><link>http://www.cppblog.com/guochen/archive/2006/06/28/9121.html</link><dc:creator>郭晨</dc:creator><author>郭晨</author><pubDate>Wed, 28 Jun 2006 09:58:00 GMT</pubDate><guid>http://www.cppblog.com/guochen/archive/2006/06/28/9121.html</guid><wfw:comment>http://www.cppblog.com/guochen/comments/9121.html</wfw:comment><comments>http://www.cppblog.com/guochen/archive/2006/06/28/9121.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.cppblog.com/guochen/comments/commentRss/9121.html</wfw:commentRss><trackback:ping>http://www.cppblog.com/guochen/services/trackbacks/9121.html</trackback:ping><description><![CDATA[&nbsp;&nbsp;&nbsp;&nbsp; 摘要: 健壮性是指软件对于规范要求以外的输入情况的处理能力。&nbsp;&nbsp;<a href='http://www.cppblog.com/guochen/archive/2006/06/28/9121.html'>阅读全文</a><img src ="http://www.cppblog.com/guochen/aggbug/9121.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.cppblog.com/guochen/" target="_blank">郭晨</a> 2006-06-28 17:58 <a href="http://www.cppblog.com/guochen/archive/2006/06/28/9121.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>奋斗要趁早</title><link>http://www.cppblog.com/guochen/archive/2006/06/25/8991.html</link><dc:creator>郭晨</dc:creator><author>郭晨</author><pubDate>Sun, 25 Jun 2006 12:53:00 GMT</pubDate><guid>http://www.cppblog.com/guochen/archive/2006/06/25/8991.html</guid><wfw:comment>http://www.cppblog.com/guochen/comments/8991.html</wfw:comment><comments>http://www.cppblog.com/guochen/archive/2006/06/25/8991.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.cppblog.com/guochen/comments/commentRss/8991.html</wfw:commentRss><trackback:ping>http://www.cppblog.com/guochen/services/trackbacks/8991.html</trackback:ping><description><![CDATA[It's the time for me to do something.<br /><br />2006-07-21 20:17<br />   立志于做一个优秀的技术人员！但这只是手段，不是目的。<br />   专注于C++;<br />   专注于语音识别！<img src ="http://www.cppblog.com/guochen/aggbug/8991.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.cppblog.com/guochen/" target="_blank">郭晨</a> 2006-06-25 20:53 <a href="http://www.cppblog.com/guochen/archive/2006/06/25/8991.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>【感触】为什么C++会成功 －－ 摘自《C++编程思想》</title><link>http://www.cppblog.com/guochen/archive/2006/06/23/8909.html</link><dc:creator>郭晨</dc:creator><author>郭晨</author><pubDate>Fri, 23 Jun 2006 13:21:00 GMT</pubDate><guid>http://www.cppblog.com/guochen/archive/2006/06/23/8909.html</guid><wfw:comment>http://www.cppblog.com/guochen/comments/8909.html</wfw:comment><comments>http://www.cppblog.com/guochen/archive/2006/06/23/8909.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.cppblog.com/guochen/comments/commentRss/8909.html</wfw:commentRss><trackback:ping>http://www.cppblog.com/guochen/services/trackbacks/8909.html</trackback:ping><description><![CDATA[&nbsp;&nbsp;&nbsp;&nbsp; 摘要: 为什么C++会成功 ？<br>1） 较好的C；<br>2）采用渐进的学习方式；<br>3） 运行效率；<br>4）系统更容易表达和理解；<br>5）“库”使你事半功倍；<br>6）错误处理；<br>7）大程序设计。&nbsp;&nbsp;<a href='http://www.cppblog.com/guochen/archive/2006/06/23/8909.html'>阅读全文</a><img src ="http://www.cppblog.com/guochen/aggbug/8909.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.cppblog.com/guochen/" target="_blank">郭晨</a> 2006-06-23 21:21 <a href="http://www.cppblog.com/guochen/archive/2006/06/23/8909.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>【转载】一女孩写的经典“代码”，程序员该如何应对？</title><link>http://www.cppblog.com/guochen/archive/2006/06/19/8721.html</link><dc:creator>郭晨</dc:creator><author>郭晨</author><pubDate>Mon, 19 Jun 2006 11:08:00 GMT</pubDate><guid>http://www.cppblog.com/guochen/archive/2006/06/19/8721.html</guid><wfw:comment>http://www.cppblog.com/guochen/comments/8721.html</wfw:comment><comments>http://www.cppblog.com/guochen/archive/2006/06/19/8721.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.cppblog.com/guochen/comments/commentRss/8721.html</wfw:commentRss><trackback:ping>http://www.cppblog.com/guochen/services/trackbacks/8721.html</trackback:ping><description><![CDATA[
		<p> </p>
		<div style="BORDER-RIGHT: #cccccc 1px solid; PADDING-RIGHT: 5px; BORDER-TOP: #cccccc 1px solid; PADDING-LEFT: 4px; FONT-SIZE: 13px; PADDING-BOTTOM: 4px; BORDER-LEFT: #cccccc 1px solid; WIDTH: 98%; WORD-BREAK: break-all; PADDING-TOP: 4px; BORDER-BOTTOM: #cccccc 1px solid; BACKGROUND-COLOR: #eeeeee">
				<span style="COLOR: #008080"> 1</span> <span style="COLOR: #000000">result love(boy, girl)      //   happy or unhappy ? that is a question.<br /></span><span style="COLOR: #008080"> 2</span> <span style="COLOR: #000000">{<br /></span><span style="COLOR: #008080"> 3</span> <span style="COLOR: #000000">    </span><span style="COLOR: #0000ff">if</span><span style="COLOR: #000000">( boy.有房() and boy.有车() )   <br /></span><span style="COLOR: #008080"> 4</span> <span style="COLOR: #000000">    {<br /></span><span style="COLOR: #008080"> 5</span> <span style="COLOR: #000000">        boy.</span><span style="COLOR: #0000ff">set</span><span style="COLOR: #000000">(nothing);<br /></span><span style="COLOR: #008080"> 6</span> <span style="COLOR: #000000">        </span><span style="COLOR: #0000ff">return</span><span style="COLOR: #000000"> girl.嫁给(boy);   // <img height="20" src="http://www.cppblog.com/Emoticons/QQ/34.gif" width="20" border="0" /><br /></span><span style="COLOR: #008080"> 7</span> <span style="COLOR: #000000">    }<br /></span><span style="COLOR: #008080"> 8</span> <span style="COLOR: #000000">    </span><span style="COLOR: #0000ff">if</span><span style="COLOR: #000000">( girl.愿意等() )        <br /></span><span style="COLOR: #008080"> 9</span> <span style="COLOR: #000000">    {<br /></span><span style="COLOR: #008080">10</span> <span style="COLOR: #000000">    </span><span style="COLOR: #0000ff">while</span><span style="COLOR: #000000">(</span><span style="COLOR: #000000">!</span><span style="COLOR: #000000">(boy.赚钱 </span><span style="COLOR: #000000">&gt;</span><span style="COLOR: #000000"> </span><span style="COLOR: #000000">100</span><span style="COLOR: #000000">,</span><span style="COLOR: #000000">000</span><span style="COLOR: #000000"> and girl.感情 </span><span style="COLOR: #000000">&gt;</span><span style="COLOR: #000000"> </span><span style="COLOR: #000000">8</span><span style="COLOR: #000000"> ) )<br /></span><span style="COLOR: #008080">11</span> <span style="COLOR: #000000">    {<br /></span><span style="COLOR: #008080">12</span> <span style="COLOR: #000000">        </span><span style="COLOR: #0000ff">for</span><span style="COLOR: #000000">( day</span><span style="COLOR: #000000">=</span><span style="COLOR: #000000">1</span><span style="COLOR: #000000">; day </span><span style="COLOR: #000000">&lt;=</span><span style="COLOR: #000000">365</span><span style="COLOR: #000000">; day</span><span style="COLOR: #000000">++</span><span style="COLOR: #000000">)<br /></span><span style="COLOR: #008080">13</span> <span style="COLOR: #000000">        {<br /></span><span style="COLOR: #008080">14</span> <span style="COLOR: #000000">            </span><span style="COLOR: #0000ff">if</span><span style="COLOR: #000000">( day </span><span style="COLOR: #000000">==</span><span style="COLOR: #000000"> 情人节 )<br /></span><span style="COLOR: #008080">15</span> <span style="COLOR: #000000">            </span><span style="COLOR: #0000ff">if</span><span style="COLOR: #000000">( boy.givegirl(玫瑰) )<br /></span><span style="COLOR: #008080">16</span> <span style="COLOR: #000000">                girl.感情</span><span style="COLOR: #000000">++</span><span style="COLOR: #000000">;<br /></span><span style="COLOR: #008080">17</span> <span style="COLOR: #000000">            </span><span style="COLOR: #0000ff">else</span><span style="COLOR: #000000"><br /></span><span style="COLOR: #008080">18</span> <span style="COLOR: #000000">                girl.感情</span><span style="COLOR: #000000">--</span><span style="COLOR: #000000">;　　<br /></span><span style="COLOR: #008080">19</span> <span style="COLOR: #000000">            </span><span style="COLOR: #0000ff">if</span><span style="COLOR: #000000">( day </span><span style="COLOR: #000000">==</span><span style="COLOR: #000000"> girl.生日 )<br /></span><span style="COLOR: #008080">20</span> <span style="COLOR: #000000">            </span><span style="COLOR: #0000ff">if</span><span style="COLOR: #000000">( boy.givegirl(玫瑰) )<br /></span><span style="COLOR: #008080">21</span> <span style="COLOR: #000000">            {<br /></span><span style="COLOR: #008080">22</span> <span style="COLOR: #000000">                girl.感情</span><span style="COLOR: #000000">++</span><span style="COLOR: #000000">;<br /></span><span style="COLOR: #008080">23</span> <span style="COLOR: #000000">            </span><span style="COLOR: #0000ff">else</span><span style="COLOR: #000000"><br /></span><span style="COLOR: #008080">24</span> <span style="COLOR: #000000">                girl.感情</span><span style="COLOR: #000000">--</span><span style="COLOR: #000000">;<br /></span><span style="COLOR: #008080">25</span> <span style="COLOR: #000000">                boy.拼命赚钱();<br /></span><span style="COLOR: #008080">26</span> <span style="COLOR: #000000">            }<br /></span><span style="COLOR: #008080">27</span> <span style="COLOR: #000000">        }<br /></span><span style="COLOR: #008080">28</span> <span style="COLOR: #000000">        </span><span style="COLOR: #0000ff">if</span><span style="COLOR: #000000">( boy.有房() and boy.有车() )<br /></span><span style="COLOR: #008080">29</span> <span style="COLOR: #000000">        {<br /></span><span style="COLOR: #008080">30</span> <span style="COLOR: #000000">            boy.</span><span style="COLOR: #0000ff">set</span><span style="COLOR: #000000">(nothing);<br /></span><span style="COLOR: #008080">31</span> <span style="COLOR: #000000">            </span><span style="COLOR: #0000ff">return</span><span style="COLOR: #000000"> girl.嫁给(boy);      // <img height="20" src="http://www.cppblog.com/Emoticons/QQ/34.gif" width="20" border="0" /><br /></span><span style="COLOR: #008080">32</span> <span style="COLOR: #000000">        }<br /></span><span style="COLOR: #008080">33</span> <span style="COLOR: #000000">        年龄</span><span style="COLOR: #000000">++</span><span style="COLOR: #000000">;<br /></span><span style="COLOR: #008080">34</span> <span style="COLOR: #000000">        girl.感情</span><span style="COLOR: #000000">--</span><span style="COLOR: #000000">;<br /></span><span style="COLOR: #008080">35</span> <span style="COLOR: #000000">    }<br /></span><span style="COLOR: #008080">36</span> <span style="COLOR: #000000">    </span><span style="COLOR: #0000ff">return</span><span style="COLOR: #000000"> girl.</span><span style="COLOR: #0000ff">goto</span><span style="COLOR: #000000">( another_boy);<br /></span><span style="COLOR: #008080">37</span> <span style="COLOR: #000000">} </span></div>
<img src ="http://www.cppblog.com/guochen/aggbug/8721.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.cppblog.com/guochen/" target="_blank">郭晨</a> 2006-06-19 19:08 <a href="http://www.cppblog.com/guochen/archive/2006/06/19/8721.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item></channel></rss>