锘??xml version="1.0" encoding="utf-8" standalone="yes"?>老司机午夜网站国内精品久久久久久久久 ,久久婷婷人人澡人人,久久久精品午夜免费不卡http://m.shnenglu.com/zhaoyg/archive/2009/05/08/82232.htmlzhaoygzhaoygFri, 08 May 2009 07:13:00 GMThttp://m.shnenglu.com/zhaoyg/archive/2009/05/08/82232.htmlhttp://m.shnenglu.com/zhaoyg/comments/82232.htmlhttp://m.shnenglu.com/zhaoyg/archive/2009/05/08/82232.html#Feedback0http://m.shnenglu.com/zhaoyg/comments/commentRss/82232.htmlhttp://m.shnenglu.com/zhaoyg/services/trackbacks/82232.htmlSRC錛?a title="my_vector - SRC" href="http://m.shnenglu.com/Files/zhaoyg/my_vector-SRC.rar">my_vector - SRC

鍦ㄥ啓榪欐浠g爜鐨勮繃紼嬩腑錛岄亣瑙佷簡“鏌愪簺鍑芥暟濡備綍瀹炵幇”榪欐牱鐨勯棶棰橈紝浜庢槸灝卞弬鑰?lt;STL 婧愮爜鍓栨瀽>錛岃瀹炶瘽榪欐湰涔﹁櫧鐒跺湪紜洏閲屽瓨鍦ㄤ簡濂戒箙錛屼絾鐩村埌姝ゆ椂鎵嶇敤涓娿傚叾瀹炲湪鍙傝冪殑鏃跺欎篃鐘硅鮑浜嗭紝鍒板簳鏄簲璇ュ畬鍏ㄦ寜鐓ц嚜宸辯殑鎬濊礬鍐欙紝榪樻槸鍊熼壌涔︿笂鎴栦粬浜虹殑鐜版湁浠g爜鍐欙紝榪欑鎯蟲硶鑷翠嬌鎴戝綋鏃惰繕鎯抽『甯︾潃榪瀉llocator綾諱篃涓鍐欙紝浣嗘渶鍚庣殑緇撴灉鏄熼壌騫朵笖鏀懼純鍐檃llocator錛岀悊鐢辨槸“涓姝ユ鏉?#8221;銆?/span>

鍐欏畬榪欎簺浠g爜鍚庯紝鎴戝垵姝ュ緱鍑鴻繖鏍風殑緇撹錛氭ā鏉垮緢楹葷儲錛岃凱浠e櫒寰堥夯鐑︺傛ā鏉垮彧鑳界湅鏈夊叧妯℃澘鐨勪功浜嗭紝鑰屽浜庤凱浠e櫒錛屾垜璧峰垵鐨勬兂娉曟槸鑳藉皢鑷繁鍐欑殑瀹瑰櫒鍏煎STL錛屼絾鐜板湪鐪嬫潵榪欏緢鏄竴涓ぉ鐪熺殑鎯蟲硶錛屽洜涓烘垜鍚庢潵浠庤鍧涘緱鐭ワ紝STL涓殑鍚勪釜妯℃澘闂撮兘鏄湁綾誨瀷渚濊禆鐨勶紝渚嬪浠g爜錛?br>int a[]={3,4,6,3,87,654,3,9,8,1,9,10,51};
my_vector<int> test(a,a+13)錛?br>
sort( test.begin() ,  test.end() );  //  OK!
sort( test.rbegin() ,  test.rend() );   //  緙栬瘧閿欒錛屾彁紺?"“iterator_category”: 涓嶆槸“my_space::_R_Iterator<Iter_type>”鐨勬垚鍛?

P.S. : my_space::_R_Iterator<Iter_type>鏄垜鑷畾涔夌殑閫嗗簭榪唬鍣ㄧ被

榪欏氨鎰忓懗鐫錛屾兂鍐欏嚭鍏煎STL鐨勪笢瑗匡紝灝卞繀欏誨厛浜嗚ВSTL鐨勫唴閮ㄣ備簬鏄箮my_vector灝卞彧鑳借嚜濞辮嚜涔愪簡錛岄櫎闈炴垜鎶婃暣涓猄TL閮芥ā浠垮嚭鏉ユ垨鑰呮兂鍔炴硶寮曞叆STL涓殑榪唬鍣ㄣ?/font>


P.S. : my_vector綾諱腑鐨勬垚鍛樿繕鏈変笉灝戠殑闂灝氭湭琚彂鐜?/font>

zhaoyg 2009-05-08 15:13 鍙戣〃璇勮
]]>
澶辮觸鐨勪唬鐮?涔?綆鏄撲唬鐮佺緝鎺?/title><link>http://m.shnenglu.com/zhaoyg/archive/2009/05/07/82155.html</link><dc:creator>zhaoyg</dc:creator><author>zhaoyg</author><pubDate>Thu, 07 May 2009 06:53:00 GMT</pubDate><guid>http://m.shnenglu.com/zhaoyg/archive/2009/05/07/82155.html</guid><wfw:comment>http://m.shnenglu.com/zhaoyg/comments/82155.html</wfw:comment><comments>http://m.shnenglu.com/zhaoyg/archive/2009/05/07/82155.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://m.shnenglu.com/zhaoyg/comments/commentRss/82155.html</wfw:commentRss><trackback:ping>http://m.shnenglu.com/zhaoyg/services/trackbacks/82155.html</trackback:ping><description><![CDATA[<p style="FONT-SIZE: 10pt">榪欎釜鏄垜浠ュ墠鍐欑殑涓孌典唬鐮侊紝褰撴椂鏄彧鏄璁哄潧涓婃湁浜轟笂浼犱簡涓粬鑷繁鍐欑殑浠g爜緙╂帓灝忕▼搴忎箣鍚庤嚜宸變篃鎯寵瘯璇曪紝浜庢槸鍐欎箣銆?br>婧愮爜瑙侀檮浠訛細<a title=Sourceformat_src href="http://m.shnenglu.com/Files/zhaoyg/Sourceformat_src.rar">Sourceformat_src</a><br><br>璧峰垵鏄鐫鏋佸ぇ鐨勭儹鎯咃紝浣嗘渶鍚庣儹鎯呰浜嬪疄鏃犳儏鐨勬潅紕庛傝繖涓笢瑗垮お闅懼啓浜嗭紝澶鏉備簡錛屾渶鍚庡媺寮哄啓鍑轟竴涓洀褰㈠悗涓嶅緱涓嶆斁寮冦?br>鑰岃繖涓洀褰篃灝辨槸鍙兘鍕夊己鐨勫皢榪欐牱鐨勪唬鐮侊細</p> <div style="BORDER-RIGHT: #cccccc 1px solid; PADDING-RIGHT: 5px; BORDER-TOP: #cccccc 1px solid; PADDING-LEFT: 4px; FONT-SIZE: 13px; PADDING-BOTTOM: 4px; BORDER-LEFT: #cccccc 1px solid; WIDTH: 98%; WORD-BREAK: break-all; PADDING-TOP: 4px; BORDER-BOTTOM: #cccccc 1px solid; BACKGROUND-COLOR: #eeeeee"><span style="COLOR: #000000">    # include         </span><span style="COLOR: #000000"><</span><span style="COLOR: #000000">   stdio.h    </span><span style="COLOR: #000000">></span><span style="COLOR: #000000"><br>             <br>            </span><span style="COLOR: #0000ff">int</span><span style="COLOR: #000000">      main(){ <br>     </span><span style="COLOR: #0000ff">int</span><span style="COLOR: #000000"> a</span><span style="COLOR: #000000">=</span><span style="COLOR: #000000">0</span><span style="COLOR: #000000">;<br>     </span><span style="COLOR: #0000ff">if</span><span style="COLOR: #000000">(a</span><span style="COLOR: #000000">==</span><span style="COLOR: #000000">0</span><span style="COLOR: #000000">){<br>             printf(</span><span style="COLOR: #000000">"</span><span style="COLOR: #000000">%d\n adfa sdfe e\\</span><span style="COLOR: #000000">"</span><span style="COLOR: #000000">,a);<br></span><span style="COLOR: #0000ff">for</span><span style="COLOR: #000000"> (</span><span style="COLOR: #0000ff">int</span><span style="COLOR: #000000"> i</span><span style="COLOR: #000000">=</span><span style="COLOR: #000000">0</span><span style="COLOR: #000000">;                       i</span><span style="COLOR: #000000"><=</span><span style="COLOR: #000000">10</span><span style="COLOR: #000000">;i</span><span style="COLOR: #000000">++</span><span style="COLOR: #000000">){i</span><span style="COLOR: #000000">++</span><span style="COLOR: #000000">;</span><span style="COLOR: #0000ff">if</span><span style="COLOR: #000000"> ()dkf;df;} }<br>     printf(</span><span style="COLOR: #000000">"</span><span style="COLOR: #000000">this is test file\n </span><span style="COLOR: #000000">"</span><span style="COLOR: #000000">);  <br></span><span style="COLOR: #008000">//</span><span style="COLOR: #008000">sdfadsfas asdf</span><span style="COLOR: #008000"><br></span><span style="COLOR: #000000">jdh</span><span style="COLOR: #000000"><<=</span><span style="COLOR: #000000">78</span><span style="COLOR: #000000">;<br>      <br>     </span><span style="COLOR: #008000">/*</span><span style="COLOR: #008000">t e s t ***</span><span style="COLOR: #008000">*/</span><span style="COLOR: #000000"><br>     getchar();</span><span style="COLOR: #0000ff">return</span><span style="COLOR: #000000"> </span><span style="COLOR: #000000">0</span><span style="COLOR: #000000">;<br>}</span></div> <span style="FONT-SIZE: 10pt">緙╂帓鎴愶細</span><br> <div style="BORDER-RIGHT: #cccccc 1px solid; PADDING-RIGHT: 5px; BORDER-TOP: #cccccc 1px solid; PADDING-LEFT: 4px; FONT-SIZE: 13px; PADDING-BOTTOM: 4px; BORDER-LEFT: #cccccc 1px solid; WIDTH: 98%; WORD-BREAK: break-all; PADDING-TOP: 4px; BORDER-BOTTOM: #cccccc 1px solid; BACKGROUND-COLOR: #eeeeee"><span style="COLOR: #000000">#include </span><span style="COLOR: #000000"><</span><span style="COLOR: #000000">stdio.h</span><span style="COLOR: #000000">></span><span style="COLOR: #000000"><br><br></span><span style="COLOR: #0000ff">int</span><span style="COLOR: #000000"> main ( )<br>{<br>    <br>    </span><span style="COLOR: #0000ff">int</span><span style="COLOR: #000000"> a </span><span style="COLOR: #000000">=</span><span style="COLOR: #000000"> </span><span style="COLOR: #000000">0</span><span style="COLOR: #000000"> ;    <br>    </span><span style="COLOR: #0000ff">if</span><span style="COLOR: #000000"> ( a </span><span style="COLOR: #000000">==</span><span style="COLOR: #000000"> </span><span style="COLOR: #000000">0</span><span style="COLOR: #000000"> )<br>    {<br>        printf (</span><span style="COLOR: #000000">"</span><span style="COLOR: #000000">%d\n adfa sdfe e\\</span><span style="COLOR: #000000">"</span><span style="COLOR: #000000"> , a ) ;<br>                <br>        </span><span style="COLOR: #0000ff">for</span><span style="COLOR: #000000"> ( </span><span style="COLOR: #0000ff">int</span><span style="COLOR: #000000"> i </span><span style="COLOR: #000000">=</span><span style="COLOR: #000000"> </span><span style="COLOR: #000000">0</span><span style="COLOR: #000000"> ; i </span><span style="COLOR: #000000"><=</span><span style="COLOR: #000000"> </span><span style="COLOR: #000000">10</span><span style="COLOR: #000000"> ; i </span><span style="COLOR: #000000">++</span><span style="COLOR: #000000"> )<br>        {<br>            i </span><span style="COLOR: #000000">++</span><span style="COLOR: #000000"> ;<br>            </span><span style="COLOR: #0000ff">if</span><span style="COLOR: #000000"> ( )<br>                dkf ;<br>            df ;            <br>        }<br>    }<br>    printf (</span><span style="COLOR: #000000">"</span><span style="COLOR: #000000">this is test file\n </span><span style="COLOR: #000000">"</span><span style="COLOR: #000000"> ) ;    <br>    </span><span style="COLOR: #008000">//</span><span style="COLOR: #008000">sdfadsfas asdf</span><span style="COLOR: #008000"><br></span><span style="COLOR: #000000">    jdh </span><span style="COLOR: #000000"><<=</span><span style="COLOR: #000000"> </span><span style="COLOR: #000000">78</span><span style="COLOR: #000000"> ;    <br>    <br>    </span><span style="COLOR: #008000">/*</span><span style="COLOR: #008000">t e s t ***</span><span style="COLOR: #008000">*/</span><span style="COLOR: #000000"><br>    getchar ( ) ;<br>    </span><span style="COLOR: #0000ff">return</span><span style="COLOR: #000000"> </span><span style="COLOR: #000000">0</span><span style="COLOR: #000000"> ;    <br>    }</span></div> <br><span style="FONT-SIZE: 10pt">鍥犱負鏄釜闆忓艦錛屼簬鏄棶棰樹篃鏄緢鏄庢樉鐨勶紝渚嬪鏈鍚庝竴涓彸鑺辨嫭鍙鋒槸涓嶅簲褰撶緝榪涚殑銆?br>鐢變簬褰撴椂鎬濊礬寰堜貢錛屼簬鏄唬鐮佸緢涔憋紝鍦ㄤ簬鏄幇鍦ㄧ殑鎴戝凡緇忓畬鍏ㄧ湅涓嶆噦鎴戠殑浠g爜浜嗐?/span> <img src ="http://m.shnenglu.com/zhaoyg/aggbug/82155.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://m.shnenglu.com/zhaoyg/" target="_blank">zhaoyg</a> 2009-05-07 14:53 <a href="http://m.shnenglu.com/zhaoyg/archive/2009/05/07/82155.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.midea-com.cn" target="_blank">久久精品人人槡人妻人人玩AV </a>| <a href="http://www.guhm.cn" target="_blank">久久国产免费观看精品3</a>| <a href="http://www.grzzc358.cn" target="_blank">少妇人妻综合久久中文字幕</a>| <a href="http://www.keyuehua.cn" target="_blank">久久无码一区二区三区少妇</a>| <a href="http://www.hgflt.cn" target="_blank">亚洲欧美成人久久综合中文网</a>| <a href="http://www.whbgjj1.cn" target="_blank">av色综合久久天堂av色综合在</a>| <a href="http://www.ohdou.cn" target="_blank">av无码久久久久不卡免费网站</a>| <a href="http://www.dfpt.net.cn" target="_blank">国产—久久香蕉国产线看观看</a>| <a href="http://www.sifaguojinb.cn" target="_blank">久久精品这里只有精99品</a>| <a href="http://www.sypt59.cn" target="_blank">亚洲午夜久久久久久噜噜噜</a>| <a href="http://www.f938.cn" target="_blank">国产ww久久久久久久久久</a>| <a href="http://www.qnzj.org.cn" target="_blank">欧美久久久久久</a>| <a href="http://www.qlong.net.cn" target="_blank">久久国产一片免费观看</a>| <a href="http://www.bqtao.cn" target="_blank">国产精品无码久久久久久</a>| <a href="http://www.csjhc.cn" target="_blank">看全色黄大色大片免费久久久 </a>| <a href="http://www.zhangjiaying.cn" target="_blank">国产精品嫩草影院久久</a>| <a href="http://www.shiyoulhg.cn" target="_blank">国内高清久久久久久</a>| <a href="http://www.yookou.cn" target="_blank">成人a毛片久久免费播放</a>| <a href="http://www.cjubbs.cn" target="_blank">久久久久国产精品熟女影院 </a>| <a href="http://www.bttzc.cn" target="_blank">精品久久久久久无码免费</a>| <a href="http://www.ekqz.cn" target="_blank">www久久久天天com</a>| <a href="http://www.hxstone.com.cn" target="_blank">久久久国产99久久国产一</a>| <a href="http://www.2cafe.cn" target="_blank">国产一区二区三精品久久久无广告</a>| <a href="http://www.ahyjj.cn" target="_blank">国产亚洲美女精品久久久2020</a>| <a href="http://www.reepee.cn" target="_blank">久久综合狠狠综合久久97色</a>| <a href="http://www.handyx.cn" target="_blank">国产精品福利一区二区久久</a>| <a href="http://www.cizbuk.cn" target="_blank">77777亚洲午夜久久多喷</a>| <a href="http://www.pochai.cn" target="_blank">久久亚洲天堂</a>| <a href="http://www.jumbo8.cn" target="_blank">青青草国产97免久久费观看</a>| <a href="http://www.51d1.cn" target="_blank">国产日韩久久久精品影院首页</a>| <a href="http://www.kimhi.cn" target="_blank">精品久久人妻av中文字幕</a>| <a href="http://www.zixunlawyer.com.cn" target="_blank">亚洲色大成网站WWW久久九九</a>| <a href="http://www.woman365.cn" target="_blank">久久综合狠狠综合久久97色</a>| <a href="http://www.shecb2b.com.cn" target="_blank">九九热久久免费视频</a>| <a href="http://www.kengsai.cn" target="_blank">国产亚州精品女人久久久久久 </a>| <a href="http://www.xixirt.cn" target="_blank">曰曰摸天天摸人人看久久久</a>| <a href="http://www.fnmqw.cn" target="_blank">国产精品久久永久免费</a>| <a href="http://www.r10211.cn" target="_blank">www.久久热.com</a>| <a href="http://www.enepower.cn" target="_blank">国产成人AV综合久久</a>| <a href="http://www.xwiw.cn" target="_blank">精品久久人人妻人人做精品</a>| <a href="http://www.5678121.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>