<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>steedhorse的专栏 - C/C++</title><link>http://blog.csdn.net/steedhorse/category/109540.aspx</link><description /><dc:language>zh-CN</dc:language><lastUpdateTime>Tue, 30 Dec 2008 10:34:00 GMT</lastUpdateTime><ttl>60</ttl><item><dc:creator>steedhorse</dc:creator><title>一个BUG</title><link>http://blog.csdn.net/steedhorse/archive/2008/12/28/3629251.aspx</link><pubDate>Sun, 28 Dec 2008 16:52:00 GMT</pubDate><guid>http://blog.csdn.net/steedhorse/archive/2008/12/28/3629251.aspx</guid><wfw:comment>http://blog.csdn.net/steedhorse/comments/3629251.aspx</wfw:comment><comments>http://blog.csdn.net/steedhorse/archive/2008/12/28/3629251.aspx#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://blog.csdn.net/steedhorse/comments/commentRss/3629251.aspx</wfw:commentRss><trackback:ping>http://tb.blog.csdn.net/TrackBack.aspx?PostId=3629251</trackback:ping><description>解决了一个很隐蔽的BUG，就在刚才。&lt;img src ="http://blog.csdn.net/steedhorse/aggbug/3629251.aspx" width = "1" height = "1" /&gt;</description></item><item><dc:creator>steedhorse</dc:creator><title>一个不怎么正确的程序加深一点你对this指针的理解</title><link>http://blog.csdn.net/steedhorse/archive/2008/07/16/2661787.aspx</link><pubDate>Wed, 16 Jul 2008 16:55:00 GMT</pubDate><guid>http://blog.csdn.net/steedhorse/archive/2008/07/16/2661787.aspx</guid><wfw:comment>http://blog.csdn.net/steedhorse/comments/2661787.aspx</wfw:comment><comments>http://blog.csdn.net/steedhorse/archive/2008/07/16/2661787.aspx#Feedback</comments><slash:comments>5</slash:comments><wfw:commentRss>http://blog.csdn.net/steedhorse/comments/commentRss/2661787.aspx</wfw:commentRss><trackback:ping>http://tb.blog.csdn.net/TrackBack.aspx?PostId=2661787</trackback:ping><description>下面这个程序不见得在每种编译器上都能通过编译，既使通过了编译，也不见得可以成功运行。但它能引发你的思考，加深一点你对this指针的理解，如果你还不是十分理解的话。&lt;img src ="http://blog.csdn.net/steedhorse/aggbug/2661787.aspx" width = "1" height = "1" /&gt;</description></item><item><dc:creator>steedhorse</dc:creator><title>打印自然数1到10</title><link>http://blog.csdn.net/steedhorse/archive/2008/07/16/2657157.aspx</link><pubDate>Wed, 16 Jul 2008 00:50:00 GMT</pubDate><guid>http://blog.csdn.net/steedhorse/archive/2008/07/16/2657157.aspx</guid><wfw:comment>http://blog.csdn.net/steedhorse/comments/2657157.aspx</wfw:comment><comments>http://blog.csdn.net/steedhorse/archive/2008/07/16/2657157.aspx#Feedback</comments><slash:comments>1</slash:comments><wfw:commentRss>http://blog.csdn.net/steedhorse/comments/commentRss/2657157.aspx</wfw:commentRss><trackback:ping>http://tb.blog.csdn.net/TrackBack.aspx?PostId=2657157</trackback:ping><description>前两天因为看到Java版一个帖子，竟然越想越好玩，于是又拾起了偶初学BASIC语言时就写得烂熟的一道题目：打印自然数1到10。如果用C++语言来写，会有多少种写法呢？&lt;img src ="http://blog.csdn.net/steedhorse/aggbug/2657157.aspx" width = "1" height = "1" /&gt;</description></item><item><dc:creator>steedhorse</dc:creator><title>C++学习推荐书目</title><link>http://blog.csdn.net/steedhorse/archive/2006/12/15/1444601.aspx</link><pubDate>Fri, 15 Dec 2006 19:56:00 GMT</pubDate><guid>http://blog.csdn.net/steedhorse/archive/2006/12/15/1444601.aspx</guid><wfw:comment>http://blog.csdn.net/steedhorse/comments/1444601.aspx</wfw:comment><comments>http://blog.csdn.net/steedhorse/archive/2006/12/15/1444601.aspx#Feedback</comments><slash:comments>3</slash:comments><wfw:commentRss>http://blog.csdn.net/steedhorse/comments/commentRss/1444601.aspx</wfw:commentRss><trackback:ping>http://tb.blog.csdn.net/TrackBack.aspx?PostId=1444601</trackback:ping><description>C++学习推荐书目&lt;img src ="http://blog.csdn.net/steedhorse/aggbug/1444601.aspx" width = "1" height = "1" /&gt;</description></item><item><dc:creator>steedhorse</dc:creator><title>C++、Java和C#语言在处理“虚拟私有方法”上的差异</title><link>http://blog.csdn.net/steedhorse/archive/2005/03/29/333664.aspx</link><pubDate>Tue, 29 Mar 2005 22:19:00 GMT</pubDate><guid>http://blog.csdn.net/steedhorse/archive/2005/03/29/333664.aspx</guid><wfw:comment>http://blog.csdn.net/steedhorse/comments/333664.aspx</wfw:comment><comments>http://blog.csdn.net/steedhorse/archive/2005/03/29/333664.aspx#Feedback</comments><slash:comments>3</slash:comments><wfw:commentRss>http://blog.csdn.net/steedhorse/comments/commentRss/333664.aspx</wfw:commentRss><trackback:ping>http://tb.blog.csdn.net/TrackBack.aspx?PostId=333664</trackback:ping><description>运行时动态绑定被调过程的“虚拟方法”（virtual method）机制是实现多态的关键技术。C++、Java和C#（按出生年月排列，上同，下同）作为三种主流的支持对面向对象的程序设计语言，自然都提供了这种动态的方法绑定机制，在这个问题上三兄弟没有谁是含糊的。但当“虚拟”（virtual）和“私有”（private）碰在一起时，这几种语言在处理上却有所不同，本文的故事就是从一段小程序说起的。&lt;img src ="http://blog.csdn.net/steedhorse/aggbug/333664.aspx" width = "1" height = "1" /&gt;</description></item><item><dc:creator>steedhorse</dc:creator><title>【译】C++回调（CallBack）方案</title><link>http://blog.csdn.net/steedhorse/archive/2005/03/25/330219.aspx</link><pubDate>Fri, 25 Mar 2005 15:36:00 GMT</pubDate><guid>http://blog.csdn.net/steedhorse/archive/2005/03/25/330219.aspx</guid><wfw:comment>http://blog.csdn.net/steedhorse/comments/330219.aspx</wfw:comment><comments>http://blog.csdn.net/steedhorse/archive/2005/03/25/330219.aspx#Feedback</comments><slash:comments>2</slash:comments><wfw:commentRss>http://blog.csdn.net/steedhorse/comments/commentRss/330219.aspx</wfw:commentRss><trackback:ping>http://tb.blog.csdn.net/TrackBack.aspx?PostId=330219</trackback:ping><description>跟诸如Object Pascal和Ada等其它一些语言不同，C++语言并没有内在地提供一种将类的方法作为回调函数使用的方案。在C语言中，这种回调函数被称作算子（functor），在事件驱动类程序中普遍存在。主要问题基于这样一个事实：某个类的多个实例各自位于内存的不同位置。这就需要在回调的时候不仅需要一个函数指针，同时也需要一个指针指向某个实例本身（译者注：否则回调时便无法知道目前正在操作的是哪个对象，C++类的非静态方法包含一个默认的“参数”：this指针，就是起这种作用的）。所以，针对问题的定义，有一个很直观的解决方法就是使用模板和编译时的实例化及特化。&lt;img src ="http://blog.csdn.net/steedhorse/aggbug/330219.aspx" width = "1" height = "1" /&gt;</description></item><item><dc:creator>steedhorse</dc:creator><title>spirntf，你知道多少？</title><link>http://blog.csdn.net/steedhorse/archive/2005/03/25/330206.aspx</link><pubDate>Fri, 25 Mar 2005 15:29:00 GMT</pubDate><guid>http://blog.csdn.net/steedhorse/archive/2005/03/25/330206.aspx</guid><wfw:comment>http://blog.csdn.net/steedhorse/comments/330206.aspx</wfw:comment><comments>http://blog.csdn.net/steedhorse/archive/2005/03/25/330206.aspx#Feedback</comments><slash:comments>14</slash:comments><wfw:commentRss>http://blog.csdn.net/steedhorse/comments/commentRss/330206.aspx</wfw:commentRss><trackback:ping>http://tb.blog.csdn.net/TrackBack.aspx?PostId=330206</trackback:ping><description>printf可能是许多程序员在开始学习C语言时接触到的第二个函数（我猜第一个是main），说起来，自然是老朋友了，可是，你对这个老朋友了解多吗？你对它的那个孪生兄弟sprintf了解多吗？在将各种类型的数据构造成字符串时，sprintf的强大功能很少会让你失望。&lt;img src ="http://blog.csdn.net/steedhorse/aggbug/330206.aspx" width = "1" height = "1" /&gt;</description></item></channel></rss>