<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>chenyq2008的专栏 - 基础知识</title><link>http://blog.csdn.net/chenyq2008/category/467714.aspx</link><description /><dc:language>zh-CN</dc:language><lastUpdateTime>Sat, 27 Sep 2008 23:22:00 GMT</lastUpdateTime><ttl>60</ttl><item><dc:creator>chenyq2008</dc:creator><title>堆、栈及静态数据区详解</title><link>http://blog.csdn.net/chenyq2008/archive/2008/09/27/2990070.aspx</link><pubDate>Sat, 27 Sep 2008 22:57:00 GMT</pubDate><guid>http://blog.csdn.net/chenyq2008/archive/2008/09/27/2990070.aspx</guid><wfw:comment>http://blog.csdn.net/chenyq2008/comments/2990070.aspx</wfw:comment><comments>http://blog.csdn.net/chenyq2008/archive/2008/09/27/2990070.aspx#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://blog.csdn.net/chenyq2008/comments/commentRss/2990070.aspx</wfw:commentRss><trackback:ping>http://tb.blog.csdn.net/TrackBack.aspx?PostId=2990070</trackback:ping><description>&lt;P&gt;五大内存分区&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 在C++中，内存分成5个区，他们分别是堆、栈、自由存储区、全局/静态存储区和常量存储区。&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 栈，就是那些由编译器在需要的时候分配，在不需要的时候自动清楚的变量的存储区。里面的变量通常是局部变量、函数参数等。&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 堆，就是那些由new分配的内存块，他们的释放编译器不去管，由我们的应用程序去控制，一般一个new就要对应一个delete。如果程序员没有释放掉，那么在程序结束后，操作系统会自动回收。&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 自由存储区，就是那些由malloc等分配的内存块，他和堆是十分相似的，不过它是用free来结束自己的生命的。&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 全局/静态存储区，全局变量和静态变量被分配到同一块内存中，在以前的C语言中，全局变量又分为初始化的和未初始化的，在C++里面没有这个区分了，他们共同占用同一块内存区。&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 常量存储区，这是一块比较特殊的存储区，他们里面存&lt;img src ="http://blog.csdn.net/chenyq2008/aggbug/2990070.aspx" width = "1" height = "1" /&gt;</description></item><item><dc:creator>chenyq2008</dc:creator><title>ASCII</title><link>http://blog.csdn.net/chenyq2008/archive/2008/09/26/2985199.aspx</link><pubDate>Fri, 26 Sep 2008 22:16:00 GMT</pubDate><guid>http://blog.csdn.net/chenyq2008/archive/2008/09/26/2985199.aspx</guid><wfw:comment>http://blog.csdn.net/chenyq2008/comments/2985199.aspx</wfw:comment><comments>http://blog.csdn.net/chenyq2008/archive/2008/09/26/2985199.aspx#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://blog.csdn.net/chenyq2008/comments/commentRss/2985199.aspx</wfw:commentRss><trackback:ping>http://tb.blog.csdn.net/TrackBack.aspx?PostId=2985199</trackback:ping><description>&lt;STRONG&gt;美国标准信息交换标准码&lt;BR&gt;&lt;/STRONG&gt;
&lt;DIV class=spctrl&gt;&lt;/DIV&gt;　　( American Standard Code for Information Interchange, ASCII )&lt;BR&gt;
&lt;DIV class=spctrl&gt;&lt;/DIV&gt;　　在计算机中，所有的数据在存储和运算时都要使用二进制数表示（因为计算机比较傻，只有0和1两位数的二进制比较适合于它使用），同样的，象a、b、c、d这样的52个字母（包括大写）、以及0、1、2等数字还有一些常用的符号（例如*、#、@等）在计算机中存储时也要使用二进制数来表示，而具体用哪个数字表示哪个符号，当然每个人都可以约定自己的一套（这就叫编码），而大家如果要想互相通讯而不造成混乱，那么大家就必须使用相同的编码规则，于是美国有关的标准化组织就出台了所谓的ASCII编码，统一规定了上述常用符号用哪个二进制数来表示。&lt;BR&gt;
&lt;DIV class=spctrl&gt;&lt;/DIV&gt;　　美国标准信息交换代码是由美国国家标准学会(American National Standard Institute&lt;img src ="http://blog.csdn.net/chenyq2008/aggbug/2985199.aspx" width = "1" height = "1" /&gt;</description></item><item><dc:creator>chenyq2008</dc:creator><title>字符，字节和编码</title><link>http://blog.csdn.net/chenyq2008/archive/2008/09/26/2985136.aspx</link><pubDate>Fri, 26 Sep 2008 21:50:00 GMT</pubDate><guid>http://blog.csdn.net/chenyq2008/archive/2008/09/26/2985136.aspx</guid><wfw:comment>http://blog.csdn.net/chenyq2008/comments/2985136.aspx</wfw:comment><comments>http://blog.csdn.net/chenyq2008/archive/2008/09/26/2985136.aspx#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://blog.csdn.net/chenyq2008/comments/commentRss/2985136.aspx</wfw:commentRss><trackback:ping>http://tb.blog.csdn.net/TrackBack.aspx?PostId=2985136</trackback:ping><description>字符，字节和编码&lt;img src ="http://blog.csdn.net/chenyq2008/aggbug/2985136.aspx" width = "1" height = "1" /&gt;</description></item></channel></rss>