锘??xml version="1.0" encoding="utf-8" standalone="yes"?>97久久国产亚洲精品超碰热 ,色综合久久最新中文字幕,无码人妻久久一区二区三区蜜桃 http://www.shnenglu.com/dawnbreak/category/9034.htmlPearLi's Blogzh-cnMon, 25 Oct 2010 15:46:06 GMTMon, 25 Oct 2010 15:46:06 GMT60MSVC++ 瀵硅薄鍐呭瓨妯″瀷娣卞叆瑙f瀽涓庡叿浣撳簲鐢?(涓?http://www.shnenglu.com/dawnbreak/archive/2010/06/05/117144.htmlpear_lipear_liSat, 05 Jun 2010 06:13:00 GMThttp://www.shnenglu.com/dawnbreak/archive/2010/06/05/117144.htmlhttp://www.shnenglu.com/dawnbreak/comments/117144.htmlhttp://www.shnenglu.com/dawnbreak/archive/2010/06/05/117144.html#Feedback0http://www.shnenglu.com/dawnbreak/comments/commentRss/117144.htmlhttp://www.shnenglu.com/dawnbreak/services/trackbacks/117144.html闃呰鍏ㄦ枃

pear_li 2010-06-05 14:13 鍙戣〃璇勮
]]>
浠庡皬鍑芥暟瀹炵幇鐪嬪簲鑱樿呯殑緙栫▼绱犺川錛坅toi.strcmp...錛?/title><link>http://www.shnenglu.com/dawnbreak/archive/2009/08/24/94262.html</link><dc:creator>pear_li</dc:creator><author>pear_li</author><pubDate>Mon, 24 Aug 2009 07:17:00 GMT</pubDate><guid>http://www.shnenglu.com/dawnbreak/archive/2009/08/24/94262.html</guid><wfw:comment>http://www.shnenglu.com/dawnbreak/comments/94262.html</wfw:comment><comments>http://www.shnenglu.com/dawnbreak/archive/2009/08/24/94262.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.shnenglu.com/dawnbreak/comments/commentRss/94262.html</wfw:commentRss><trackback:ping>http://www.shnenglu.com/dawnbreak/services/trackbacks/94262.html</trackback:ping><description><![CDATA[     鎽樿:   <a href='http://www.shnenglu.com/dawnbreak/archive/2009/08/24/94262.html'>闃呰鍏ㄦ枃</a><img src ="http://www.shnenglu.com/dawnbreak/aggbug/94262.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.shnenglu.com/dawnbreak/" target="_blank">pear_li</a> 2009-08-24 15:17 <a href="http://www.shnenglu.com/dawnbreak/archive/2009/08/24/94262.html#Feedback" target="_blank" style="text-decoration:none;">鍙戣〃璇勮</a></div>]]></description></item><item><title>A*綆楁硶瀹炵幇http://www.shnenglu.com/dawnbreak/archive/2009/08/14/93351.htmlpear_lipear_liFri, 14 Aug 2009 09:43:00 GMThttp://www.shnenglu.com/dawnbreak/archive/2009/08/14/93351.htmlhttp://www.shnenglu.com/dawnbreak/comments/93351.htmlhttp://www.shnenglu.com/dawnbreak/archive/2009/08/14/93351.html#Feedback1http://www.shnenglu.com/dawnbreak/comments/commentRss/93351.htmlhttp://www.shnenglu.com/dawnbreak/services/trackbacks/93351.html闃呰鍏ㄦ枃

pear_li 2009-08-14 17:43 鍙戣〃璇勮
]]>
綆鐗?瀹瑰櫒vector 瀹炵幇http://www.shnenglu.com/dawnbreak/archive/2009/08/12/93030.htmlpear_lipear_liWed, 12 Aug 2009 07:46:00 GMThttp://www.shnenglu.com/dawnbreak/archive/2009/08/12/93030.htmlhttp://www.shnenglu.com/dawnbreak/comments/93030.htmlhttp://www.shnenglu.com/dawnbreak/archive/2009/08/12/93030.html#Feedback0http://www.shnenglu.com/dawnbreak/comments/commentRss/93030.htmlhttp://www.shnenglu.com/dawnbreak/services/trackbacks/93030.html闃呰鍏ㄦ枃

pear_li 2009-08-12 15:46 鍙戣〃璇勮
]]>
0-1鑳屽寘闂http://www.shnenglu.com/dawnbreak/archive/2009/08/11/92854.htmlpear_lipear_liMon, 10 Aug 2009 19:02:00 GMThttp://www.shnenglu.com/dawnbreak/archive/2009/08/11/92854.htmlhttp://www.shnenglu.com/dawnbreak/comments/92854.htmlhttp://www.shnenglu.com/dawnbreak/archive/2009/08/11/92854.html#Feedback1http://www.shnenglu.com/dawnbreak/comments/commentRss/92854.htmlhttp://www.shnenglu.com/dawnbreak/services/trackbacks/92854.html闃呰鍏ㄦ枃

pear_li 2009-08-11 03:02 鍙戣〃璇勮
]]>
鍏殗鍚庨棶棰樹竴瑙?-鐢ㄥ嚑浣曟柟娉曠畝鍖栫紪紼嬮棶棰?/title><link>http://www.shnenglu.com/dawnbreak/archive/2009/08/10/92813.html</link><dc:creator>pear_li</dc:creator><author>pear_li</author><pubDate>Mon, 10 Aug 2009 07:11:00 GMT</pubDate><guid>http://www.shnenglu.com/dawnbreak/archive/2009/08/10/92813.html</guid><wfw:comment>http://www.shnenglu.com/dawnbreak/comments/92813.html</wfw:comment><comments>http://www.shnenglu.com/dawnbreak/archive/2009/08/10/92813.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.shnenglu.com/dawnbreak/comments/commentRss/92813.html</wfw:commentRss><trackback:ping>http://www.shnenglu.com/dawnbreak/services/trackbacks/92813.html</trackback:ping><description><![CDATA[     鎽樿: 鍦ㄤ竴涓?脳8鍥介檯璞℃鐩樹笂錛屾湁8涓殗鍚庯紝姣忎釜鐨囧悗鍗犱竴鏍鹼紱瑕佹眰鐨囧悗闂翠笉浼氬嚭鐜扮浉浜掆滄敾鍑燴濈殑鐜拌薄錛屽嵆涓嶈兘鏈変袱涓殗鍚庡鍦ㄥ悓涓琛屻佸悓涓鍒楁垨鍚屼竴瀵硅綰夸笂銆傞棶鍏辨湁澶氬皯縐嶄笉鍚岀殑鏂規硶銆?<br>  <a href='http://www.shnenglu.com/dawnbreak/archive/2009/08/10/92813.html'>闃呰鍏ㄦ枃</a><img src ="http://www.shnenglu.com/dawnbreak/aggbug/92813.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.shnenglu.com/dawnbreak/" target="_blank">pear_li</a> 2009-08-10 15:11 <a href="http://www.shnenglu.com/dawnbreak/archive/2009/08/10/92813.html#Feedback" target="_blank" style="text-decoration:none;">鍙戣〃璇勮</a></div>]]></description></item><item><title>鍐欎簡涓涓叧闂數鑴戝睆騫曠殑鏈嶅姟紼嬪簭http://www.shnenglu.com/dawnbreak/archive/2009/07/15/90133.htmlpear_lipear_liWed, 15 Jul 2009 06:36:00 GMThttp://www.shnenglu.com/dawnbreak/archive/2009/07/15/90133.htmlhttp://www.shnenglu.com/dawnbreak/comments/90133.htmlhttp://www.shnenglu.com/dawnbreak/archive/2009/07/15/90133.html#Feedback15http://www.shnenglu.com/dawnbreak/comments/commentRss/90133.htmlhttp://www.shnenglu.com/dawnbreak/services/trackbacks/90133.html鎬誨ぇ灝?7澶欸錛屽彧濂芥寕鏈轟笅杞斤紝浣嗘槸鎴慩PS1530绔熺劧娌℃湁鍏抽棴灞忓箷鐨勭儹閿?閮侀椃錛岀洅涓婄洊鏁g儹鍙堟槸闂錛岄偅灝辮嚜宸卞姩鎵嬪惂
  闃呰鍏ㄦ枃

pear_li 2009-07-15 14:36 鍙戣〃璇勮
]]>
鐢ㄤ箣鍓嶅啓鐨勭墿鐞嗘ā鎷熷紩鎿庣紪鍐欎簡涓皬娓告垙http://www.shnenglu.com/dawnbreak/archive/2009/06/05/86827.htmlpear_lipear_liFri, 05 Jun 2009 03:14:00 GMThttp://www.shnenglu.com/dawnbreak/archive/2009/06/05/86827.htmlhttp://www.shnenglu.com/dawnbreak/comments/86827.htmlhttp://www.shnenglu.com/dawnbreak/archive/2009/06/05/86827.html#Feedback4http://www.shnenglu.com/dawnbreak/comments/commentRss/86827.htmlhttp://www.shnenglu.com/dawnbreak/services/trackbacks/86827.html闃呰鍏ㄦ枃

pear_li 2009-06-05 11:14 鍙戣〃璇勮
]]>
vc涔熸悶for eachhttp://www.shnenglu.com/dawnbreak/archive/2009/05/15/83066.htmlpear_lipear_liFri, 15 May 2009 10:40:00 GMThttp://www.shnenglu.com/dawnbreak/archive/2009/05/15/83066.htmlhttp://www.shnenglu.com/dawnbreak/comments/83066.htmlhttp://www.shnenglu.com/dawnbreak/archive/2009/05/15/83066.html#Feedback7http://www.shnenglu.com/dawnbreak/comments/commentRss/83066.htmlhttp://www.shnenglu.com/dawnbreak/services/trackbacks/83066.html闃呰鍏ㄦ枃

pear_li 2009-05-15 18:40 鍙戣〃璇勮
]]>
瀵硅薄涓庡璞$殑綾誨瀷淇℃伅----鑾峰彇瀵硅薄鐨凴TTI淇℃伅http://www.shnenglu.com/dawnbreak/archive/2009/03/12/76354.htmlpear_lipear_liThu, 12 Mar 2009 09:55:00 GMThttp://www.shnenglu.com/dawnbreak/archive/2009/03/12/76354.htmlhttp://www.shnenglu.com/dawnbreak/comments/76354.htmlhttp://www.shnenglu.com/dawnbreak/archive/2009/03/12/76354.html#Feedback3http://www.shnenglu.com/dawnbreak/comments/commentRss/76354.htmlhttp://www.shnenglu.com/dawnbreak/services/trackbacks/76354.html闃呰鍏ㄦ枃

pear_li 2009-03-12 17:55 鍙戣〃璇勮
]]>
MSVC++ 瀵硅薄鍐呭瓨妯″瀷娣卞叆瑙f瀽涓庡叿浣撳簲鐢?(浜?http://www.shnenglu.com/dawnbreak/archive/2009/03/11/76195.htmlpear_lipear_liWed, 11 Mar 2009 06:25:00 GMThttp://www.shnenglu.com/dawnbreak/archive/2009/03/11/76195.htmlhttp://www.shnenglu.com/dawnbreak/comments/76195.htmlhttp://www.shnenglu.com/dawnbreak/archive/2009/03/11/76195.html#Feedback3http://www.shnenglu.com/dawnbreak/comments/commentRss/76195.htmlhttp://www.shnenglu.com/dawnbreak/services/trackbacks/76195.html闃呰鍏ㄦ枃

pear_li 2009-03-11 14:25 鍙戣〃璇勮
]]>
C++鐨勯潤鎬佽仈緙栧拰鍔ㄦ佽仈緙栨妧鏈?http://www.shnenglu.com/dawnbreak/archive/2009/03/10/76160.htmlpear_lipear_liTue, 10 Mar 2009 15:02:00 GMThttp://www.shnenglu.com/dawnbreak/archive/2009/03/10/76160.htmlhttp://www.shnenglu.com/dawnbreak/comments/76160.htmlhttp://www.shnenglu.com/dawnbreak/archive/2009/03/10/76160.html#Feedback0http://www.shnenglu.com/dawnbreak/comments/commentRss/76160.htmlhttp://www.shnenglu.com/dawnbreak/services/trackbacks/76160.html
闈欐佽仈緙?

闈欐佽仈緙栨槸鎸囪仈緙栧伐浣滃嚭鐜板湪緙栬瘧榪炴帴闃舵錛岃繖縐嶈仈緙栧張縐版棭鏈熻仈緙栵紝鍥犱負榪欑鑱旂紪榪囩▼鏄湪紼嬪簭寮濮嬭繍琛屼箣鍓嶅畬鎴愮殑銆?

鍦ㄧ紪璇戞椂鎵榪涜鐨勮繖縐嶈仈緙栧張縐伴潤鎬佹潫瀹氥傚湪緙栬瘧鏃跺氨瑙e喅浜嗙▼搴忎腑鐨勬搷浣滆皟鐢ㄤ笌鎵ц璇ユ搷浣滀唬鐮侀棿鐨勫叧緋伙紝紜畾榪欑鍏崇郴鍙堢О涓烘潫瀹氾紝鍦ㄧ紪璇戞椂鏉熷畾鍙堢О闈欐佹潫瀹氥備笅闈婦涓涓潤鎬佽仈緙栫殑渚嬪瓙銆?nbsp; 闃呰鍏ㄦ枃

pear_li 2009-03-10 23:02 鍙戣〃璇勮
]]>
MSVC++ 瀵硅薄鍐呭瓨妯″瀷娣卞叆瑙f瀽涓庡叿浣撳簲鐢?涓)http://www.shnenglu.com/dawnbreak/archive/2009/03/10/76099.htmlpear_lipear_liTue, 10 Mar 2009 04:57:00 GMThttp://www.shnenglu.com/dawnbreak/archive/2009/03/10/76099.htmlhttp://www.shnenglu.com/dawnbreak/comments/76099.htmlhttp://www.shnenglu.com/dawnbreak/archive/2009/03/10/76099.html#Feedback8http://www.shnenglu.com/dawnbreak/comments/commentRss/76099.htmlhttp://www.shnenglu.com/dawnbreak/services/trackbacks/76099.html闃呰鍏ㄦ枃

pear_li 2009-03-10 12:57 鍙戣〃璇勮
]]>
棰勫畾涔夌鍙峰父閲?/title><link>http://www.shnenglu.com/dawnbreak/archive/2009/03/10/76089.html</link><dc:creator>pear_li</dc:creator><author>pear_li</author><pubDate>Tue, 10 Mar 2009 02:55:00 GMT</pubDate><guid>http://www.shnenglu.com/dawnbreak/archive/2009/03/10/76089.html</guid><wfw:comment>http://www.shnenglu.com/dawnbreak/comments/76089.html</wfw:comment><comments>http://www.shnenglu.com/dawnbreak/archive/2009/03/10/76089.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.shnenglu.com/dawnbreak/comments/commentRss/76089.html</wfw:commentRss><trackback:ping>http://www.shnenglu.com/dawnbreak/services/trackbacks/76089.html</trackback:ping><description><![CDATA[     鎽樿: C++緇ф壙浜咥NSI C鐨勯瀹氫箟甯擱噺錛岄澶勭悊鍣ㄥ湪澶勭悊浠g爜鏃跺皢瀹冧滑鏇挎崲涓虹‘瀹氱殑瀛楅潰甯擱噺銆傝繖浜涚鍙蜂笉鑳界敤#define閲嶆柊瀹氫箟錛屼篃涓嶈兘鐢?undef鍙栨秷璇ュ畯銆?<br> <br>__LINE__ 寮曠敤璇彞鐨勪唬鐮佽鍙?<br>__FILE__ 寮曠敤璇彞鎵鍦ㄧ殑鏂囦歡鍚?<br>__DATE__ 寮曠敤璇彞鎵鍦ㄦ簮鏂囦歡琚紪璇戠殑鏃舵湡 <br>__TIME__ 寮曠敤璇彞鎵鍦ㄦ簮鏂囦歡琚紪璇戠殑鏃墮棿  <a href='http://www.shnenglu.com/dawnbreak/archive/2009/03/10/76089.html'>闃呰鍏ㄦ枃</a><img src ="http://www.shnenglu.com/dawnbreak/aggbug/76089.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.shnenglu.com/dawnbreak/" target="_blank">pear_li</a> 2009-03-10 10:55 <a href="http://www.shnenglu.com/dawnbreak/archive/2009/03/10/76089.html#Feedback" target="_blank" style="text-decoration:none;">鍙戣〃璇勮</a></div>]]></description></item><item><title>璇﹁Вvirtual tablehttp://www.shnenglu.com/dawnbreak/archive/2009/03/10/76084.htmlpear_lipear_liTue, 10 Mar 2009 01:34:00 GMThttp://www.shnenglu.com/dawnbreak/archive/2009/03/10/76084.htmlhttp://www.shnenglu.com/dawnbreak/comments/76084.htmlhttp://www.shnenglu.com/dawnbreak/archive/2009/03/10/76084.html#Feedback1http://www.shnenglu.com/dawnbreak/comments/commentRss/76084.htmlhttp://www.shnenglu.com/dawnbreak/services/trackbacks/76084.html
  闃呰鍏ㄦ枃

pear_li 2009-03-10 09:34 鍙戣〃璇勮
]]>
鍏充簬緙栬瘧鍜岄摼鎺?/title><link>http://www.shnenglu.com/dawnbreak/archive/2008/12/23/70198.html</link><dc:creator>pear_li</dc:creator><author>pear_li</author><pubDate>Tue, 23 Dec 2008 15:22:00 GMT</pubDate><guid>http://www.shnenglu.com/dawnbreak/archive/2008/12/23/70198.html</guid><wfw:comment>http://www.shnenglu.com/dawnbreak/comments/70198.html</wfw:comment><comments>http://www.shnenglu.com/dawnbreak/archive/2008/12/23/70198.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.shnenglu.com/dawnbreak/comments/commentRss/70198.html</wfw:commentRss><trackback:ping>http://www.shnenglu.com/dawnbreak/services/trackbacks/70198.html</trackback:ping><description><![CDATA[     鎽樿:   <a href='http://www.shnenglu.com/dawnbreak/archive/2008/12/23/70198.html'>闃呰鍏ㄦ枃</a><img src ="http://www.shnenglu.com/dawnbreak/aggbug/70198.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.shnenglu.com/dawnbreak/" target="_blank">pear_li</a> 2008-12-23 23:22 <a href="http://www.shnenglu.com/dawnbreak/archive/2008/12/23/70198.html#Feedback" target="_blank" style="text-decoration:none;">鍙戣〃璇勮</a></div>]]></description></item><item><title>WTL---WxWidget---MFC 浣曞幓浣曚粠http://www.shnenglu.com/dawnbreak/archive/2008/12/21/70016.htmlpear_lipear_liSun, 21 Dec 2008 14:13:00 GMThttp://www.shnenglu.com/dawnbreak/archive/2008/12/21/70016.htmlhttp://www.shnenglu.com/dawnbreak/comments/70016.htmlhttp://www.shnenglu.com/dawnbreak/archive/2008/12/21/70016.html#Feedback22http://www.shnenglu.com/dawnbreak/comments/commentRss/70016.htmlhttp://www.shnenglu.com/dawnbreak/services/trackbacks/70016.html闃呰鍏ㄦ枃

pear_li 2008-12-21 22:13 鍙戣〃璇勮
]]>
浣跨敤綰跨▼灞閮ㄥ瓨鍌═LS http://www.shnenglu.com/dawnbreak/archive/2008/12/10/69107.htmlpear_lipear_liWed, 10 Dec 2008 13:25:00 GMThttp://www.shnenglu.com/dawnbreak/archive/2008/12/10/69107.htmlhttp://www.shnenglu.com/dawnbreak/comments/69107.htmlhttp://www.shnenglu.com/dawnbreak/archive/2008/12/10/69107.html#Feedback4http://www.shnenglu.com/dawnbreak/comments/commentRss/69107.htmlhttp://www.shnenglu.com/dawnbreak/services/trackbacks/69107.html闃呰鍏ㄦ枃

pear_li 2008-12-10 21:25 鍙戣〃璇勮
]]>
鍐嶈皥鎷瘋礉鏋勯犲嚱鏁幫紙Copy Constructor Function錛?/title><link>http://www.shnenglu.com/dawnbreak/archive/2008/12/05/68697.html</link><dc:creator>pear_li</dc:creator><author>pear_li</author><pubDate>Fri, 05 Dec 2008 15:19:00 GMT</pubDate><guid>http://www.shnenglu.com/dawnbreak/archive/2008/12/05/68697.html</guid><wfw:comment>http://www.shnenglu.com/dawnbreak/comments/68697.html</wfw:comment><comments>http://www.shnenglu.com/dawnbreak/archive/2008/12/05/68697.html#Feedback</comments><slash:comments>12</slash:comments><wfw:commentRss>http://www.shnenglu.com/dawnbreak/comments/commentRss/68697.html</wfw:commentRss><trackback:ping>http://www.shnenglu.com/dawnbreak/services/trackbacks/68697.html</trackback:ping><description><![CDATA[     鎽樿: 鍓嶆鏃墮棿鏈変漢鍙戣〃浜嗗叧浜庢嫹璐濇瀯閫犲嚱鏁扮殑闂錛屾垜瑙夊緱瀵逛簬鎷瘋礉鏋勯犲嚱鏁拌鎺屾彙鍥涚偣錛堜互涓嬩互CCF浠gО鎷瘋礉鏋勯犲嚱鏁幫級 <br>絎竴錛氶粯璁CF鎻愪緵瀵硅薄涔嬮棿鐨勪綅鎷瘋礉錛圔itwise Copy錛夛紝瀵逛簬鎸囬拡綾繪垚鍛樺彧浼氬皢鑷蟲寚閽堝煎鍒?<br>絎簩錛欳CF鍦ㄥ璞″垵濮嬪寲鏃舵墠鍙戞尌浣滅敤錛岃屽湪瀵硅薄璧嬪肩殑鏃跺欎笉璧蜂綔鐢?<br>絎笁錛氬湪娌℃湁鏄劇ず澹版槑鎴愬憳CCF鐨勬儏鍐典笅錛岀紪璇戝櫒浼氳嚜鍔ㄧ敓鎴愰粯璁CF錛屽鏋滄樉紺哄0鏄庝簡鏄劇ずCCF錛屽垯緙栬瘧鍣ㄤ笉浼氱敓鎴愰粯璁CF錛岃嚦灝戞槸涓嶄細璋冪敤 <br>絎洓錛氫笌鏋勯犲嚱鏁頒笉鍚岋紝CCF騫朵笉浼氶掑綊鐨勮皟鐢ㄥ熀綾葷殑CCF錛屽瓙綾諱笌鍩虹被鐨凜CF鏄鐩栧叧緋伙紝涓庡氨鏄瀛愮被浼氬鎵句笌鑷繁鍏崇郴鏈榪戠殑CCF璋冪敤錛屽鏋滃瓙綾繪湁CCF鍒欎粎璋冪敤瀛愮被CCF錛屽鏋滃瓙綾繪病鏈夊悜涓婂鎵撅紝璋冪敤絎竴涓壘鍒扮殑CCF <br>絎簲錛欳CF鐨勫0鏄庡強瀹氫箟濡備笅錛?<br> <br> <br> 1classname(classname const&obj) <br> 2{ <br> 3 m1=obj.m1; <br> 4 m2=obj.m2; <br> 5 . <br> 6 Lp1=new type[size]; <br> 7 memcpy  <a href='http://www.shnenglu.com/dawnbreak/archive/2008/12/05/68697.html'>闃呰鍏ㄦ枃</a><img src ="http://www.shnenglu.com/dawnbreak/aggbug/68697.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.shnenglu.com/dawnbreak/" target="_blank">pear_li</a> 2008-12-05 23:19 <a href="http://www.shnenglu.com/dawnbreak/archive/2008/12/05/68697.html#Feedback" target="_blank" style="text-decoration:none;">鍙戣〃璇勮</a></div>]]></description></item><item><title>瀵逛簬c++涓父閲忔垚鍛樺嚱鏁幫紝榪斿洖甯擱噺寮曠敤錛宑onst_cast鐨勬葷粨http://www.shnenglu.com/dawnbreak/archive/2008/12/04/68571.htmlpear_lipear_liThu, 04 Dec 2008 09:08:00 GMThttp://www.shnenglu.com/dawnbreak/archive/2008/12/04/68571.htmlhttp://www.shnenglu.com/dawnbreak/comments/68571.htmlhttp://www.shnenglu.com/dawnbreak/archive/2008/12/04/68571.html#Feedback2http://www.shnenglu.com/dawnbreak/comments/commentRss/68571.htmlhttp://www.shnenglu.com/dawnbreak/services/trackbacks/68571.html甯擱噺鎴愬憳鍑芥暟錛?/span>

鍏堢湅榪欎釜渚嬪瓙

bool Sales_item::same_isbn(const Sales_item &rhs) const

{ return (isbn rhs.isbn);}

钃濊壊鐨?span lang=EN-US>const鐢ㄤ簬淇グ鏄劇ず浼犲叆鐨勫艦鍙?span lang=EN-US>rhs錛岃屽浜庣被鐨勬垚鍛樺垯鏈夐殣寮忕殑錛岃屽鐨?span lang=EN-US>this鎸囬拡浣滀負褰㈠弬浼犲叆錛岃岀孩鑹查儴鍒嗙殑const姝f槸淇グ榪欓儴鍒嗗弬鏁?span lang=EN-US>this錛?span lang=EN-US>

const 鎴愬憳鍑芥暟鐨勫紩鍏?span lang=EN-US>

鐜板湪錛屽彲浠ョ悊瑙h窡鍦?span lang=EN-US>Sales_item 鎴愬憳鍑芥暟澹版槑鐨勫艦鍙傝〃鍚庨潰鐨?span lang=EN-US>const 鎵璧風殑浣滅敤浜?span lang=EN-US>: const鏀瑰彉浜嗛殣鍚殑this 褰㈠弬鐨勭被鍨嬨傚湪璋冪敤total.same_isbn(trans) 鏃訛紝闅愬惈鐨?span lang=EN-US>this 褰㈠弬灝嗘槸涓涓寚鍚?span lang=EN-US>total 瀵硅薄鐨?span lang=EN-US>const Sales_item*綾誨瀷鐨勬寚閽堛傚氨鍍忓涓嬬紪鍐?span lang=EN-US>same_isbn 鐨勫嚱鏁頒綋涓鏍?span lang=EN-US>:

 

/ / pseudo-code illustration of how the implicit this pointer is used

/ / This code is illegal: We may not explicitly define the this pointer ourselves

/ / Note that this is a pointer to const because same_isbn is a const member

bool Sales_item::same_isbn(const Sales item *const this ,const Sales_item &rhs) const

return (this->isbn rhs.isbn);}

 

鐢ㄨ繖縐嶆柟寮忎嬌鐢?span lang=EN-US>const 鐨勫嚱鏁扮О涓哄父閲忔垚鍛樺嚱鏁?span lang=EN-US>(const member function) 銆傜敱浜?span lang=EN-US>this 鏄寚鍚?span lang=EN-US>const 瀵硅薄鐨勬寚閽堬紝const 鎴愬憳鍑芥暟涓嶈兘淇敼璋冪敤璇ュ嚱鏁扮殑瀵硅薄銆傚洜姝わ紝鍑芥暟avg-price

鍜屽嚱鏁?span lang=EN-US>sarne isbn 鍙兘璇誨彇鑰屼笉鑳戒慨鏀硅皟鐢ㄥ畠浠殑瀵硅薄鐨勬暟鎹垚鍛樸?span lang=EN-US>

NOTE錛?span lang=EN-US>

const瀵硅薄鎸囧悜const鐨勬寚閽堟垨寮曠敤鍙兘鐢ㄤ簬璋冪敤鍏?span lang=EN-US>const鎴愬憳鍑芥暟濡傛灉灝濊瘯鐢ㄥ畠浠潵璋冪敤闈?span lang=EN-US>const 鎴愬憳鍑芥暟錛屽垯鏄敊璇殑銆?span lang=EN-US>

 

榪斿洖甯擱噺寮曠敤:

 

鍦ㄧ湅涓涓緥瀛愶細

 1mycls const& returntest()//瀹氫箟榪斿洖鍊間負涓涓父閲忓紩鐢?/span>
 2{
 3       mycls my1(3);
 4       cout<<"a in the func is"<<&my1<<endl;
 5       return my1;
 6}

 7int _tmain(int argc, _TCHAR* argv[])
 8{
 9       //嫻嬭瘯榪斿洖寮曠敤綾誨瀷
10       mycls const&str = returntest();//浣跨敤cont&鎺ュ彈榪斿洖鍊?br>11       //str.m_q=12;//緙栬瘧鎶ラ敊錛屼笉鍙互淇敼const綾誨瀷
12       mycls &str1=const_cast<mycls&>(str);//鍘繪帀const灞炴э紝浠ヤ究淇敼
13       str1.m_q=12;
14       cout<<"&b="<<&str<<endl;
15       cout<<"&b="<<&str1<<endl;
16       system("pause");
17   return 0
18}

浠ヤ笂mycls鏄垜鑷繁瀹氫箟鐨勪竴涓被錛屽0鏄庡涓?br>

 1class mycls
 2{
 3    public:
 4        mycls(int a);
 5        char a[100000];
 6        //~mycls(void);
 7        int m_q;
 8    template <class T> inline int compare(const T &a,const T &b)
 9    {
10        if(a == b)
11            return 0;
12        else if(a > b)
13            return 1;
14        else if(a<b)
15            return -1;
16        return 0;
17    }

18    mycls& operator+(mycls a);
19    virtual int dosomething(int a);
20    virtual void doanotherthing(void);
21}
;
22
閫氳繃浠g爜娉ㄩ噴錛屾垜鎯寵繖涓嶉毦鐞嗚В錛岀敤涓涓紩鐢ㄧ被鍨嬬殑榪斿洖鍊兼渶澶уソ澶勫氨鏄彲浠ラ伩鍏嶅唴瀛樻嫹璐濓紝娉ㄦ剰鍒版垜鐨勭被涓湁涓涓暱搴︿負100000鐨刢har鏁扮粍錛屾垜鎯抽綣佹嫹璐濊繖涓暟緇勫浜庝竴涓嬫ц兘杈冧綆鐨勬満鍣ㄨ繕鏄緢鑰楁椂鐨勶紝榪欐椂鎴戜滑榪斿洖const &綾誨瀷錛岄伩鍏嶄簡鏂囦歡鐨勬嫹璐濓紝浠庤緭鍑轟篃鍙互鐪嬪埌錛宺eturntest鍑芥暟鍐呯殑瀵硅薄鍦板潃涓巑ain鍑芥暟鍐呮墍榪斿洖鐨勫紩鐢ㄥ璞″湴鍧瀹屽叏涓鑷淬?/span>


 



pear_li 2008-12-04 17:08 鍙戣〃璇勮
]]>
STL鍐欑殑瀛楃鏇挎崲紼嬪簭http://www.shnenglu.com/dawnbreak/archive/2008/12/03/68478.htmlpear_lipear_liWed, 03 Dec 2008 09:27:00 GMThttp://www.shnenglu.com/dawnbreak/archive/2008/12/03/68478.htmlhttp://www.shnenglu.com/dawnbreak/comments/68478.htmlhttp://www.shnenglu.com/dawnbreak/archive/2008/12/03/68478.html#Feedback0http://www.shnenglu.com/dawnbreak/comments/commentRss/68478.htmlhttp://www.shnenglu.com/dawnbreak/services/trackbacks/68478.html
 1#include <map>
 2#include <iostream>
 3#include <sstream>
 4#include <fstream>
 5#include <string>
 6#include <stdexcept>
 7using namespace std;
 8int
 9main(int args,char* argv[])
10{
11    try
12    {
13    if(args<3)
14        throw runtime_error("緙哄皯鍙傛暟錛岃杈撳叆銆傘傘?/span>");
15    ifstream fin;
16    fin.open(argv[1]);
17    if(!fin) //媯鏌ユ枃浠舵槸鍚﹁姝g‘鎵撳紑
18        throw runtime_error("map file not found");
19    string keystr,mapstr;
20    map<string,string> mappedctner;
21    while(fin>>keystr>>mapstr)
22    {
23        mappedctner[keystr]=mapstr;//閲囩敤涓嬫爣寮曠敤鐨勬柟娉曟彃鍏ュ厓绱?br>24    }

25    for(int cnt(2);cnt!=args;cnt++)
26    {
27        fin.close();
28        fin.clear();
29        fin.open(argv[cnt]);
30        stringstream sstr;
31        sstr<<"target file "<<cnt-1<<" not found"<<endl;//鏍煎紡鍖栧瓧涓?br>32        if(!fin)
33            throw runtime_error(sstr.str());//str()鎴愬憳瀛樺偍杈撳叆鐨勬枃鏈璞?br>34        map<string,string>::iterator itr;
35        while(fin>>keystr)
36        {
37            if((itr=mappedctner.find(keystr))!=mappedctner.end())
38                keystr=itr->second;//鎵懼埌鐩稿叧瀛椾覆錛屽埄鐢ㄨ凱浠e櫒寮曠敤second鐨刴appedvalue綾誨瀷鏇挎崲
39            cout<<keystr<<" ";
40        }

41        cout<<endl;
42    }

43    }

44    catch(runtime_error e)
45    {
46        cout<<e.what()<<endl;
47    }

48    catch(ios_base::failure e)
49    {
50        cout<<e.what()<<endl;        
51    }

52    return 0;
53}

54



pear_li 2008-12-03 17:27 鍙戣〃璇勮
]]>
国产精品gz久久久| 久久精品水蜜桃av综合天堂| 精品久久久久久无码人妻热| 久久99精品久久久久久齐齐| 欧美性猛交xxxx免费看久久久| 少妇被又大又粗又爽毛片久久黑人 | 中文字幕一区二区三区久久网站| 国内精品久久久久久久coent| 久久无码国产| 久久r热这里有精品视频| 久久无码专区国产精品发布 | 国产精品久久国产精麻豆99网站| 久久久无码精品午夜| 久久久午夜精品福利内容| 大伊人青草狠狠久久| 热99RE久久精品这里都是精品免费| 国产亚洲精品美女久久久| 香蕉久久AⅤ一区二区三区| 91久久香蕉国产熟女线看| 婷婷五月深深久久精品| 欧美激情精品久久久久久久九九九 | 久久福利片| 久久精品国产黑森林| 久久免费精品视频| 国产亚洲美女精品久久久2020| 久久精品国产精品亜洲毛片| 久久亚洲中文字幕精品有坂深雪| 麻豆久久| 久久人妻AV中文字幕| 久久精品国产亚洲av麻豆蜜芽| 久久久久99这里有精品10| 久久精品三级视频| 91久久精品电影| 国产精品女同一区二区久久| 91精品国产91久久| 国产精品免费久久| 伊人热热久久原色播放www| 一级A毛片免费观看久久精品| 久久精品中文字幕大胸| 色播久久人人爽人人爽人人片AV| 精品无码久久久久国产动漫3d|