﻿<?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>IT博客-馒头の窝-随笔分类-1.『Ｃ路艰难』</title><link>http://www.cnitblog.com/mantou/category/464.html</link><description>&lt;embed src="http://www.cnitblog.com/images/cnitblog_com/mantou/sakura.swf"; width="600" height="200" quality="high" wmode="transparent" align="right" style="position: absolute; left:0; top:0"&gt;
&lt;br&gt;　　　　　　  有时候　飞翔　不一定需要翅膀
&lt;br&gt;　　　　　　　　　　　因为两个人的世界　就是天堂……
&lt;p align="right"&gt;If I were in heaven, I'd write your name on every star&lt;br&gt;&amp;nbsp;for all to see just how much you mean to me.&lt;br&gt;Love乐乐のme~`` ^_^　　　　&lt;/p&gt;</description><language>zh-cn</language><lastBuildDate>Thu, 29 Sep 2011 08:43:34 GMT</lastBuildDate><pubDate>Thu, 29 Sep 2011 08:43:34 GMT</pubDate><ttl>60</ttl><item><title>C++中的“任意键暂停”</title><link>http://www.cnitblog.com/mantou/archive/2005/12/03/5110.html</link><dc:creator>馒头</dc:creator><author>馒头</author><pubDate>Sat, 03 Dec 2005 12:40:00 GMT</pubDate><guid>http://www.cnitblog.com/mantou/archive/2005/12/03/5110.html</guid><wfw:comment>http://www.cnitblog.com/mantou/comments/5110.html</wfw:comment><comments>http://www.cnitblog.com/mantou/archive/2005/12/03/5110.html#Feedback</comments><slash:comments>4</slash:comments><wfw:commentRss>http://www.cnitblog.com/mantou/comments/commentRss/5110.html</wfw:commentRss><trackback:ping>http://www.cnitblog.com/mantou/services/trackbacks/5110.html</trackback:ping><description><![CDATA[&nbsp;&nbsp;&nbsp;&nbsp; 摘要: C++中实现“任意键暂停”有时很重要，比如你用的是CB编辑器，不能像VC那样自己实现程序运行完后暂停，而是跳回到编辑状态，根本看不到运行结果。我看过很多人都是用#include<conio.h>加上getch();来实现，其实完全不需要的……&nbsp;&nbsp;<a href='http://www.cnitblog.com/mantou/archive/2005/12/03/5110.html'>阅读全文</a><img src ="http://www.cnitblog.com/mantou/aggbug/5110.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.cnitblog.com/mantou/" target="_blank">馒头</a> 2005-12-03 20:40 <a href="http://www.cnitblog.com/mantou/archive/2005/12/03/5110.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>[转载]浅析cout</title><link>http://www.cnitblog.com/mantou/archive/2005/10/31/3715.html</link><dc:creator>馒头</dc:creator><author>馒头</author><pubDate>Sun, 30 Oct 2005 16:40:00 GMT</pubDate><guid>http://www.cnitblog.com/mantou/archive/2005/10/31/3715.html</guid><wfw:comment>http://www.cnitblog.com/mantou/comments/3715.html</wfw:comment><comments>http://www.cnitblog.com/mantou/archive/2005/10/31/3715.html#Feedback</comments><slash:comments>8</slash:comments><wfw:commentRss>http://www.cnitblog.com/mantou/comments/commentRss/3715.html</wfw:commentRss><trackback:ping>http://www.cnitblog.com/mantou/services/trackbacks/3715.html</trackback:ping><description><![CDATA[&nbsp;&nbsp;&nbsp;&nbsp; 摘要: 由于以前学过C，所以这段代码的其它部分在我看来都还算“正常”，然而cout却很独特：既不是函数，似乎也不是C++特别规定出来的像if，for一类有特殊语法的“语句”。由于只是初步介绍，所以那本书只是简单的说cout是C++中的“标准输入输出流”对象……这于我而言实在是一个很深奥的术语。这还没完，之后又遇见了cin……因为不知底细，从此使用它们的时候都诚惶诚恐，几欲逃回C时代那简明的printf()，毕竟好歹我可以说：我在调用的是一个函数。那有着一长串<<、>>的玩意，究竟算怎么回事呢？我一直想把它们当作关键字，可偏偏不是，而且居然是用C++语言“做”出来的，呵！但printf()用多了就开始有人好心地批判我的程序“C语言痕迹过重”……&nbsp;&nbsp;<a href='http://www.cnitblog.com/mantou/archive/2005/10/31/3715.html'>阅读全文</a><img src ="http://www.cnitblog.com/mantou/aggbug/3715.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.cnitblog.com/mantou/" target="_blank">馒头</a> 2005-10-31 00:40 <a href="http://www.cnitblog.com/mantou/archive/2005/10/31/3715.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>C++风格</title><link>http://www.cnitblog.com/mantou/archive/2005/10/08/3123.html</link><dc:creator>馒头</dc:creator><author>馒头</author><pubDate>Fri, 07 Oct 2005 16:30:00 GMT</pubDate><guid>http://www.cnitblog.com/mantou/archive/2005/10/08/3123.html</guid><wfw:comment>http://www.cnitblog.com/mantou/comments/3123.html</wfw:comment><comments>http://www.cnitblog.com/mantou/archive/2005/10/08/3123.html#Feedback</comments><slash:comments>2</slash:comments><wfw:commentRss>http://www.cnitblog.com/mantou/comments/commentRss/3123.html</wfw:commentRss><trackback:ping>http://www.cnitblog.com/mantou/services/trackbacks/3123.html</trackback:ping><description><![CDATA[&nbsp;&nbsp;&nbsp;&nbsp; 摘要: 其实我们现在学习就是为了学习一种编程的思想，并不在乎你的程序效率有多高，并不在乎你的程序商业价值有多么高，关键的是你能不能想得到。不管是好的算法还是不好的算法，我们都应该有所了解，毕竟有了比较才能评价，有了比较你才能知道好在哪，为什么好。标准是别人定的，别人想怎么改就怎么改，如果只是盲目的跟着标准走，天天去钻研那些标准是怎么搞的，又能学到什么呢？其实不管用什么语言，重要的是能学一种编程的思想，计算机的语言都是一通百通的，最最重要的还是数据结构和算法！……&nbsp;&nbsp;<a href='http://www.cnitblog.com/mantou/archive/2005/10/08/3123.html'>阅读全文</a><img src ="http://www.cnitblog.com/mantou/aggbug/3123.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.cnitblog.com/mantou/" target="_blank">馒头</a> 2005-10-08 00:30 <a href="http://www.cnitblog.com/mantou/archive/2005/10/08/3123.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>野指针</title><link>http://www.cnitblog.com/mantou/archive/2005/10/07/3107.html</link><dc:creator>馒头</dc:creator><author>馒头</author><pubDate>Fri, 07 Oct 2005 11:51:00 GMT</pubDate><guid>http://www.cnitblog.com/mantou/archive/2005/10/07/3107.html</guid><wfw:comment>http://www.cnitblog.com/mantou/comments/3107.html</wfw:comment><comments>http://www.cnitblog.com/mantou/archive/2005/10/07/3107.html#Feedback</comments><slash:comments>4</slash:comments><wfw:commentRss>http://www.cnitblog.com/mantou/comments/commentRss/3107.html</wfw:commentRss><trackback:ping>http://www.cnitblog.com/mantou/services/trackbacks/3107.html</trackback:ping><description><![CDATA[&nbsp;&nbsp;&nbsp;&nbsp; 摘要: 指针是个很强大的工具，可是正因为它太强大，所以要操作它不是件易事。操作不当造成的野指针，甚至会引起系统死机等比较严重的后果……&nbsp;&nbsp;<a href='http://www.cnitblog.com/mantou/archive/2005/10/07/3107.html'>阅读全文</a><img src ="http://www.cnitblog.com/mantou/aggbug/3107.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.cnitblog.com/mantou/" target="_blank">馒头</a> 2005-10-07 19:51 <a href="http://www.cnitblog.com/mantou/archive/2005/10/07/3107.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>指针数组的奥秘</title><link>http://www.cnitblog.com/mantou/archive/2005/10/06/3082.html</link><dc:creator>馒头</dc:creator><author>馒头</author><pubDate>Thu, 06 Oct 2005 03:14:00 GMT</pubDate><guid>http://www.cnitblog.com/mantou/archive/2005/10/06/3082.html</guid><wfw:comment>http://www.cnitblog.com/mantou/comments/3082.html</wfw:comment><comments>http://www.cnitblog.com/mantou/archive/2005/10/06/3082.html#Feedback</comments><slash:comments>8</slash:comments><wfw:commentRss>http://www.cnitblog.com/mantou/comments/commentRss/3082.html</wfw:commentRss><trackback:ping>http://www.cnitblog.com/mantou/services/trackbacks/3082.html</trackback:ping><description><![CDATA[&nbsp;&nbsp;&nbsp;&nbsp; 摘要: 老婆这几天在学指针，所以我也跟着她复习，顺便帮她讲讲不懂的东西，然后在网上做一个小小的总结，所以这两天我在网上发表的随笔都是关于指针的，呵呵，十一放假有空，终于可以来看看我的博客了。昨晚上老婆遇到“指针数组”的问题，今天我在这里说说……&nbsp;&nbsp;<a href='http://www.cnitblog.com/mantou/archive/2005/10/06/3082.html'>阅读全文</a><img src ="http://www.cnitblog.com/mantou/aggbug/3082.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.cnitblog.com/mantou/" target="_blank">馒头</a> 2005-10-06 11:14 <a href="http://www.cnitblog.com/mantou/archive/2005/10/06/3082.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>字符指针的特别之处</title><link>http://www.cnitblog.com/mantou/archive/2005/10/06/3077.html</link><dc:creator>馒头</dc:creator><author>馒头</author><pubDate>Wed, 05 Oct 2005 17:39:00 GMT</pubDate><guid>http://www.cnitblog.com/mantou/archive/2005/10/06/3077.html</guid><wfw:comment>http://www.cnitblog.com/mantou/comments/3077.html</wfw:comment><comments>http://www.cnitblog.com/mantou/archive/2005/10/06/3077.html#Feedback</comments><slash:comments>8</slash:comments><wfw:commentRss>http://www.cnitblog.com/mantou/comments/commentRss/3077.html</wfw:commentRss><trackback:ping>http://www.cnitblog.com/mantou/services/trackbacks/3077.html</trackback:ping><description><![CDATA[&nbsp;&nbsp;&nbsp;&nbsp; 摘要: C语言中在处理字符指针和非字符指针的输出操作有很大不同，主要原因是为了方便处理字符串的输出功能。还有，你想知道如何得到字符变量的地址么？虽然通常情况下我们是不需要了解数据的地址，但我也顺便简单地说说如何才能得到字符变量的地址，这里就要用到我们的字符指针。同时做些介绍也可以方便需要的人对计算机中内存地址的分配做更深入的研究……&nbsp;&nbsp;<a href='http://www.cnitblog.com/mantou/archive/2005/10/06/3077.html'>阅读全文</a><img src ="http://www.cnitblog.com/mantou/aggbug/3077.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.cnitblog.com/mantou/" target="_blank">馒头</a> 2005-10-06 01:39 <a href="http://www.cnitblog.com/mantou/archive/2005/10/06/3077.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>常量指针与指针常量</title><link>http://www.cnitblog.com/mantou/archive/2005/10/05/3074.html</link><dc:creator>馒头</dc:creator><author>馒头</author><pubDate>Wed, 05 Oct 2005 15:25:00 GMT</pubDate><guid>http://www.cnitblog.com/mantou/archive/2005/10/05/3074.html</guid><wfw:comment>http://www.cnitblog.com/mantou/comments/3074.html</wfw:comment><comments>http://www.cnitblog.com/mantou/archive/2005/10/05/3074.html#Feedback</comments><slash:comments>5</slash:comments><wfw:commentRss>http://www.cnitblog.com/mantou/comments/commentRss/3074.html</wfw:commentRss><trackback:ping>http://www.cnitblog.com/mantou/services/trackbacks/3074.html</trackback:ping><description><![CDATA[&nbsp;&nbsp;&nbsp;&nbsp; 摘要: 首先，我告诉大家一个小规则，就是像这样连着的两个词，前面的一个通常是修饰部分，中心词是后面一个词，怎么说呢。就像这里的常量指针和指针常量……&nbsp;&nbsp;<a href='http://www.cnitblog.com/mantou/archive/2005/10/05/3074.html'>阅读全文</a><img src ="http://www.cnitblog.com/mantou/aggbug/3074.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.cnitblog.com/mantou/" target="_blank">馒头</a> 2005-10-05 23:25 <a href="http://www.cnitblog.com/mantou/archive/2005/10/05/3074.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>求兔子数列和母牛数列</title><link>http://www.cnitblog.com/mantou/archive/2005/08/25/2356.html</link><dc:creator>馒头</dc:creator><author>馒头</author><pubDate>Thu, 25 Aug 2005 13:05:00 GMT</pubDate><guid>http://www.cnitblog.com/mantou/archive/2005/08/25/2356.html</guid><wfw:comment>http://www.cnitblog.com/mantou/comments/2356.html</wfw:comment><comments>http://www.cnitblog.com/mantou/archive/2005/08/25/2356.html#Feedback</comments><slash:comments>2</slash:comments><wfw:commentRss>http://www.cnitblog.com/mantou/comments/commentRss/2356.html</wfw:commentRss><trackback:ping>http://www.cnitblog.com/mantou/services/trackbacks/2356.html</trackback:ping><description><![CDATA[&nbsp;&nbsp;&nbsp;&nbsp; 摘要: 这几天把课本前面几章的习题随便翻了一下，看看有什么比较难，到了学校老婆可能要问我的问题。我看到母牛数列这个问题时，想起以前跟老婆说过兔子数列的问题，不知道她现在忘了没有，不过即使没有忘，怕母牛数列这个问题对她来说还是比较棘手的，其实呢，两个问题实质都是一样的……&nbsp;&nbsp;<a href='http://www.cnitblog.com/mantou/archive/2005/08/25/2356.html'>阅读全文</a><img src ="http://www.cnitblog.com/mantou/aggbug/2356.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.cnitblog.com/mantou/" target="_blank">馒头</a> 2005-08-25 21:05 <a href="http://www.cnitblog.com/mantou/archive/2005/08/25/2356.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>C++中计算程序的运行时间</title><link>http://www.cnitblog.com/mantou/archive/2005/08/24/2304.html</link><dc:creator>馒头</dc:creator><author>馒头</author><pubDate>Wed, 24 Aug 2005 06:56:00 GMT</pubDate><guid>http://www.cnitblog.com/mantou/archive/2005/08/24/2304.html</guid><wfw:comment>http://www.cnitblog.com/mantou/comments/2304.html</wfw:comment><comments>http://www.cnitblog.com/mantou/archive/2005/08/24/2304.html#Feedback</comments><slash:comments>14</slash:comments><wfw:commentRss>http://www.cnitblog.com/mantou/comments/commentRss/2304.html</wfw:commentRss><trackback:ping>http://www.cnitblog.com/mantou/services/trackbacks/2304.html</trackback:ping><description><![CDATA[&nbsp;&nbsp;&nbsp;&nbsp; 摘要: 一个程序通常有很多种方法来实现，怎么样的程序才算得上最优呢？举个例子，如果实现同一个功能的两个程序，一个一点按钮马上就给出运行结果，而另一个则需要漫长的时间去等待，就像安装WINDOWS XP一样（呵呵，太夸张了吧），你会去使用哪个程序呢？毋庸置疑，最优程序的第一条法则就是：程序的运行速度要快。可是如何知道程序运行快慢的比较呢……&nbsp;&nbsp;<a href='http://www.cnitblog.com/mantou/archive/2005/08/24/2304.html'>阅读全文</a><img src ="http://www.cnitblog.com/mantou/aggbug/2304.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.cnitblog.com/mantou/" target="_blank">馒头</a> 2005-08-24 14:56 <a href="http://www.cnitblog.com/mantou/archive/2005/08/24/2304.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>C++课本第4章习题解题思路</title><link>http://www.cnitblog.com/mantou/archive/2005/08/09/1440.html</link><dc:creator>馒头</dc:creator><author>馒头</author><pubDate>Tue, 09 Aug 2005 08:12:00 GMT</pubDate><guid>http://www.cnitblog.com/mantou/archive/2005/08/09/1440.html</guid><wfw:comment>http://www.cnitblog.com/mantou/comments/1440.html</wfw:comment><comments>http://www.cnitblog.com/mantou/archive/2005/08/09/1440.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.cnitblog.com/mantou/comments/commentRss/1440.html</wfw:commentRss><trackback:ping>http://www.cnitblog.com/mantou/services/trackbacks/1440.html</trackback:ping><description><![CDATA[&nbsp;&nbsp;&nbsp;&nbsp; 摘要: C++课本第4章[过程化语句]习题解题思路……&nbsp;&nbsp;<a href='http://www.cnitblog.com/mantou/archive/2005/08/09/1440.html'>阅读全文</a><img src ="http://www.cnitblog.com/mantou/aggbug/1440.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.cnitblog.com/mantou/" target="_blank">馒头</a> 2005-08-09 16:12 <a href="http://www.cnitblog.com/mantou/archive/2005/08/09/1440.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>算术运算的溢出问题</title><link>http://www.cnitblog.com/mantou/archive/2005/08/02/1257.html</link><dc:creator>馒头</dc:creator><author>馒头</author><pubDate>Tue, 02 Aug 2005 06:42:00 GMT</pubDate><guid>http://www.cnitblog.com/mantou/archive/2005/08/02/1257.html</guid><wfw:comment>http://www.cnitblog.com/mantou/comments/1257.html</wfw:comment><comments>http://www.cnitblog.com/mantou/archive/2005/08/02/1257.html#Feedback</comments><slash:comments>1</slash:comments><wfw:commentRss>http://www.cnitblog.com/mantou/comments/commentRss/1257.html</wfw:commentRss><trackback:ping>http://www.cnitblog.com/mantou/services/trackbacks/1257.html</trackback:ping><description><![CDATA[&nbsp;&nbsp;&nbsp;&nbsp; 摘要: 关于算术运算的溢出问题，曾经我也迷茫过，而且不知道为什么整型变量溢出后会是模运算的结果呢，以前还以为是不可以预测的，不过弄懂了原码、补码的概念后，就发现其实都是有规律可循的，如果你还不太清楚补码什么东西，建议先看看8月1日的随笔『计算机中的原码、反码和补码』，弄清楚整型数据在计算机中是如何储存的。……&nbsp;&nbsp;<a href='http://www.cnitblog.com/mantou/archive/2005/08/02/1257.html'>阅读全文</a><img src ="http://www.cnitblog.com/mantou/aggbug/1257.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.cnitblog.com/mantou/" target="_blank">馒头</a> 2005-08-02 14:42 <a href="http://www.cnitblog.com/mantou/archive/2005/08/02/1257.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>C++编程判断一个整数能否被3、5、7整除的几种简单方法</title><link>http://www.cnitblog.com/mantou/archive/2005/08/01/1251.html</link><dc:creator>馒头</dc:creator><author>馒头</author><pubDate>Mon, 01 Aug 2005 15:48:00 GMT</pubDate><guid>http://www.cnitblog.com/mantou/archive/2005/08/01/1251.html</guid><wfw:comment>http://www.cnitblog.com/mantou/comments/1251.html</wfw:comment><comments>http://www.cnitblog.com/mantou/archive/2005/08/01/1251.html#Feedback</comments><slash:comments>12</slash:comments><wfw:commentRss>http://www.cnitblog.com/mantou/comments/commentRss/1251.html</wfw:commentRss><trackback:ping>http://www.cnitblog.com/mantou/services/trackbacks/1251.html</trackback:ping><description><![CDATA[&nbsp;&nbsp;&nbsp;&nbsp; 摘要: 有一道题老婆不会做，我在这里首先指出老婆写的代码中的不当之处，然后再分析两种更简单的方法。……&nbsp;&nbsp;<a href='http://www.cnitblog.com/mantou/archive/2005/08/01/1251.html'>阅读全文</a><img src ="http://www.cnitblog.com/mantou/aggbug/1251.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.cnitblog.com/mantou/" target="_blank">馒头</a> 2005-08-01 23:48 <a href="http://www.cnitblog.com/mantou/archive/2005/08/01/1251.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>getch()、getche()和getchar()之间的区别</title><link>http://www.cnitblog.com/mantou/archive/2005/08/01/1250.html</link><dc:creator>馒头</dc:creator><author>馒头</author><pubDate>Mon, 01 Aug 2005 15:15:00 GMT</pubDate><guid>http://www.cnitblog.com/mantou/archive/2005/08/01/1250.html</guid><wfw:comment>http://www.cnitblog.com/mantou/comments/1250.html</wfw:comment><comments>http://www.cnitblog.com/mantou/archive/2005/08/01/1250.html#Feedback</comments><slash:comments>48</slash:comments><wfw:commentRss>http://www.cnitblog.com/mantou/comments/commentRss/1250.html</wfw:commentRss><trackback:ping>http://www.cnitblog.com/mantou/services/trackbacks/1250.html</trackback:ping><description><![CDATA[&nbsp;&nbsp;&nbsp;&nbsp; 摘要: 跟老婆讲了几次关于getch()的用法，以及跟getche()、getchar()之间的联系和区别，可我傻呼呼的老婆就是不长记性，在这里我总结一下，也算是为了我的老婆。……&nbsp;&nbsp;<a href='http://www.cnitblog.com/mantou/archive/2005/08/01/1250.html'>阅读全文</a><img src ="http://www.cnitblog.com/mantou/aggbug/1250.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.cnitblog.com/mantou/" target="_blank">馒头</a> 2005-08-01 23:15 <a href="http://www.cnitblog.com/mantou/archive/2005/08/01/1250.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item></channel></rss>