﻿<?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++博客-C++</title><link>http://www.cppblog.com/DavidZhang/</link><description>David's C++ blog</description><language>zh-cn</language><lastBuildDate>Tue, 14 Apr 2026 23:06:40 GMT</lastBuildDate><pubDate>Tue, 14 Apr 2026 23:06:40 GMT</pubDate><ttl>60</ttl><item><title>变量的生存空间(scope)</title><link>http://www.cppblog.com/DavidZhang/archive/2006/10/15/13712.html</link><dc:creator>David Z</dc:creator><author>David Z</author><pubDate>Sun, 15 Oct 2006 08:55:00 GMT</pubDate><guid>http://www.cppblog.com/DavidZhang/archive/2006/10/15/13712.html</guid><wfw:comment>http://www.cppblog.com/DavidZhang/comments/13712.html</wfw:comment><comments>http://www.cppblog.com/DavidZhang/archive/2006/10/15/13712.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.cppblog.com/DavidZhang/comments/commentRss/13712.html</wfw:commentRss><trackback:ping>http://www.cppblog.com/DavidZhang/services/trackbacks/13712.html</trackback:ping><description><![CDATA[
		<p>这是一个前辈写的，非常详细<br />//main.cpp<br />int a = 0; 全局初始化区<br />char *p1; 全局未初始化区<br />main()<br />{<br />int b; 栈<br />char s[] = “abc”; 栈<br />char *p2; 栈<br />char *p3 = “123456″; 123456在常量区，p3在栈上。<br />static int c =0； 全局（静态）初始化区<br />p1 = (char *)malloc(10);<br />p2 = (char *)malloc(20);<br />分配得来得10和20字节的区域就在堆区。<br />strcpy(p1, “123456″); 123456放在常量区，编译器可能会将它与p3所指向的”123456″优化成一个地方。<br />} <br /></p>
<img src ="http://www.cppblog.com/DavidZhang/aggbug/13712.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.cppblog.com/DavidZhang/" target="_blank">David Z</a> 2006-10-15 16:55 <a href="http://www.cppblog.com/DavidZhang/archive/2006/10/15/13712.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>C++中的四个xxx_cast</title><link>http://www.cppblog.com/DavidZhang/archive/2006/10/14/13673.html</link><dc:creator>David Z</dc:creator><author>David Z</author><pubDate>Sat, 14 Oct 2006 07:59:00 GMT</pubDate><guid>http://www.cppblog.com/DavidZhang/archive/2006/10/14/13673.html</guid><wfw:comment>http://www.cppblog.com/DavidZhang/comments/13673.html</wfw:comment><comments>http://www.cppblog.com/DavidZhang/archive/2006/10/14/13673.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.cppblog.com/DavidZhang/comments/commentRss/13673.html</wfw:commentRss><trackback:ping>http://www.cppblog.com/DavidZhang/services/trackbacks/13673.html</trackback:ping><description><![CDATA[
		<p>
				<font size="2">转载自：</font>
				<a href="http://guoshan.blogchina.com/blog/4460907.html">
						<font size="2">http://guoshan.blogchina.com/blog/4460907.html</font>
				</a>
				<br />
				<br />
				<font size="2">
						<strong>关键词</strong>： </font>
				<a href="http://tag.bokee.com/tag/%C7%BF%D6%C6%C0%E0%D0%CD%D7%AA%BB%BB" target="_blank">
						<font size="2">强制类型转换</font>
				</a>
				<font size="2">                                          </font>
		</p>
		<p>
				<font size="2">
				</font>
		</p>
		<p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt">
				<font size="2">
						<span lang="EN-US" style="COLOR: #333333; mso-bidi-font-size: 13.0pt">
								<font face="Times New Roman">*   C++</font>
						</span>
						<span style="COLOR: #333333; FONT-FAMILY: 宋体; mso-bidi-font-size: 13.0pt; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">提供了四种新的类型强制：</span>
				</font>
				<span lang="EN-US" style="COLOR: #333333; mso-bidi-font-size: 13.0pt">
						<br />
						<br />
						<font size="2">
								<font face="Times New Roman">static_cast<br />const_cast<br />reinterpret_cast<br />dynamic_cast<br /><br />1)staic_cast</font>
						</font>
				</span>
				<span style="COLOR: #333333; FONT-FAMILY: 宋体; mso-ascii-font-family: " 13.0pt?="" mso-bidi-font-size:="" roman?;="" new="" ?times="" mso-hansi-font-family:="" times="">
						<font size="2">静态强制； </font>
				</span>
				<span lang="EN-US" style="COLOR: #333333; mso-bidi-font-size: 13.0pt">
						<br />
						<br />
				</span>
				<font size="2">
						<span style="COLOR: #333333; FONT-FAMILY: 宋体; mso-ascii-font-family: " 13.0pt?="" mso-bidi-font-size:="" roman?;="" new="" ?times="" mso-hansi-font-family:="" times="">不能在无关的指针之间进行</span>
						<span lang="EN-US" style="COLOR: #333333; mso-bidi-font-size: 13.0pt">
								<font face="Times New Roman">static</font>
						</span>
						<span style="COLOR: #333333; FONT-FAMILY: 宋体; mso-ascii-font-family: " 13.0pt?="" mso-bidi-font-size:="" roman?;="" new="" ?times="" mso-hansi-font-family:="" times="">类型强制</span>
				</font>
				<span lang="EN-US" style="COLOR: #333333; mso-bidi-font-size: 13.0pt">
						<br />
						<font size="2">
								<font face="Times New Roman">class   CAnimal<br />{<br />//...<br />public:<br />CAnimal(){}<br />};<br /><br />class   CGiraffe:public   CAnimal<br />{<br />//...<br />public:<br />CGiraffe(){}<br />};<br /><br />int   main(void)<br />{<br />CAnimal   an;<br />CGiraffe   jean;<br /><br />an   =   static_cast<canimal />(jean);//</font>
						</font>
				</span>
				<font size="2">
						<span style="COLOR: #333333; FONT-FAMILY: 宋体; mso-ascii-font-family: " 13.0pt?="" mso-bidi-font-size:="" roman?;="" new="" ?times="" mso-hansi-font-family:="" times="">将对象</span>
						<span lang="EN-US" style="COLOR: #333333; mso-bidi-font-size: 13.0pt">
								<font face="Times New Roman">jean</font>
						</span>
						<span style="COLOR: #333333; FONT-FAMILY: 宋体; mso-ascii-font-family: " 13.0pt?="" mso-bidi-font-size:="" roman?;="" new="" ?times="" mso-hansi-font-family:="" times="">强制成</span>
						<span lang="EN-US" style="COLOR: #333333; mso-bidi-font-size: 13.0pt">
								<font face="Times New Roman">CAnimal</font>
						</span>
						<span style="COLOR: #333333; FONT-FAMILY: 宋体; mso-ascii-font-family: " 13.0pt?="" mso-bidi-font-size:="" roman?;="" new="" ?times="" mso-hansi-font-family:="" times="">类型</span>
				</font>
				<span lang="EN-US" style="COLOR: #333333; mso-bidi-font-size: 13.0pt">
						<br />
						<font size="2">
								<font face="Times New Roman">return   0;<br />}<br /><br />2</font>
						</font>
				</span>
				<font size="2">
						<span style="COLOR: #333333; FONT-FAMILY: 宋体; mso-ascii-font-family: " 13.0pt?="" mso-bidi-font-size:="" roman?;="" new="" ?times="" mso-hansi-font-family:="" times="">、</span>
						<span lang="EN-US" style="COLOR: #333333; mso-bidi-font-size: 13.0pt">
								<font face="Times New Roman">const_cast</font>
						</span>
						<span style="COLOR: #333333; FONT-FAMILY: 宋体; mso-ascii-font-family: " 13.0pt?="" mso-bidi-font-size:="" roman?;="" new="" ?times="" mso-hansi-font-family:="" times="">类型强制</span>
				</font>
				<span lang="EN-US" style="COLOR: #333333; mso-bidi-font-size: 13.0pt">
						<br />
						<br />
						<font size="2">
								<font face="Times New Roman">const_cast</font>
						</font>
				</span>
				<font size="2">
						<span style="COLOR: #333333; FONT-FAMILY: 宋体; mso-ascii-font-family: " 13.0pt?="" mso-bidi-font-size:="" roman?;="" new="" ?times="" mso-hansi-font-family:="" times="">类型强制将一个</span>
						<span lang="EN-US" style="COLOR: #333333; mso-bidi-font-size: 13.0pt">
								<font face="Times New Roman">const</font>
						</span>
						<span style="COLOR: #333333; FONT-FAMILY: 宋体; mso-ascii-font-family: " 13.0pt?="" mso-bidi-font-size:="" roman?;="" new="" ?times="" mso-hansi-font-family:="" times="">变量变成一个非</span>
						<span lang="EN-US" style="COLOR: #333333; mso-bidi-font-size: 13.0pt">
								<font face="Times New Roman">const</font>
						</span>
						<span style="COLOR: #333333; FONT-FAMILY: 宋体; mso-ascii-font-family: " 13.0pt?="" mso-bidi-font-size:="" roman?;="" new="" ?times="" mso-hansi-font-family:="" times="">的等价形式</span>
				</font>
				<span lang="EN-US" style="COLOR: #333333; mso-bidi-font-size: 13.0pt">
						<br />
						<font size="2">
								<font face="Times New Roman">int   main()<br />{<br />const   int   j   =   99;<br />int   *   k;<br /><br />k   =   const_cast<int *="" &nbsp;="" />(&amp;j);//</font>
						</font>
				</span>
				<span style="COLOR: #333333; FONT-FAMILY: 宋体; mso-ascii-font-family: " 13.0pt?="" mso-bidi-font-size:="" roman?;="" new="" ?times="" mso-hansi-font-family:="" times="">
						<font size="2">解除 </font>
				</span>
				<font size="2">
						<span lang="EN-US" style="COLOR: #333333; mso-bidi-font-size: 13.0pt">
								<font face="Times New Roman">const<br />return   0;<br />}<br /><br />3</font>
						</span>
						<span style="COLOR: #333333; FONT-FAMILY: 宋体; mso-ascii-font-family: " 13.0pt?="" mso-bidi-font-size:="" roman?;="" new="" ?times="" mso-hansi-font-family:="" times="">、</span>
						<span lang="EN-US" style="COLOR: #333333; mso-bidi-font-size: 13.0pt">
								<font face="Times New Roman">reinterpret_cast</font>
						</span>
						<span style="COLOR: #333333; FONT-FAMILY: 宋体; mso-ascii-font-family: " 13.0pt?="" mso-bidi-font-size:="" roman?;="" new="" ?times="" mso-hansi-font-family:="" times="">运算符</span>
				</font>
				<span lang="EN-US" style="COLOR: #333333; mso-bidi-font-size: 13.0pt">
						<br />
						<br />
						<font size="2">
								<font face="Times New Roman">reinterpret_cast</font>
						</font>
				</span>
				<span style="COLOR: #333333; FONT-FAMILY: 宋体; mso-ascii-font-family: " 13.0pt?="" mso-bidi-font-size:="" roman?;="" new="" ?times="" mso-hansi-font-family:="" times="">
						<font size="2">运算符用来将一个类型指针转变为另一种类型的指针，也用在将整开型量转为指针，或将指针转为整型量上； </font>
				</span>
				<span lang="EN-US" style="COLOR: #333333; mso-bidi-font-size: 13.0pt">
						<br />
						<font size="2">
								<font face="Times New Roman">int   main()<br />{<br />int   j   =   10;<br />int   *   ptr   =   &amp;j;<br />char   *   cptr;<br /><br />cptr   =   reinterpret_cast<char *="" &nbsp;="" />(ptr);//</font>
						</font>
				</span>
				<font size="2">
						<span style="COLOR: #333333; FONT-FAMILY: 宋体; mso-ascii-font-family: " 13.0pt?="" mso-bidi-font-size:="" roman?;="" new="" ?times="" mso-hansi-font-family:="" times="">将</span>
						<span lang="EN-US" style="COLOR: #333333; mso-bidi-font-size: 13.0pt">
								<font face="Times New Roman">int</font>
						</span>
						<span style="COLOR: #333333; FONT-FAMILY: 宋体; mso-ascii-font-family: " 13.0pt?="" mso-bidi-font-size:="" roman?;="" new="" ?times="" mso-hansi-font-family:="" times="">指针类型转变为</span>
						<span lang="EN-US" style="COLOR: #333333; mso-bidi-font-size: 13.0pt">
								<font face="Times New Roman">char</font>
						</span>
						<span style="COLOR: #333333; FONT-FAMILY: 宋体; mso-ascii-font-family: " 13.0pt?="" mso-bidi-font-size:="" roman?;="" new="" ?times="" mso-hansi-font-family:="" times="">的指针类型</span>
				</font>
				<span lang="EN-US" style="COLOR: #333333; mso-bidi-font-size: 13.0pt">
						<br />
						<br />
						<font size="2">
								<font face="Times New Roman">return   0;<br />}<br /><br />4</font>
						</font>
				</span>
				<font size="2">
						<span style="COLOR: #333333; FONT-FAMILY: 宋体; mso-ascii-font-family: " 13.0pt?="" mso-bidi-font-size:="" roman?;="" new="" ?times="" mso-hansi-font-family:="" times="">、</span>
						<span lang="EN-US" style="COLOR: #333333; mso-bidi-font-size: 13.0pt">
								<font face="Times New Roman">dynamic_cast</font>
						</span>
						<span style="COLOR: #333333; FONT-FAMILY: 宋体; mso-ascii-font-family: " 13.0pt?="" mso-bidi-font-size:="" roman?;="" new="" ?times="" mso-hansi-font-family:="" times="">运算符</span>
				</font>
				<span lang="EN-US" style="COLOR: #333333; mso-bidi-font-size: 13.0pt">
						<br />
						<br />
						<font size="2">
								<font face="Times New Roman">dynamic_cast</font>
						</font>
				</span>
				<span style="COLOR: #333333; FONT-FAMILY: 宋体; mso-ascii-font-family: " 13.0pt?="" mso-bidi-font-size:="" roman?;="" new="" ?times="" mso-hansi-font-family:="" times="">
						<font size="2">的主要目的是： </font>
				</span>
				<span lang="EN-US" style="COLOR: #333333; mso-bidi-font-size: 13.0pt">
						<br />
						<br />
						<font size="2">
								<font face="Times New Roman">1</font>
						</font>
				</span>
				<span style="COLOR: #333333; FONT-FAMILY: 宋体; mso-ascii-font-family: " 13.0pt?="" mso-bidi-font-size:="" roman?;="" new="" ?times="" mso-hansi-font-family:="" times="">
						<font size="2">）它返回派生类对象的地址； </font>
				</span>
				<span lang="EN-US" style="COLOR: #333333; mso-bidi-font-size: 13.0pt">
						<br />
						<font size="2">
								<font face="Times New Roman">2</font>
						</font>
				</span>
				<font size="2">
						<span style="COLOR: #333333; FONT-FAMILY: 宋体; mso-ascii-font-family: " 13.0pt?="" mso-bidi-font-size:="" roman?;="" new="" ?times="" mso-hansi-font-family:="" times="">）它测试基类指针是否指向下一尖括号</span>
						<span lang="EN-US" style="COLOR: #333333; mso-bidi-font-size: 13.0pt">
								<font face="Times New Roman">&lt;&gt;</font>
						</span>
						<span style="COLOR: #333333; FONT-FAMILY: 宋体; mso-ascii-font-family: " 13.0pt?="" mso-bidi-font-size:="" roman?;="" new="" ?times="" mso-hansi-font-family:="" times="">中所指定类型的对象</span>
				</font>
				<span lang="EN-US" style="COLOR: #333333; mso-bidi-font-size: 13.0pt">
						<br />
						<br />
						<font size="2">
								<font face="Times New Roman">dynamic_cast</font>
						</font>
				</span>
				<font size="2">
						<span style="COLOR: #333333; FONT-FAMILY: 宋体; mso-ascii-font-family: " 13.0pt?="" mso-bidi-font-size:="" roman?;="" new="" ?times="" mso-hansi-font-family:="" times="">是一个运行时类型信息，</span>
						<span lang="EN-US" style="COLOR: #333333; mso-bidi-font-size: 13.0pt">
								<font face="Times New Roman">dynamic_cast</font>
						</span>
						<span style="COLOR: #333333; FONT-FAMILY: 宋体; mso-ascii-font-family: " 13.0pt?="" mso-bidi-font-size:="" roman?;="" new="" ?times="" mso-hansi-font-family:="" times="">运算符将指向派生对象的基类部分的基类指针转变为指向派生对象的派生类指针，</span>
						<span lang="EN-US" style="COLOR: #333333; mso-bidi-font-size: 13.0pt">
								<font face="Times New Roman">dynamic_cast</font>
						</span>
						<span style="COLOR: #333333; FONT-FAMILY: 宋体; mso-ascii-font-family: " 13.0pt?="" mso-bidi-font-size:="" roman?;="" new="" ?times="" mso-hansi-font-family:="" times="">必须严格地指定与派生对象相同的类，或者它返回</span>
						<span lang="EN-US" style="COLOR: #333333; mso-bidi-font-size: 13.0pt">
								<font face="Times New Roman">NULL</font>
						</span>
						<span style="COLOR: #333333; FONT-FAMILY: 宋体; mso-ascii-font-family: " 13.0pt?="" mso-bidi-font-size:="" roman?;="" new="" ?times="" mso-hansi-font-family:="" times="">指针</span>
				</font>
				<span lang="EN-US" style="COLOR: #333333; mso-bidi-font-size: 13.0pt">
						<font size="2">
								<font face="Times New Roman">;<br />class   CAnimal<br />{<br />//...<br />};<br />class   CGiraffe:public   CAnimal<br />{<br />//...<br />};<br />class   CGoat:public   CAnimal<br />{<br />//...<br />};<br /><br />int   main()<br />{<br />CGiraffe   gene;<br />CAnimal   *   aptr   =   &amp;gene;<br />CGiraffe   *   ptr1,*   ptr2;<br /><br />ptr1   =   dynamic_cast<cgiraffe *="" &nbsp;="" />(aptr);<br />ptr2   =   dynamic_cast<cgoat *="" &nbsp;="" />(aptr); //return   NULL<br /><br />return   0;<br />}</font>
						</font>
				</span>
		</p>
		<p>
				<font size="2">
				</font>
		</p>
		<p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt">
				<span lang="EN-US" style="COLOR: #333333; mso-bidi-font-size: 13.0pt">
						<font face="Times New Roman" size="2">
						</font>
				</span> </p>
		<p>
				<font size="2">
				</font>
		</p>
		<p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt">
				<font size="2">
						<span lang="EN-US" style="COLOR: #333333; mso-bidi-font-size: 9.0pt">
								<font face="Times New Roman">C++   </font>
						</span>
						<span style="COLOR: #333333; FONT-FAMILY: 宋体; mso-bidi-font-size: 9.0pt; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">里最好杜绝使用</span>
						<span lang="EN-US" style="COLOR: #333333; mso-bidi-font-size: 9.0pt">
								<font face="Times New Roman">  C   </font>
						</span>
						<span style="COLOR: #333333; FONT-FAMILY: 宋体; mso-bidi-font-size: 9.0pt; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">方式的强制转换</span>
						<span lang="EN-US" style="COLOR: #333333; mso-bidi-font-size: 9.0pt">
								<font face="Times New Roman">,   </font>
						</span>
						<span style="COLOR: #333333; FONT-FAMILY: 宋体; mso-bidi-font-size: 9.0pt; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">换用以上</span>
						<span lang="EN-US" style="COLOR: #333333; mso-bidi-font-size: 9.0pt">
								<font face="Times New Roman">  4   </font>
						</span>
						<span style="COLOR: #333333; FONT-FAMILY: 宋体; mso-bidi-font-size: 9.0pt; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">个</span>
				</font>
				<font size="2">
						<span lang="EN-US" style="COLOR: #333333; mso-bidi-font-size: 9.0pt">
								<font face="Times New Roman">.<br /></font>
						</span>
						<span style="COLOR: #333333; FONT-FAMILY: 宋体; mso-ascii-font-family: " mso-bidi-font-size:="" roman?;="" new="" ?times="" mso-hansi-font-family:="" times="" 9.0pt?="">我们通常用的是</span>
				</font>
				<font size="2">
						<span lang="EN-US" style="COLOR: #333333; mso-bidi-font-size: 9.0pt">
								<font face="Times New Roman">  static_cast<br /></font>
						</span>
						<span style="COLOR: #333333; FONT-FAMILY: 宋体; mso-ascii-font-family: " mso-bidi-font-size:="" roman?;="" new="" ?times="" mso-hansi-font-family:="" times="" 9.0pt?="">在一类东西都可以转</span>
						<span lang="EN-US" style="COLOR: #333333; mso-bidi-font-size: 9.0pt">
								<font face="Times New Roman">,   </font>
						</span>
						<span style="COLOR: #333333; FONT-FAMILY: 宋体; mso-ascii-font-family: " mso-bidi-font-size:="" roman?;="" new="" ?times="" mso-hansi-font-family:="" times="" 9.0pt?="">但是不是一类的就不能转</span>
				</font>
				<font size="2">
						<span lang="EN-US" style="COLOR: #333333; mso-bidi-font-size: 9.0pt">
								<font face="Times New Roman">.<br /></font>
						</span>
						<span style="COLOR: #333333; FONT-FAMILY: 宋体; mso-ascii-font-family: " mso-bidi-font-size:="" roman?;="" new="" ?times="" mso-hansi-font-family:="" times="" 9.0pt?="">即</span>
						<span lang="EN-US" style="COLOR: #333333; mso-bidi-font-size: 9.0pt">
								<font face="Times New Roman">,   </font>
						</span>
						<span style="COLOR: #333333; FONT-FAMILY: 宋体; mso-ascii-font-family: " mso-bidi-font-size:="" roman?;="" new="" ?times="" mso-hansi-font-family:="" times="" 9.0pt?="">语义上说不通的</span>
						<span lang="EN-US" style="COLOR: #333333; mso-bidi-font-size: 9.0pt">
								<font face="Times New Roman">,   </font>
						</span>
						<span style="COLOR: #333333; FONT-FAMILY: 宋体; mso-ascii-font-family: " mso-bidi-font-size:="" roman?;="" new="" ?times="" mso-hansi-font-family:="" times="" 9.0pt?="">两个完全不同的数据类型</span>
				</font>
				<font size="2">
						<span lang="EN-US" style="COLOR: #333333; mso-bidi-font-size: 9.0pt">
								<font face="Times New Roman">  static_cast<br /></font>
						</span>
						<span style="COLOR: #333333; FONT-FAMILY: 宋体; mso-ascii-font-family: " mso-bidi-font-size:="" roman?;="" new="" ?times="" mso-hansi-font-family:="" times="" 9.0pt?="">是拒绝工作的</span>
				</font>
				<font size="2">
						<span lang="EN-US" style="COLOR: #333333; mso-bidi-font-size: 9.0pt">
								<font face="Times New Roman">.     <br /></font>
						</span>
						<span style="COLOR: #333333; FONT-FAMILY: 宋体; mso-ascii-font-family: " mso-bidi-font-size:="" roman?;="" new="" ?times="" mso-hansi-font-family:="" times="" 9.0pt?="">比如你想把一个指针转成浮点数</span>
				</font>
				<font size="2">
						<span lang="EN-US" style="COLOR: #333333; mso-bidi-font-size: 9.0pt">
								<font face="Times New Roman">,<br /></font>
						</span>
						<span style="COLOR: #333333; FONT-FAMILY: 宋体; mso-ascii-font-family: " mso-bidi-font-size:="" roman?;="" new="" ?times="" mso-hansi-font-family:="" times="" 9.0pt?="">或者想把</span>
						<span lang="EN-US" style="COLOR: #333333; mso-bidi-font-size: 9.0pt">
								<font face="Times New Roman">  class   A   *   </font>
						</span>
						<span style="COLOR: #333333; FONT-FAMILY: 宋体; mso-ascii-font-family: " mso-bidi-font-size:="" roman?;="" new="" ?times="" mso-hansi-font-family:="" times="" 9.0pt?="">转成</span>
						<span lang="EN-US" style="COLOR: #333333; mso-bidi-font-size: 9.0pt">
								<font face="Times New Roman">    class   B   *   ,   </font>
						</span>
						<span style="COLOR: #333333; FONT-FAMILY: 宋体; mso-ascii-font-family: " mso-bidi-font-size:="" roman?;="" new="" ?times="" mso-hansi-font-family:="" times="" 9.0pt?="">但是</span>
						<span lang="EN-US" style="COLOR: #333333; mso-bidi-font-size: 9.0pt">
								<font face="Times New Roman">  class   A   </font>
						</span>
						<span style="COLOR: #333333; FONT-FAMILY: 宋体; mso-ascii-font-family: " mso-bidi-font-size:="" roman?;="" new="" ?times="" mso-hansi-font-family:="" times="" 9.0pt?="">和</span>
				</font>
				<font size="2">
						<span lang="EN-US" style="COLOR: #333333; mso-bidi-font-size: 9.0pt">
								<font face="Times New Roman">  class   B<br /></font>
						</span>
						<span style="COLOR: #333333; FONT-FAMILY: 宋体; mso-ascii-font-family: " mso-bidi-font-size:="" roman?;="" new="" ?times="" mso-hansi-font-family:="" times="" 9.0pt?="">又没有任何关系</span>
						<span lang="EN-US" style="COLOR: #333333; mso-bidi-font-size: 9.0pt">
								<font face="Times New Roman">.   </font>
						</span>
						<span style="COLOR: #333333; FONT-FAMILY: 宋体; mso-ascii-font-family: " mso-bidi-font-size:="" roman?;="" new="" ?times="" mso-hansi-font-family:="" times="" 9.0pt?="">等等</span>
				</font>
				<font size="2">
						<span lang="EN-US" style="COLOR: #333333; mso-bidi-font-size: 9.0pt">
								<font face="Times New Roman">....<br /><br />static_cast   </font>
						</span>
						<span style="COLOR: #333333; FONT-FAMILY: 宋体; mso-ascii-font-family: " mso-bidi-font-size:="" roman?;="" new="" ?times="" mso-hansi-font-family:="" times="" 9.0pt?="">在通过编译后</span>
						<span lang="EN-US" style="COLOR: #333333; mso-bidi-font-size: 9.0pt">
								<font face="Times New Roman">,   </font>
						</span>
						<span style="COLOR: #333333; FONT-FAMILY: 宋体; mso-ascii-font-family: " mso-bidi-font-size:="" roman?;="" new="" ?times="" mso-hansi-font-family:="" times="" 9.0pt?="">空间和时间效率实际等价于</span>
						<span lang="EN-US" style="COLOR: #333333; mso-bidi-font-size: 9.0pt">
								<font face="Times New Roman">  C   </font>
						</span>
						<span style="COLOR: #333333; FONT-FAMILY: 宋体; mso-ascii-font-family: " mso-bidi-font-size:="" roman?;="" new="" ?times="" mso-hansi-font-family:="" times="" 9.0pt?="">方式强制转换</span>
				</font>
				<font size="2">
						<span lang="EN-US" style="COLOR: #333333; mso-bidi-font-size: 9.0pt">
								<font face="Times New Roman">.<br /></font>
						</span>
						<span style="COLOR: #333333; FONT-FAMILY: 宋体; mso-ascii-font-family: " mso-bidi-font-size:="" roman?;="" new="" ?times="" mso-hansi-font-family:="" times="" 9.0pt?="">都是编译时决定的</span>
				</font>
				<font size="2">
						<span lang="EN-US" style="COLOR: #333333; mso-bidi-font-size: 9.0pt">
								<font face="Times New Roman">.<br /><br />dynamic_cast   </font>
						</span>
						<span style="COLOR: #333333; FONT-FAMILY: 宋体; mso-ascii-font-family: " mso-bidi-font-size:="" roman?;="" new="" ?times="" mso-hansi-font-family:="" times="" 9.0pt?="">类似</span>
						<span lang="EN-US" style="COLOR: #333333; mso-bidi-font-size: 9.0pt">
								<font face="Times New Roman">  static_cast,   </font>
						</span>
						<span style="COLOR: #333333; FONT-FAMILY: 宋体; mso-ascii-font-family: " mso-bidi-font-size:="" roman?;="" new="" ?times="" mso-hansi-font-family:="" times="" 9.0pt?="">但是在一颗类继承树上转换时</span>
				</font>
				<font size="2">
						<span lang="EN-US" style="COLOR: #333333; mso-bidi-font-size: 9.0pt">
								<font face="Times New Roman">,<br /></font>
						</span>
						<span style="COLOR: #333333; FONT-FAMILY: 宋体; mso-ascii-font-family: " mso-bidi-font-size:="" roman?;="" new="" ?times="" mso-hansi-font-family:="" times="" 9.0pt?="">将利用</span>
						<span lang="EN-US" style="COLOR: #333333; mso-bidi-font-size: 9.0pt">
								<font face="Times New Roman">  RTTI   </font>
						</span>
						<span style="COLOR: #333333; FONT-FAMILY: 宋体; mso-ascii-font-family: " mso-bidi-font-size:="" roman?;="" new="" ?times="" mso-hansi-font-family:="" times="" 9.0pt?="">在运行时检查</span>
						<span lang="EN-US" style="COLOR: #333333; mso-bidi-font-size: 9.0pt">
								<font face="Times New Roman">.   </font>
						</span>
						<span style="COLOR: #333333; FONT-FAMILY: 宋体; mso-ascii-font-family: " mso-bidi-font-size:="" roman?;="" new="" ?times="" mso-hansi-font-family:="" times="" 9.0pt?="">我们一般用于</span>
				</font>
				<font size="2">
						<span lang="EN-US" style="COLOR: #333333; mso-bidi-font-size: 9.0pt">
								<font face="Times New Roman">  downcast<br /><br /></font>
						</span>
						<span style="COLOR: #333333; FONT-FAMILY: 宋体; mso-ascii-font-family: " mso-bidi-font-size:="" roman?;="" new="" ?times="" mso-hansi-font-family:="" times="" 9.0pt?="">比如</span>
				</font>
				<font size="2">
						<span lang="EN-US" style="COLOR: #333333; mso-bidi-font-size: 9.0pt">
								<font face="Times New Roman">,<br />class   A   {};<br />class   B   :   public   A   {};<br /><br />A*   a=new   B();<br /><br /></font>
						</span>
						<span style="COLOR: #333333; FONT-FAMILY: 宋体; mso-ascii-font-family: " mso-bidi-font-size:="" roman?;="" new="" ?times="" mso-hansi-font-family:="" times="" 9.0pt?="">这个时候</span>
						<span lang="EN-US" style="COLOR: #333333; mso-bidi-font-size: 9.0pt">
								<font face="Times New Roman">,   </font>
						</span>
						<span style="COLOR: #333333; FONT-FAMILY: 宋体; mso-ascii-font-family: " mso-bidi-font-size:="" roman?;="" new="" ?times="" mso-hansi-font-family:="" times="" 9.0pt?="">可以用</span>
						<span lang="EN-US" style="COLOR: #333333; mso-bidi-font-size: 9.0pt">
								<font face="Times New Roman">  dynamic_cast   </font>
						</span>
						<span style="COLOR: #333333; FONT-FAMILY: 宋体; mso-ascii-font-family: " mso-bidi-font-size:="" roman?;="" new="" ?times="" mso-hansi-font-family:="" times="" 9.0pt?="">做</span>
						<span lang="EN-US" style="COLOR: #333333; mso-bidi-font-size: 9.0pt">
								<font face="Times New Roman">  downcast,   </font>
						</span>
						<span style="COLOR: #333333; FONT-FAMILY: 宋体; mso-ascii-font-family: " mso-bidi-font-size:="" roman?;="" new="" ?times="" mso-hansi-font-family:="" times="" 9.0pt?="">把</span>
						<span lang="EN-US" style="COLOR: #333333; mso-bidi-font-size: 9.0pt">
								<font face="Times New Roman">  a   </font>
						</span>
						<span style="COLOR: #333333; FONT-FAMILY: 宋体; mso-ascii-font-family: " mso-bidi-font-size:="" roman?;="" new="" ?times="" mso-hansi-font-family:="" times="" 9.0pt?="">转成</span>
				</font>
				<font size="2">
						<span lang="EN-US" style="COLOR: #333333; mso-bidi-font-size: 9.0pt">
								<font face="Times New Roman">  B*.<br /></font>
						</span>
						<span style="COLOR: #333333; FONT-FAMILY: 宋体; mso-ascii-font-family: " mso-bidi-font-size:="" roman?;="" new="" ?times="" mso-hansi-font-family:="" times="" 9.0pt?="">和</span>
						<span lang="EN-US" style="COLOR: #333333; mso-bidi-font-size: 9.0pt">
								<font face="Times New Roman">  static_cast   </font>
						</span>
						<span style="COLOR: #333333; FONT-FAMILY: 宋体; mso-ascii-font-family: " mso-bidi-font-size:="" roman?;="" new="" ?times="" mso-hansi-font-family:="" times="" 9.0pt?="">不同</span>
						<span lang="EN-US" style="COLOR: #333333; mso-bidi-font-size: 9.0pt">
								<font face="Times New Roman">,   dynamic_cast   </font>
						</span>
						<span style="COLOR: #333333; FONT-FAMILY: 宋体; mso-ascii-font-family: " mso-bidi-font-size:="" roman?;="" new="" ?times="" mso-hansi-font-family:="" times="" 9.0pt?="">会检查一下</span>
						<span lang="EN-US" style="COLOR: #333333; mso-bidi-font-size: 9.0pt">
								<font face="Times New Roman">  a   </font>
						</span>
						<span style="COLOR: #333333; FONT-FAMILY: 宋体; mso-ascii-font-family: " mso-bidi-font-size:="" roman?;="" new="" ?times="" mso-hansi-font-family:="" times="" 9.0pt?="">到底是不是指向一个</span>
				</font>
				<span lang="EN-US" style="COLOR: #333333; mso-bidi-font-size: 9.0pt">
						<br />
						<font size="2">
								<font face="Times New Roman">B,   (</font>
						</font>
				</span>
				<font size="2">
						<span style="COLOR: #333333; FONT-FAMILY: 宋体; mso-ascii-font-family: " mso-bidi-font-size:="" roman?;="" new="" ?times="" mso-hansi-font-family:="" times="" 9.0pt?="">利用了</span>
						<span lang="EN-US" style="COLOR: #333333; mso-bidi-font-size: 9.0pt">
								<font face="Times New Roman">  RTTI)   </font>
						</span>
						<span style="COLOR: #333333; FONT-FAMILY: 宋体; mso-ascii-font-family: " mso-bidi-font-size:="" roman?;="" new="" ?times="" mso-hansi-font-family:="" times="" 9.0pt?="">如果转不了</span>
						<span lang="EN-US" style="COLOR: #333333; mso-bidi-font-size: 9.0pt">
								<font face="Times New Roman">,   </font>
						</span>
						<span style="COLOR: #333333; FONT-FAMILY: 宋体; mso-ascii-font-family: " mso-bidi-font-size:="" roman?;="" new="" ?times="" mso-hansi-font-family:="" times="" 9.0pt?="">将返回一个</span>
				</font>
				<font size="2">
						<span lang="EN-US" style="COLOR: #333333; mso-bidi-font-size: 9.0pt">
								<font face="Times New Roman">  NULL.<br /><br />reinterpret_cast   </font>
						</span>
						<span style="COLOR: #333333; FONT-FAMILY: 宋体; mso-ascii-font-family: " mso-bidi-font-size:="" roman?;="" new="" ?times="" mso-hansi-font-family:="" times="" 9.0pt?="">就比</span>
						<span lang="EN-US" style="COLOR: #333333; mso-bidi-font-size: 9.0pt">
								<font face="Times New Roman">  static_cast   </font>
						</span>
						<span style="COLOR: #333333; FONT-FAMILY: 宋体; mso-ascii-font-family: " mso-bidi-font-size:="" roman?;="" new="" ?times="" mso-hansi-font-family:="" times="" 9.0pt?="">更接近</span>
						<span lang="EN-US" style="COLOR: #333333; mso-bidi-font-size: 9.0pt">
								<font face="Times New Roman">  C   </font>
						</span>
						<span style="COLOR: #333333; FONT-FAMILY: 宋体; mso-ascii-font-family: " mso-bidi-font-size:="" roman?;="" new="" ?times="" mso-hansi-font-family:="" times="" 9.0pt?="">的强制转换了</span>
				</font>
				<font size="2">
						<span lang="EN-US" style="COLOR: #333333; mso-bidi-font-size: 9.0pt">
								<font face="Times New Roman">.<br /></font>
						</span>
						<span style="COLOR: #333333; FONT-FAMILY: 宋体; mso-ascii-font-family: " mso-bidi-font-size:="" roman?;="" new="" ?times="" mso-hansi-font-family:="" times="" 9.0pt?="">它更进一步的</span>
						<span lang="EN-US" style="COLOR: #333333; mso-bidi-font-size: 9.0pt">
								<font face="Times New Roman">,   </font>
						</span>
						<span style="COLOR: #333333; FONT-FAMILY: 宋体; mso-ascii-font-family: " mso-bidi-font-size:="" roman?;="" new="" ?times="" mso-hansi-font-family:="" times="" 9.0pt?="">实现一些看起来没关系的两种类型转换</span>
				</font>
				<font size="2">
						<span lang="EN-US" style="COLOR: #333333; mso-bidi-font-size: 9.0pt">
								<font face="Times New Roman">.<br /></font>
						</span>
						<span style="COLOR: #333333; FONT-FAMILY: 宋体; mso-ascii-font-family: " mso-bidi-font-size:="" roman?;="" new="" ?times="" mso-hansi-font-family:="" times="" 9.0pt?="">比如我习惯干的</span>
						<span lang="EN-US" style="COLOR: #333333; mso-bidi-font-size: 9.0pt">
								<font face="Times New Roman">,   </font>
						</span>
						<span style="COLOR: #333333; FONT-FAMILY: 宋体; mso-ascii-font-family: " mso-bidi-font-size:="" roman?;="" new="" ?times="" mso-hansi-font-family:="" times="" 9.0pt?="">把一个</span>
						<span lang="EN-US" style="COLOR: #333333; mso-bidi-font-size: 9.0pt">
								<font face="Times New Roman">  void   *     </font>
						</span>
						<span style="COLOR: #333333; FONT-FAMILY: 宋体; mso-ascii-font-family: " mso-bidi-font-size:="" roman?;="" new="" ?times="" mso-hansi-font-family:="" times="" 9.0pt?="">转成</span>
				</font>
				<font size="2">
						<span lang="EN-US" style="COLOR: #333333; mso-bidi-font-size: 9.0pt">
								<font face="Times New Roman">  unsigned   ;)<br /></font>
						</span>
						<span style="COLOR: #333333; FONT-FAMILY: 宋体; mso-ascii-font-family: " mso-bidi-font-size:="" roman?;="" new="" ?times="" mso-hansi-font-family:="" times="" 9.0pt?="">当然它比</span>
						<span lang="EN-US" style="COLOR: #333333; mso-bidi-font-size: 9.0pt">
								<font face="Times New Roman">  static_cast   </font>
						</span>
						<span style="COLOR: #333333; FONT-FAMILY: 宋体; mso-ascii-font-family: " mso-bidi-font-size:="" roman?;="" new="" ?times="" mso-hansi-font-family:="" times="" 9.0pt?="">危险</span>
				</font>
				<font size="2">
						<span lang="EN-US" style="COLOR: #333333; mso-bidi-font-size: 9.0pt">
								<font face="Times New Roman">.<br /><br /></font>
						</span>
						<span style="COLOR: #333333; FONT-FAMILY: 宋体; mso-ascii-font-family: " mso-bidi-font-size:="" roman?;="" new="" ?times="" mso-hansi-font-family:="" times="" 9.0pt?="">但是有</span>
						<span lang="EN-US" style="COLOR: #333333; mso-bidi-font-size: 9.0pt">
								<font face="Times New Roman">  reinterpret_cast   </font>
						</span>
						<span style="COLOR: #333333; FONT-FAMILY: 宋体; mso-ascii-font-family: " mso-bidi-font-size:="" roman?;="" new="" ?times="" mso-hansi-font-family:="" times="" 9.0pt?="">干不了的</span>
				</font>
				<font size="2">
						<span lang="EN-US" style="COLOR: #333333; mso-bidi-font-size: 9.0pt">
								<font face="Times New Roman">,<br /></font>
						</span>
						<span style="COLOR: #333333; FONT-FAMILY: 宋体; mso-ascii-font-family: " mso-bidi-font-size:="" roman?;="" new="" ?times="" mso-hansi-font-family:="" times="" 9.0pt?="">比如你在一个</span>
						<span lang="EN-US" style="COLOR: #333333; mso-bidi-font-size: 9.0pt">
								<font face="Times New Roman">  const   </font>
						</span>
						<span style="COLOR: #333333; FONT-FAMILY: 宋体; mso-ascii-font-family: " mso-bidi-font-size:="" roman?;="" new="" ?times="" mso-hansi-font-family:="" times="" 9.0pt?="">成员函数里企图修改一个非</span>
						<span lang="EN-US" style="COLOR: #333333; mso-bidi-font-size: 9.0pt">
								<font face="Times New Roman">  mutable   </font>
						</span>
						<span style="COLOR: #333333; FONT-FAMILY: 宋体; mso-ascii-font-family: " mso-bidi-font-size:="" roman?;="" new="" ?times="" mso-hansi-font-family:="" times="" 9.0pt?="">的成员变量</span>
				</font>
				<font size="2">
						<span lang="EN-US" style="COLOR: #333333; mso-bidi-font-size: 9.0pt">
								<font face="Times New Roman">.<br /></font>
						</span>
						<span style="COLOR: #333333; FONT-FAMILY: 宋体; mso-ascii-font-family: " mso-bidi-font-size:="" roman?;="" new="" ?times="" mso-hansi-font-family:="" times="" 9.0pt?="">编译器会对你咆哮</span>
						<span lang="EN-US" style="COLOR: #333333; mso-bidi-font-size: 9.0pt">
								<font face="Times New Roman">,   "</font>
						</span>
						<span style="COLOR: #333333; FONT-FAMILY: 宋体; mso-ascii-font-family: " mso-bidi-font-size:="" roman?;="" new="" ?times="" mso-hansi-font-family:="" times="" 9.0pt?="">不许动</span>
						<span lang="EN-US" style="COLOR: #333333; mso-bidi-font-size: 9.0pt">
								<font face="Times New Roman">,   </font>
						</span>
						<span style="COLOR: #333333; FONT-FAMILY: 宋体; mso-ascii-font-family: " mso-bidi-font-size:="" roman?;="" new="" ?times="" mso-hansi-font-family:="" times="" 9.0pt?="">那玩意是我</span>
						<span lang="EN-US" style="COLOR: #333333; mso-bidi-font-size: 9.0pt">
								<font face="Times New Roman">  const   </font>
						</span>
						<span style="COLOR: #333333; FONT-FAMILY: 宋体; mso-ascii-font-family: " mso-bidi-font-size:="" roman?;="" new="" ?times="" mso-hansi-font-family:="" times="" 9.0pt?="">住的</span>
						<span lang="EN-US" style="COLOR: #333333; mso-bidi-font-size: 9.0pt">
								<font face="Times New Roman">,   </font>
						</span>
						<span style="COLOR: #333333; FONT-FAMILY: 宋体; mso-ascii-font-family: " mso-bidi-font-size:="" roman?;="" new="" ?times="" mso-hansi-font-family:="" times="" 9.0pt?="">把你的爪子</span>
				</font>
				<span lang="EN-US" style="COLOR: #333333; mso-bidi-font-size: 9.0pt">
						<br />
				</span>
				<font size="2">
						<span style="COLOR: #333333; FONT-FAMILY: 宋体; mso-ascii-font-family: " mso-bidi-font-size:="" roman?;="" new="" ?times="" mso-hansi-font-family:="" times="" 9.0pt?="">收回去</span>
						<span lang="EN-US" style="COLOR: #333333; mso-bidi-font-size: 9.0pt">
								<font face="Times New Roman">"   </font>
						</span>
						<span style="COLOR: #333333; FONT-FAMILY: 宋体; mso-ascii-font-family: " mso-bidi-font-size:="" roman?;="" new="" ?times="" mso-hansi-font-family:="" times="" 9.0pt?="">这个时候就要利用</span>
						<span lang="EN-US" style="COLOR: #333333; mso-bidi-font-size: 9.0pt">
								<font face="Times New Roman">  const_cast   </font>
						</span>
						<span style="COLOR: #333333; FONT-FAMILY: 宋体; mso-ascii-font-family: " mso-bidi-font-size:="" roman?;="" new="" ?times="" mso-hansi-font-family:="" times="" 9.0pt?="">了</span>
						<span lang="EN-US" style="COLOR: #333333; mso-bidi-font-size: 9.0pt">
								<font face="Times New Roman">,   </font>
						</span>
						<span style="COLOR: #333333; FONT-FAMILY: 宋体; mso-ascii-font-family: " mso-bidi-font-size:="" roman?;="" new="" ?times="" mso-hansi-font-family:="" times="" 9.0pt?="">呵呵</span>
				</font>
				<font size="2">
						<span lang="EN-US" style="COLOR: #333333; mso-bidi-font-size: 9.0pt">
								<font face="Times New Roman">.<br /><br />const_cast   </font>
						</span>
						<span style="COLOR: #333333; FONT-FAMILY: 宋体; mso-ascii-font-family: " mso-bidi-font-size:="" roman?;="" new="" ?times="" mso-hansi-font-family:="" times="" 9.0pt?="">就是可以解除</span>
						<span lang="EN-US" style="COLOR: #333333; mso-bidi-font-size: 9.0pt">
								<font face="Times New Roman">  const   </font>
						</span>
						<span style="COLOR: #333333; FONT-FAMILY: 宋体; mso-ascii-font-family: " mso-bidi-font-size:="" roman?;="" new="" ?times="" mso-hansi-font-family:="" times="" 9.0pt?="">限制的</span>
						<span lang="EN-US" style="COLOR: #333333; mso-bidi-font-size: 9.0pt">
								<font face="Times New Roman">"</font>
						</span>
						<span style="COLOR: #333333; FONT-FAMILY: 宋体; mso-ascii-font-family: " mso-bidi-font-size:="" roman?;="" new="" ?times="" mso-hansi-font-family:="" times="" 9.0pt?="">神</span>
						<span lang="EN-US" style="COLOR: #333333; mso-bidi-font-size: 9.0pt">
								<font face="Times New Roman">"</font>
						</span>
						<span style="COLOR: #333333; FONT-FAMILY: 宋体; mso-ascii-font-family: " mso-bidi-font-size:="" roman?;="" new="" ?times="" mso-hansi-font-family:="" times="" 9.0pt?="">的武器</span>
				</font>
				<font size="2">
						<span lang="EN-US" style="COLOR: #333333; mso-bidi-font-size: 9.0pt">
								<font face="Times New Roman">  <br /></font>
						</span>
						<span style="COLOR: #333333; FONT-FAMILY: 宋体; mso-ascii-font-family: " mso-bidi-font-size:="" roman?;="" new="" ?times="" mso-hansi-font-family:="" times="" 9.0pt?="">但我认为</span>
						<span lang="EN-US" style="COLOR: #333333; mso-bidi-font-size: 9.0pt">
								<font face="Times New Roman">,   </font>
						</span>
						<span style="COLOR: #333333; FONT-FAMILY: 宋体; mso-ascii-font-family: " mso-bidi-font-size:="" roman?;="" new="" ?times="" mso-hansi-font-family:="" times="" 9.0pt?="">这在很多情况下比</span>
						<span lang="EN-US" style="COLOR: #333333; mso-bidi-font-size: 9.0pt">
								<font face="Times New Roman">  reinterpret_cast   </font>
						</span>
						<span style="COLOR: #333333; FONT-FAMILY: 宋体; mso-ascii-font-family: " mso-bidi-font-size:="" roman?;="" new="" ?times="" mso-hansi-font-family:="" times="" 9.0pt?="">更危险</span>
						<span lang="EN-US" style="COLOR: #333333; mso-bidi-font-size: 9.0pt">
								<font face="Times New Roman">,   </font>
						</span>
						<span style="COLOR: #333333; FONT-FAMILY: 宋体; mso-ascii-font-family: " mso-bidi-font-size:="" roman?;="" new="" ?times="" mso-hansi-font-family:="" times="" 9.0pt?="">我还是老实做</span>
				</font>
				<span lang="EN-US" style="COLOR: #333333; mso-bidi-font-size: 9.0pt">
						<br />
				</span>
				<font size="2">
						<span style="COLOR: #333333; FONT-FAMILY: 宋体; mso-ascii-font-family: " mso-bidi-font-size:="" roman?;="" new="" ?times="" mso-hansi-font-family:="" times="" 9.0pt?="">人的好</span>
						<span lang="EN-US" style="COLOR: #333333; mso-bidi-font-size: 9.0pt">
								<font face="Times New Roman">.   </font>
						</span>
						<span style="COLOR: #333333; FONT-FAMILY: 宋体; mso-ascii-font-family: " mso-bidi-font-size:="" roman?;="" new="" ?times="" mso-hansi-font-family:="" times="" 9.0pt?="">让编译器来捍卫我的代码的安全</span>
						<span lang="EN-US" style="COLOR: #333333; mso-bidi-font-size: 9.0pt">
								<font face="Times New Roman">.</font>
						</span>
				</font>
		</p>
<img src ="http://www.cppblog.com/DavidZhang/aggbug/13673.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.cppblog.com/DavidZhang/" target="_blank">David Z</a> 2006-10-14 15:59 <a href="http://www.cppblog.com/DavidZhang/archive/2006/10/14/13673.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>My first post</title><link>http://www.cppblog.com/DavidZhang/archive/2006/10/13/13623.html</link><dc:creator>David Z</dc:creator><author>David Z</author><pubDate>Fri, 13 Oct 2006 02:42:00 GMT</pubDate><guid>http://www.cppblog.com/DavidZhang/archive/2006/10/13/13623.html</guid><wfw:comment>http://www.cppblog.com/DavidZhang/comments/13623.html</wfw:comment><comments>http://www.cppblog.com/DavidZhang/archive/2006/10/13/13623.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.cppblog.com/DavidZhang/comments/commentRss/13623.html</wfw:commentRss><trackback:ping>http://www.cppblog.com/DavidZhang/services/trackbacks/13623.html</trackback:ping><description><![CDATA[It's my first post here. <img src ="http://www.cppblog.com/DavidZhang/aggbug/13623.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.cppblog.com/DavidZhang/" target="_blank">David Z</a> 2006-10-13 10:42 <a href="http://www.cppblog.com/DavidZhang/archive/2006/10/13/13623.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item></channel></rss>