锘??xml version="1.0" encoding="utf-8" standalone="yes"?>91久久久亚洲精品,国产精品卡一卡二,在线日韩电影http://www.shnenglu.com/zhaoyg/archive/2009/05/08/82232.htmlzhaoygzhaoygFri, 08 May 2009 07:13:00 GMThttp://www.shnenglu.com/zhaoyg/archive/2009/05/08/82232.htmlhttp://www.shnenglu.com/zhaoyg/comments/82232.htmlhttp://www.shnenglu.com/zhaoyg/archive/2009/05/08/82232.html#Feedback0http://www.shnenglu.com/zhaoyg/comments/commentRss/82232.htmlhttp://www.shnenglu.com/zhaoyg/services/trackbacks/82232.htmlSRC錛?a title="my_vector - SRC" href="http://www.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://www.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://www.shnenglu.com/zhaoyg/archive/2009/05/07/82155.html</guid><wfw:comment>http://www.shnenglu.com/zhaoyg/comments/82155.html</wfw:comment><comments>http://www.shnenglu.com/zhaoyg/archive/2009/05/07/82155.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.shnenglu.com/zhaoyg/comments/commentRss/82155.html</wfw:commentRss><trackback:ping>http://www.shnenglu.com/zhaoyg/services/trackbacks/82155.html</trackback:ping><description><![CDATA[<p style="FONT-SIZE: 10pt">榪欎釜鏄垜浠ュ墠鍐欑殑涓孌典唬鐮侊紝褰撴椂鏄彧鏄璁哄潧涓婃湁浜轟笂浼犱簡涓粬鑷繁鍐欑殑浠g爜緙╂帓灝忕▼搴忎箣鍚庤嚜宸變篃鎯寵瘯璇曪紝浜庢槸鍐欎箣銆?br>婧愮爜瑙侀檮浠訛細<a title=Sourceformat_src href="http://www.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://www.shnenglu.com/zhaoyg/aggbug/82155.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.shnenglu.com/zhaoyg/" target="_blank">zhaoyg</a> 2009-05-07 14:53 <a href="http://www.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://www.shnenglu.com/" title="精品视频久久久久">精品视频久久久久</a> <div class="friend-links"> </div> </div> </footer> <a href="http://www.bvvnm.com.cn" target="_blank">yellow中文字幕久久网</a>| <a href="http://www.zjyffm.cn" target="_blank">无码人妻精品一区二区三区久久久</a>| <a href="http://www.musqm.cn" target="_blank">久久天天躁狠狠躁夜夜网站</a>| <a href="http://www.viples.cn" target="_blank">国产精品久久久久天天影视</a>| <a href="http://www.jxjkyt.cn" target="_blank">国产精品青草久久久久福利99</a>| <a href="http://www.ddmir.cn" target="_blank">少妇熟女久久综合网色欲</a>| <a href="http://www.sang423.cn" target="_blank">精品永久久福利一区二区 </a>| <a href="http://www.acolor.com.cn" target="_blank">国产高清美女一级a毛片久久w</a>| <a href="http://www.ewoman.com.cn" target="_blank">久久久久久狠狠丁香</a>| <a href="http://www.qtvc.cn" target="_blank">久久久久久久精品妇女99 </a>| <a href="http://www.wxjdsteel.cn" target="_blank">久久免费大片</a>| <a href="http://www.hlccbxw.cn" target="_blank">国产V亚洲V天堂无码久久久</a>| <a href="http://www.woai858.cn" target="_blank">欧美久久亚洲精品</a>| <a href="http://www.electricbed.cn" target="_blank">99久久国产热无码精品免费</a>| <a href="http://www.ersunle.cn" target="_blank">日日狠狠久久偷偷色综合0</a>| <a href="http://www.songshuidaojia.cn" target="_blank">久久精品国产网红主播</a>| <a href="http://www.ccka.cn" target="_blank">久久久无码精品亚洲日韩蜜臀浪潮</a>| <a href="http://www.pudlv.cn" target="_blank">99久久成人18免费网站</a>| <a href="http://www.knjmj.cn" target="_blank">久久99精品久久只有精品</a>| <a href="http://www.yuyuetiyu.cn" target="_blank">亚洲美日韩Av中文字幕无码久久久妻妇</a>| <a href="http://www.bpdb.com.cn" target="_blank">久久久久久久人妻无码中文字幕爆 </a>| <a href="http://www.lepinw.cn" target="_blank">国产精品一区二区久久精品</a>| <a href="http://www.terris.cn" target="_blank">青青青青久久精品国产h久久精品五福影院1421</a>| <a href="http://www.jlxrc.cn" target="_blank">一本一本久久A久久综合精品 </a>| <a href="http://www.gdzhenya.cn" target="_blank">久久婷婷色综合一区二区</a>| <a href="http://www.snailwr.cn" target="_blank">99999久久久久久亚洲</a>| <a href="http://www.domino111.com.cn" target="_blank">国内精品久久久久影院薰衣草</a>| <a href="http://www.rz2.com.cn" target="_blank">精品久久人人做人人爽综合</a>| <a href="http://www.hyly168.com.cn" target="_blank">69国产成人综合久久精品</a>| <a href="http://www.dr-knoell-consult.com.cn " target="_blank">久久久久se色偷偷亚洲精品av</a>| <a href="http://www.itwinds.cn" target="_blank">无码8090精品久久一区</a>| <a href="http://www.designelite.com.cn" target="_blank">久久久WWW成人免费毛片</a>| <a href="http://www.jinshengsuliao.cn" target="_blank">99久久精品国产综合一区</a>| <a href="http://www.t55n3z.cn" target="_blank">91秦先生久久久久久久</a>| <a href="http://www.drlf.net.cn" target="_blank">A级毛片无码久久精品免费</a>| <a href="http://www.tongshenghu.com.cn" target="_blank">精品久久777</a>| <a href="http://www.panroad.cn" target="_blank">久久精品国产99久久香蕉</a>| <a href="http://www.nxjinniu.com.cn" target="_blank">久久精品亚洲福利</a>| <a href="http://www.jwpicture.cn" target="_blank">色天使久久综合网天天</a>| <a href="http://www.ajchugui.cn" target="_blank">国内精品久久久久影院老司</a>| <a href="http://www.www5303.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>