锘??xml version="1.0" encoding="utf-8" standalone="yes"?>欧美日韩成人精品久久久免费看,少妇内射兰兰久久,精品免费tv久久久久久久http://www.shnenglu.com/palm/category/16186.htmlzh-cnMon, 07 Mar 2011 06:42:38 GMTMon, 07 Mar 2011 06:42:38 GMT60C++椋庢牸鐨勭被鍨嬭漿鎹?/title><link>http://www.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://www.shnenglu.com/palm/archive/2011/03/07/141272.html</guid><wfw:comment>http://www.shnenglu.com/palm/comments/141272.html</wfw:comment><comments>http://www.shnenglu.com/palm/archive/2011/03/07/141272.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.shnenglu.com/palm/comments/commentRss/141272.html</wfw:commentRss><trackback:ping>http://www.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://www.shnenglu.com/palm/aggbug/141272.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.shnenglu.com/palm/" target="_blank">閮皬甯?/a> 2011-03-07 14:28 <a href="http://www.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://www.shnenglu.com/" title="精品视频久久久久">精品视频久久久久</a> <div class="friend-links"> </div> </div> </footer> <a href="http://www.daami.cn" target="_blank">青青青国产精品国产精品久久久久 </a>| <a href="http://www.hetiandai.cn" target="_blank">久久久久国色AV免费观看</a>| <a href="http://www.smxqw.cn" target="_blank">亚洲国产精品热久久</a>| <a href="http://www.caikuaipeixun.com.cn" target="_blank">国产成人香蕉久久久久</a>| <a href="http://www.hebhxjx.cn" target="_blank">日本精品久久久久影院日本</a>| <a href="http://www.51s8s.cn" target="_blank">精品久久久久久中文字幕大豆网</a>| <a href="http://www.5i5xp.cn" target="_blank">国产情侣久久久久aⅴ免费</a>| <a href="http://www.51maicha.cn" target="_blank">日本免费久久久久久久网站</a>| <a href="http://www.domino111.com.cn" target="_blank">日本高清无卡码一区二区久久</a>| <a href="http://www.cysq88.cn" target="_blank">亚洲中文字幕无码久久精品1</a>| <a href="http://www.wzcl818.cn" target="_blank">精品久久久久久国产牛牛app</a>| <a href="http://www.wyj416.cn" target="_blank">久久久久久久亚洲Av无码</a>| <a href="http://www.sanxiangcn.cn" target="_blank">久久亚洲国产精品一区二区</a>| <a href="http://www.yeziseo.cn" target="_blank">香港aa三级久久三级老师2021国产三级精品三级在 </a>| <a href="http://www.hzjslh.cn" target="_blank">波多野结衣中文字幕久久</a>| <a href="http://www.aylzys.cn" target="_blank">国产呻吟久久久久久久92</a>| <a href="http://www.e8ux.cn" target="_blank">无码AV中文字幕久久专区</a>| <a href="http://www.fanerge.cn" target="_blank">久久www免费人成看国产片</a>| <a href="http://www.jxsrgh.com.cn" target="_blank">性欧美大战久久久久久久久</a>| <a href="http://www.eoga.cn" target="_blank">久久久久女教师免费一区</a>| <a href="http://www.zsputian.com.cn" target="_blank">久久婷婷五月综合97色一本一本</a>| <a href="http://www.sanmiaoyidai.cn" target="_blank">国产日韩久久久精品影院首页</a>| <a href="http://www.love5000.cn" target="_blank">久久久无码一区二区三区</a>| <a href="http://www.uushipin.cn" target="_blank">深夜久久AAAAA级毛片免费看</a>| <a href="http://www.shiyana.cn" target="_blank">久久精品这里热有精品</a>| <a href="http://www.hfpump.com.cn" target="_blank">无遮挡粉嫩小泬久久久久久久</a>| <a href="http://www.11649.cn" target="_blank">香蕉99久久国产综合精品宅男自</a>| <a href="http://www.bhxs.net.cn" target="_blank">久久香蕉一级毛片</a>| <a href="http://www.yd-job.cn" target="_blank">99精品久久久久久久婷婷</a>| <a href="http://www.91368.com.cn" target="_blank">国产美女久久久</a>| <a href="http://www.trademan.cn" target="_blank">精品久久久久久国产</a>| <a href="http://www.b8800.cn" target="_blank">久久久久久毛片免费播放</a>| <a href="http://www.twhx.org.cn" target="_blank">无码精品久久久天天影视</a>| <a href="http://www.vulm.cn" target="_blank">国产成人精品久久</a>| <a href="http://www.longyan8.cn" target="_blank">国内高清久久久久久</a>| <a href="http://www.enld.cn" target="_blank">久久www免费人成看片</a>| <a href="http://www.shouyoujie.cn" target="_blank">伊人久久亚洲综合影院</a>| <a href="http://www.gfba.cn" target="_blank">久久午夜无码鲁丝片秋霞</a>| <a href="http://www.geishi.cn" target="_blank">久久久无码精品亚洲日韩蜜臀浪潮</a>| <a href="http://www.qianhongg.cn" target="_blank">亚洲AV伊人久久青青草原</a>| <a href="http://www.bolson.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>