锘??xml version="1.0" encoding="utf-8" standalone="yes"?>欧美日韩成人精品久久久免费看,少妇内射兰兰久久,精品免费tv久久久久久久http://m.shnenglu.com/palm/category/16186.htmlzh-cnMon, 07 Mar 2011 06:42:38 GMTMon, 07 Mar 2011 06:42:38 GMT60C++椋庢牸鐨勭被鍨嬭漿鎹?/title><link>http://m.shnenglu.com/palm/archive/2011/03/07/141272.html</link><dc:creator>閮皬甯?/dc:creator><author>閮皬甯?/author><pubDate>Mon, 07 Mar 2011 06:28:00 GMT</pubDate><guid>http://m.shnenglu.com/palm/archive/2011/03/07/141272.html</guid><wfw:comment>http://m.shnenglu.com/palm/comments/141272.html</wfw:comment><comments>http://m.shnenglu.com/palm/archive/2011/03/07/141272.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://m.shnenglu.com/palm/comments/commentRss/141272.html</wfw:commentRss><trackback:ping>http://m.shnenglu.com/palm/services/trackbacks/141272.html</trackback:ping><description><![CDATA[ C++鏈夊洓縐嶇被鍨嬭漿鎹㈡搷浣滅錛歴tatic_cast銆乧onst_cast銆乨ynamic_cast銆乺einterpret_cast銆?div>1>. static_cast鏅氳漿鎹紝濡俤ouble杞琲nt錛?/div><div><table id="Table1" class="tb" cellspacing="0" cellpadding="3" border="0" style="font-size: 13px; "><tbody><tr><td><pre><div><span style="color: rgb(0, 128, 128); ">1</span> <span style="color: rgb(0, 0, 255); ">double</span><span style="color: rgb(0, 0, 0); "> a </span><span style="color: rgb(0, 0, 0); ">=</span><span style="color: rgb(0, 0, 0); "> </span><span style="color: rgb(0, 0, 0); ">10</span><span style="color: rgb(0, 0, 0); ">; </span><span style="color: rgb(0, 128, 128); ">2</span> <span style="color: rgb(0, 0, 0); "></span><span style="color: rgb(0, 0, 255); ">int</span><span style="color: rgb(0, 0, 0); "> b </span><span style="color: rgb(0, 0, 0); ">=</span><span style="color: rgb(0, 0, 0); "> static_cast</span><span style="color: rgb(0, 0, 0); "><</span><span style="color: rgb(0, 0, 255); ">int</span><span style="color: rgb(0, 0, 0); ">></span><span style="color: rgb(0, 0, 0); ">(a);</span></div></pre></td></tr></tbody></table></div><div>2>. const_cast鏀瑰彉const鎴栬卾olatile灞炴?</div><div><span style="font-size: 13px; "><pre><div><span style="color: rgb(0, 128, 128); ">1</span> <span style="color: rgb(0, 0, 255); ">const</span><span style="color: rgb(0, 0, 0); "> </span><span style="color: rgb(0, 0, 255); ">char</span><span style="color: rgb(0, 0, 0); ">*</span><span style="color: rgb(0, 0, 0); "> szA </span><span style="color: rgb(0, 0, 0); ">=</span><span style="color: rgb(0, 0, 0); "> </span><span style="color: rgb(0, 0, 0); ">"</span><span style="color: rgb(0, 0, 0); ">test</span><span style="color: rgb(0, 0, 0); ">"</span><span style="color: rgb(0, 0, 0); ">; </span><span style="color: rgb(0, 128, 128); ">2</span> <span style="color: rgb(0, 0, 0); "></span><span style="color: rgb(0, 0, 255); ">char</span><span style="color: rgb(0, 0, 0); ">*</span><span style="color: rgb(0, 0, 0); "> szB </span><span style="color: rgb(0, 0, 0); ">=</span><span style="color: rgb(0, 0, 0); "> const_cast</span><span style="color: rgb(0, 0, 0); "><</span><span style="color: rgb(0, 0, 255); ">char</span><span style="color: rgb(0, 0, 0); ">*></span><span style="color: rgb(0, 0, 0); ">(szA);</span></div></pre></span></div><div>3>. dynamic_cast鎶婃寚鍚戝熀綾葷殑鎸囬拡鎴栧紩鐢ㄨ漿鎹㈡垚鎸囧悜媧劇敓綾繪垨鑰呭熀綾葷殑鍏勫紵綾葷殑鎸囬拡鎴栧紩鐢細</div><div><table id="Table1" class="tb" cellspacing="0" cellpadding="3" border="0" style="font-size: 13px; "><tbody><tr><td><pre><div><span style="color: rgb(0, 128, 128); "> 1</span> <span style="color: rgb(0, 0, 255); ">class</span><span style="color: rgb(0, 0, 0); "> Base </span><span style="color: rgb(0, 128, 128); "> 2</span> <span style="color: rgb(0, 0, 0); ">{ </span><span style="color: rgb(0, 128, 128); "> 3</span> <span style="color: rgb(0, 0, 0); "></span><span style="color: rgb(0, 0, 255); ">public</span><span style="color: rgb(0, 0, 0); ">: </span><span style="color: rgb(0, 128, 128); "> 4</span> <span style="color: rgb(0, 0, 0); "> </span><span style="color: rgb(0, 0, 255); ">virtual</span><span style="color: rgb(0, 0, 0); "> </span><span style="color: rgb(0, 0, 255); ">void</span><span style="color: rgb(0, 0, 0); "> test(){} </span><span style="color: rgb(0, 128, 0); ">//</span><span style="color: rgb(0, 128, 0); ">鍩虹被蹇呴』鏈夎櫄鍑芥暟</span><span style="color: rgb(0, 128, 0); "> </span><span style="color: rgb(0, 128, 128); "> 5</span> <span style="color: rgb(0, 128, 0); "></span><span style="color: rgb(0, 0, 0); ">}; </span><span style="color: rgb(0, 128, 128); "> 6</span> <span style="color: rgb(0, 0, 0); "> </span><span style="color: rgb(0, 128, 128); "> 7</span> <span style="color: rgb(0, 0, 0); "></span><span style="color: rgb(0, 0, 255); ">class</span><span style="color: rgb(0, 0, 0); "> Child : </span><span style="color: rgb(0, 0, 255); ">public</span><span style="color: rgb(0, 0, 0); "> Base </span><span style="color: rgb(0, 128, 128); "> 8</span> <span style="color: rgb(0, 0, 0); ">{ </span><span style="color: rgb(0, 128, 128); "> 9</span> <span style="color: rgb(0, 0, 0); "></span><span style="color: rgb(0, 0, 255); ">public</span><span style="color: rgb(0, 0, 0); ">: </span><span style="color: rgb(0, 128, 128); ">10</span> <span style="color: rgb(0, 0, 0); "> </span><span style="color: rgb(0, 0, 255); ">void</span><span style="color: rgb(0, 0, 0); "> print(){ cout </span><span style="color: rgb(0, 0, 0); "><<</span><span style="color: rgb(0, 0, 0); "> </span><span style="color: rgb(0, 0, 0); ">"</span><span style="color: rgb(0, 0, 0); ">child::base</span><span style="color: rgb(0, 0, 0); ">"</span><span style="color: rgb(0, 0, 0); "> </span><span style="color: rgb(0, 0, 0); "><<</span><span style="color: rgb(0, 0, 0); "> endl; } </span><span style="color: rgb(0, 128, 128); ">11</span> <span style="color: rgb(0, 0, 0); ">}; </span><span style="color: rgb(0, 128, 128); ">12</span> <span style="color: rgb(0, 0, 0); "> </span><span style="color: rgb(0, 128, 128); ">13</span> <span style="color: rgb(0, 0, 0); ">Base</span><span style="color: rgb(0, 0, 0); ">*</span><span style="color: rgb(0, 0, 0); "> pBase </span><span style="color: rgb(0, 0, 0); ">=</span><span style="color: rgb(0, 0, 0); "> </span><span style="color: rgb(0, 0, 255); ">new</span><span style="color: rgb(0, 0, 0); "> Base(); </span><span style="color: rgb(0, 128, 128); ">14</span> <span style="color: rgb(0, 0, 0); ">Child</span><span style="color: rgb(0, 0, 0); ">*</span><span style="color: rgb(0, 0, 0); "> pChild </span><span style="color: rgb(0, 0, 0); ">=</span><span style="color: rgb(0, 0, 0); "> dynamic_cast</span><span style="color: rgb(0, 0, 0); "><</span><span style="color: rgb(0, 0, 0); ">Child</span><span style="color: rgb(0, 0, 0); ">*></span><span style="color: rgb(0, 0, 0); ">(pBase); </span><span style="color: rgb(0, 128, 128); ">15</span> <span style="color: rgb(0, 0, 0); ">pChild</span><span style="color: rgb(0, 0, 0); ">-></span><span style="color: rgb(0, 0, 0); ">print();</span></div></pre></td></tr></tbody></table></div><div>4>. reinterpret_cast鐢ㄦ潵鍦ㄥ嚱鏁版寚閽堜箣闂磋繘琛岀被鍨嬭漿鎹?/div><div><font face="monospace" size="2"><span style="white-space: pre;"><span style="font-family: Simsun; white-space: normal; font-size: 13px; "><pre><div><span style="color: rgb(0, 128, 128); ">1</span> <span style="color: rgb(0, 0, 0); ">typedef </span><span style="color: rgb(0, 0, 255); ">void</span><span style="color: rgb(0, 0, 0); "> (</span><span style="color: rgb(0, 0, 0); ">*</span><span style="color: rgb(0, 0, 0); ">FuncPtr)(); </span><span style="color: rgb(0, 128, 128); ">2</span> <span style="color: rgb(0, 0, 0); ">FuncPtr funcPtrArray[</span><span style="color: rgb(0, 0, 0); ">10</span><span style="color: rgb(0, 0, 0); ">]; </span><span style="color: rgb(0, 128, 128); ">3</span> <span style="color: rgb(0, 0, 0); "></span><span style="color: rgb(0, 0, 255); ">int</span><span style="color: rgb(0, 0, 0); "> doSomeing(){</span><span style="color: rgb(0, 0, 255); ">return</span><span style="color: rgb(0, 0, 0); "> </span><span style="color: rgb(0, 0, 0); ">0</span><span style="color: rgb(0, 0, 0); ">;} </span><span style="color: rgb(0, 128, 128); ">4</span> <span style="color: rgb(0, 0, 0); "> </span><span style="color: rgb(0, 128, 128); ">5</span> <span style="color: rgb(0, 0, 0); ">funcPtrArray[</span><span style="color: rgb(0, 0, 0); ">0</span><span style="color: rgb(0, 0, 0); ">] </span><span style="color: rgb(0, 0, 0); ">=</span><span style="color: rgb(0, 0, 0); "> reinterpret_cast</span><span style="color: rgb(0, 0, 0); "><</span><span style="color: rgb(0, 0, 0); ">FuncPtr</span><span style="color: rgb(0, 0, 0); ">></span><span style="color: rgb(0, 0, 0); ">(</span><span style="color: rgb(0, 0, 0); ">&</span><span style="color: rgb(0, 0, 0); ">doSomeing);</span></div></pre></span></span></font></div><img src ="http://m.shnenglu.com/palm/aggbug/141272.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://m.shnenglu.com/palm/" target="_blank">閮皬甯?/a> 2011-03-07 14:28 <a href="http://m.shnenglu.com/palm/archive/2011/03/07/141272.html#Feedback" target="_blank" style="text-decoration:none;">鍙戣〃璇勮</a></div>]]></description></item></channel></rss> <footer> <div class="friendship-link"> <p>感谢您访问我们的网站,您可能还对以下资源感兴趣:</p> <a href="http://m.shnenglu.com/" title="精品视频久久久久">精品视频久久久久</a> <div class="friend-links"> </div> </div> </footer> <a href="http://www.vqzt.cn" target="_blank">久久精品亚洲福利</a>| <a href="http://www.52888666.cn" target="_blank">伊人久久大香线蕉综合5g</a>| <a href="http://www.7cfw.cn" target="_blank">久久精品国产亚洲7777</a>| <a href="http://www.audtw.cn" target="_blank">免费精品99久久国产综合精品</a>| <a href="http://www.zajiaosd.cn" target="_blank">丰满少妇人妻久久久久久</a>| <a href="http://www.huiju365.cn" target="_blank">久久综合综合久久狠狠狠97色88</a>| <a href="http://www.jxsrgh.com.cn" target="_blank">品成人欧美大片久久国产欧美 </a>| <a href="http://www.qy80.cn" target="_blank">色播久久人人爽人人爽人人片aV</a>| <a href="http://www.electricbed.cn" target="_blank">欧美无乱码久久久免费午夜一区二区三区中文字幕</a>| <a href="http://www.120o.cn" target="_blank">久久久久一级精品亚洲国产成人综合AV区</a>| <a href="http://www.qh298.cn" target="_blank">亚洲国产日韩欧美久久</a>| <a href="http://www.djlf.net.cn" target="_blank">国内精品久久久久影院日本 </a>| <a href="http://www.shipin168.cn" target="_blank">999久久久国产精品</a>| <a href="http://www.meloful.cn" target="_blank">久久久国产亚洲精品</a>| <a href="http://www.168sf.com.cn" target="_blank">国产精品久久网</a>| <a href="http://www.forsagecn.cn" target="_blank">伊人久久精品无码二区麻豆</a>| <a href="http://www.hit5.cn" target="_blank">老司机国内精品久久久久</a>| <a href="http://www.52galaxy.cn" target="_blank">蜜桃麻豆WWW久久囤产精品</a>| <a href="http://www.caifu580.cn" target="_blank">热99re久久国超精品首页</a>| <a href="http://www.oahk.cn" target="_blank">亚洲国产精品久久久天堂</a>| <a href="http://www.xhlwd.cn" target="_blank">久久综合给合综合久久</a>| <a href="http://www.sehinix.cn" target="_blank">成人妇女免费播放久久久</a>| <a href="http://www.168lala.cn" target="_blank">国产成人综合久久精品红</a>| <a href="http://www.shawcai.cn" target="_blank">久久久久久国产精品美女</a>| <a href="http://www.sangaotang.cn" target="_blank">国产99久久精品一区二区</a>| <a href="http://www.cq81.cn" target="_blank">婷婷伊人久久大香线蕉AV</a>| <a href="http://www.iview-inc.com.cn" target="_blank">青青青青久久精品国产h久久精品五福影院1421 </a>| <a href="http://www.licaidazhong.com.cn" target="_blank">久久久久久a亚洲欧洲aⅴ </a>| <a href="http://www.lslscy.cn" target="_blank">久久强奷乱码老熟女网站</a>| <a href="http://www.ciidc.org.cn" target="_blank">久久人人爽人爽人人爽av</a>| <a href="http://www.zjyffm.cn" target="_blank">国内精品久久久久影院网站</a>| <a href="http://www.hunan168.cn" target="_blank">国产精品久久久久久久久免费</a>| <a href="http://www.ywpc88.cn" target="_blank">99精品久久精品一区二区</a>| <a href="http://www.mjiniu.cn" target="_blank">久久精品国产欧美日韩99热</a>| <a href="http://www.anfubbs.cn" target="_blank">久久久久国色AV免费看图片</a>| <a href="http://www.vlbx.cn" target="_blank">国产成人精品久久亚洲高清不卡 </a>| <a href="http://www.viparadise.com.cn" target="_blank">久久综合狠狠综合久久</a>| <a href="http://www.pobk.cn" target="_blank">亚洲女久久久噜噜噜熟女</a>| <a href="http://www.52037872.cn" target="_blank">亚洲日韩中文无码久久</a>| <a href="http://www.hcpyr.cn" target="_blank">亚洲人成伊人成综合网久久久</a>| <a href="http://www.ogus.cn" target="_blank">久久久久久久久波多野高潮</a>| <script> (function(){ var bp = document.createElement('script'); var curProtocol = window.location.protocol.split(':')[0]; if (curProtocol === 'https') { bp.src = 'https://zz.bdstatic.com/linksubmit/push.js'; } else { bp.src = 'http://push.zhanzhang.baidu.com/push.js'; } var s = document.getElementsByTagName("script")[0]; s.parentNode.insertBefore(bp, s); })(); </script> </body>