<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++</title><link>http://blog.csdn.net/shaohui/category/60131.aspx</link><description>关于C++程序设计的一些文章,适合与初学者. </description><dc:language>zh-CN</dc:language><lastUpdateTime>Tue, 22 Apr 2008 02:26:00 GMT</lastUpdateTime><ttl>60</ttl><item><dc:creator>shaohui</dc:creator><title>STL学习笔记：用非递归的方法实现汉诺塔问题</title><link>http://blog.csdn.net/shaohui/archive/2006/04/12/660018.aspx</link><pubDate>Wed, 12 Apr 2006 10:10:00 GMT</pubDate><guid>http://blog.csdn.net/shaohui/archive/2006/04/12/660018.aspx</guid><wfw:comment>http://blog.csdn.net/shaohui/comments/660018.aspx</wfw:comment><comments>http://blog.csdn.net/shaohui/archive/2006/04/12/660018.aspx#Feedback</comments><slash:comments>1</slash:comments><wfw:commentRss>http://blog.csdn.net/shaohui/comments/commentRss/660018.aspx</wfw:commentRss><trackback:ping>http://tb.blog.csdn.net/TrackBack.aspx?PostId=660018</trackback:ping><description>早就想写篇关于用非递归的方法解决汉诺塔问题的文章，但是一直都没有时间去研究这个。最近学了点STL，但是一直都没有找到练手的地方，那就从这个地方开始吧。 




关于这个问题的代码你可以在http://www.freewebs.com/zhengsh/download/hanoi.tar.gz 下载。

&lt;img src ="http://blog.csdn.net/shaohui/aggbug/660018.aspx" width = "1" height = "1" /&gt;</description></item><item><dc:creator>shaohui[编程夜未眠]</dc:creator><title>如何编译SnifferFox version beta的源代码</title><link>http://blog.csdn.net/shaohui/archive/2006/03/03/614916.aspx</link><pubDate>Fri, 03 Mar 2006 19:21:00 GMT</pubDate><guid>http://blog.csdn.net/shaohui/archive/2006/03/03/614916.aspx</guid><wfw:comment>http://blog.csdn.net/shaohui/comments/614916.aspx</wfw:comment><comments>http://blog.csdn.net/shaohui/archive/2006/03/03/614916.aspx#Feedback</comments><slash:comments>1</slash:comments><wfw:commentRss>http://blog.csdn.net/shaohui/comments/commentRss/614916.aspx</wfw:commentRss><trackback:ping>http://tb.blog.csdn.net/TrackBack.aspx?PostId=614916</trackback:ping><description>有人拿到源代码后来问我应该怎样编译它，我估计多半都是BCB在初学者，为了大家的方便，我干脆把编译的过程写出来供大家参考。&lt;img src ="http://blog.csdn.net/shaohui/aggbug/614916.aspx" width = "1" height = "1" /&gt;</description></item><item><dc:creator>shaohui[编程夜未眠]</dc:creator><title> c++资源之不完全导引   </title><link>http://blog.csdn.net/shaohui/archive/2005/06/03/387082.aspx</link><pubDate>Fri, 03 Jun 2005 15:13:00 GMT</pubDate><guid>http://blog.csdn.net/shaohui/archive/2005/06/03/387082.aspx</guid><wfw:comment>http://blog.csdn.net/shaohui/comments/387082.aspx</wfw:comment><comments>http://blog.csdn.net/shaohui/archive/2005/06/03/387082.aspx#Feedback</comments><slash:comments>1</slash:comments><wfw:commentRss>http://blog.csdn.net/shaohui/comments/commentRss/387082.aspx</wfw:commentRss><trackback:ping>http://tb.blog.csdn.net/TrackBack.aspx?PostId=387082</trackback:ping><description>无数次听到“我要开始学习C++!”的呐喊，无数次听到“C++太复杂了，我真的学不会”的无奈。Stan Lippman先生曾在《C++ Primer》一书中指出“C++是最为难学的高级程序设计语言之一”，人们常将“之一”去掉以表达自己对C++的敬畏。诚然，C++程序设计语言对于学习者的确有很多难以逾越的鸿沟，体系结构的庞大，应接不暇并不断扩充的特性……除此之外，参考资料之多与冗杂使它的学习者望而却步，欲求深入者苦不堪言。希望这一份不完全导引能够成为您C++学习之路上的引路灯。

&lt;img src ="http://blog.csdn.net/shaohui/aggbug/387082.aspx" width = "1" height = "1" /&gt;</description></item><item><dc:creator>shaohui[编程夜未眠]</dc:creator><title>C++程序员常用工具集</title><link>http://blog.csdn.net/shaohui/archive/2005/06/03/387079.aspx</link><pubDate>Fri, 03 Jun 2005 15:12:00 GMT</pubDate><guid>http://blog.csdn.net/shaohui/archive/2005/06/03/387079.aspx</guid><wfw:comment>http://blog.csdn.net/shaohui/comments/387079.aspx</wfw:comment><comments>http://blog.csdn.net/shaohui/archive/2005/06/03/387079.aspx#Feedback</comments><slash:comments>1</slash:comments><wfw:commentRss>http://blog.csdn.net/shaohui/comments/commentRss/387079.aspx</wfw:commentRss><trackback:ping>http://tb.blog.csdn.net/TrackBack.aspx?PostId=387079</trackback:ping><description>C++程序员常用工具集&lt;img src ="http://blog.csdn.net/shaohui/aggbug/387079.aspx" width = "1" height = "1" /&gt;</description></item><item><dc:creator>shaohui[编程夜未眠]</dc:creator><title>出现频率最高的笔试题</title><link>http://blog.csdn.net/shaohui/archive/2005/04/21/356351.aspx</link><pubDate>Thu, 21 Apr 2005 01:51:00 GMT</pubDate><guid>http://blog.csdn.net/shaohui/archive/2005/04/21/356351.aspx</guid><wfw:comment>http://blog.csdn.net/shaohui/comments/356351.aspx</wfw:comment><comments>http://blog.csdn.net/shaohui/archive/2005/04/21/356351.aspx#Feedback</comments><slash:comments>3</slash:comments><wfw:commentRss>http://blog.csdn.net/shaohui/comments/commentRss/356351.aspx</wfw:commentRss><trackback:ping>http://tb.blog.csdn.net/TrackBack.aspx?PostId=356351</trackback:ping><description>
     今天我去考试就遇到这个题目了。

    关键字：C++,strcpy,字符串,复制,拷贝,copy,笔试,试题&lt;img src ="http://blog.csdn.net/shaohui/aggbug/356351.aspx" width = "1" height = "1" /&gt;</description></item><item><dc:creator>shaohui</dc:creator><title>C++语言风格流变史</title><link>http://blog.csdn.net/shaohui/archive/2004/11/09/173760.aspx</link><pubDate>Tue, 09 Nov 2004 11:28:00 GMT</pubDate><guid>http://blog.csdn.net/shaohui/archive/2004/11/09/173760.aspx</guid><wfw:comment>http://blog.csdn.net/shaohui/comments/173760.aspx</wfw:comment><comments>http://blog.csdn.net/shaohui/archive/2004/11/09/173760.aspx#Feedback</comments><slash:comments>11</slash:comments><wfw:commentRss>http://blog.csdn.net/shaohui/comments/commentRss/173760.aspx</wfw:commentRss><trackback:ping>http://tb.blog.csdn.net/TrackBack.aspx?PostId=173760</trackback:ping><description>程序代码也有风格，这算不得什么新鲜事。早在20世纪80年代， C语言程序员就必须在K&amp;R风格和ANSI风格之间择善而从。但平心而论，我确实没有见过哪一种语言能像C++这样，在代码风格方面表现得如此诡谲和难以捉摸：谁也说不清C++代码究竟能衍生出多少种迥异的风格，但我知道，有许多C++初学者在面对不同风格的C++代码时，经常会误以为自己看到的是好几种完全不同的编程语言——仅此一点就足以提醒我们，研究和廓清C++语言风格的演化和发展规律已是当务之急了。

和文体学家们研究历朝历代文体变迁的工作相仿，研究C++语言风格的流变史也没有什么捷径可走。我们只能依据刘勰在《文心雕龙》中提倡的“原始以表末”[1]的研究方法，循着历史的脉络，推求代码风格的来源，探寻风格演化的内因，并借以阐明技术发展的趋势和规律。 

&lt;img src ="http://blog.csdn.net/shaohui/aggbug/173760.aspx" width = "1" height = "1" /&gt;</description></item><item><dc:creator>shaohui</dc:creator><title>搜集C/C++编译器</title><link>http://blog.csdn.net/shaohui/archive/2004/11/05/169295.aspx</link><pubDate>Fri, 05 Nov 2004 19:26:00 GMT</pubDate><guid>http://blog.csdn.net/shaohui/archive/2004/11/05/169295.aspx</guid><wfw:comment>http://blog.csdn.net/shaohui/comments/169295.aspx</wfw:comment><comments>http://blog.csdn.net/shaohui/archive/2004/11/05/169295.aspx#Feedback</comments><slash:comments>77</slash:comments><wfw:commentRss>http://blog.csdn.net/shaohui/comments/commentRss/169295.aspx</wfw:commentRss><trackback:ping>http://tb.blog.csdn.net/TrackBack.aspx?PostId=169295</trackback:ping><description>在所有的和计算机的相关的专业中，C,C++几乎都是必修课，而我们用的编译器多半都是Turboc 2.0,Visual C++,Borland C++ Builder，然而C/C++的编译器是何其多，长期使用一个编译器会让我们形成思维的定视，就像当我们长期使用了Windows再转换成使用Unix会产生排斥一样，所以多接触和使用其它的编译器益处多多。

 

因此，我产生了一个幼稚的想法，搜集所有C/C++编译器，只要你用过的，或者听说过的都行，只要你觉得有必要，请在后面跟帖，写出这个C/C++编译器的名称。

&lt;img src ="http://blog.csdn.net/shaohui/aggbug/169295.aspx" width = "1" height = "1" /&gt;</description></item><item><dc:creator>shaohui</dc:creator><title>推荐C++教程</title><link>http://blog.csdn.net/shaohui/archive/2004/11/03/165008.aspx</link><pubDate>Wed, 03 Nov 2004 11:20:00 GMT</pubDate><guid>http://blog.csdn.net/shaohui/archive/2004/11/03/165008.aspx</guid><wfw:comment>http://blog.csdn.net/shaohui/comments/165008.aspx</wfw:comment><comments>http://blog.csdn.net/shaohui/archive/2004/11/03/165008.aspx#Feedback</comments><slash:comments>11</slash:comments><wfw:commentRss>http://blog.csdn.net/shaohui/comments/commentRss/165008.aspx</wfw:commentRss><trackback:ping>http://tb.blog.csdn.net/TrackBack.aspx?PostId=165008</trackback:ping><description>1.  &gt; , Bjarne Stroustrup 
这是一本每个人都应该买但不一定要看的书，强烈建议初学者不要看这本书，否则可能会一头雾水，失去信心，BS写书本来就不怎么样，他自己都说他的书有些晦涩难懂，但是买一本放在书柜里，有什么不清楚的地方查查高人如何解析还是有必要的。中文版是裘老师翻译的，以裘老师的深厚功力，技术上大家大可放心，但语言流畅上我就不敢认同了，况且这还是一本大书，如果要追求语言流畅的话，可能没有两3年是出不来的，而且国内的出版社又那么急功近利，稿酬不高，做得那么好有必要吗? 

2.  &gt; , lippman  
lippman的地位自然不用猜疑，此书也被评为C++的最佳入门书籍，也是Lipman写得最认真的一本书，第3版在国内98年就有了。全书可谓是C++大全，深度适当，比较适合初学者，或者想对C++和程序设计有大概了解的读者， 但就是比较厚，这也只能怪C++的源远流长，总是在打园场，不断增加新特性，让我们这群读者都不得不捧着这本大书品读。中文版是潘老师翻译的，文字通顺，但缺乏味道，看着一本千来页的书，而且前面一部分讲的都是程序设计思想，容易令人产生困倦，&lt;img src ="http://blog.csdn.net/shaohui/aggbug/165008.aspx" width = "1" height = "1" /&gt;</description></item><item><dc:creator>shaohui</dc:creator><title>[转]学C++ 的50条建议 </title><link>http://blog.csdn.net/shaohui/archive/2004/11/01/161593.aspx</link><pubDate>Mon, 01 Nov 2004 08:17:00 GMT</pubDate><guid>http://blog.csdn.net/shaohui/archive/2004/11/01/161593.aspx</guid><wfw:comment>http://blog.csdn.net/shaohui/comments/161593.aspx</wfw:comment><comments>http://blog.csdn.net/shaohui/archive/2004/11/01/161593.aspx#Feedback</comments><slash:comments>10</slash:comments><wfw:commentRss>http://blog.csdn.net/shaohui/comments/commentRss/161593.aspx</wfw:commentRss><trackback:ping>http://tb.blog.csdn.net/TrackBack.aspx?PostId=161593</trackback:ping><description>1.把C++当成一门新的语言学习（和C没啥关系！真的。）； 

2.看《Thinking In C++》，不要看《C++变成死相》； 

3.看《The C++ Programming Language》和《Inside The C++ Object Model》,不要因为他们很难而我们自己是初学者所以就不看； 

4.不要被VC、BCB、BC、MC、TC等词汇所迷惑——他们都是集成开发环境，而我们要学的是一门语言； 

5.不要放过任何一个看上去很简单的小编程问题——他们往往并不那么简单，或者可以引伸出很多知识点； 

6.会用Visual C++，并不说明你会C++； 

7.学class并不难，template、STL、generic programming也不过如此——难的是长期坚持实践和不遗余力的博览群书； 

8.如果不是天才的话，想学编程就不要想玩游戏——你以为你做到了，其实你的C++水平并没有和你通关的能力一起变高——其实可以时刻记住：学C++是为了编游戏的； 

9.看Visual C++的书，是学不了C++语言的； 
&lt;img src ="http://blog.csdn.net/shaohui/aggbug/161593.aspx" width = "1" height = "1" /&gt;</description></item></channel></rss>