锘??xml version="1.0" encoding="utf-8" standalone="yes"?>亚洲二区在线视频,国产亚洲精品免费,不卡精品国产_亚洲人成在线 http://m.tkk7.com/stephen80/category/37251.html杞歡鏋舵瀯,saas,鎴樼暐綆$悊zh-cnSun, 28 Mar 2010 07:50:35 GMTSun, 28 Mar 2010 07:50:35 GMT60c++ difference from javahttp://m.tkk7.com/stephen80/archive/2010/02/03/311784.html瑗挎觸娓?/dc:creator>瑗挎觸娓?/author>Wed, 03 Feb 2010 03:43:00 GMThttp://m.tkk7.com/stephen80/archive/2010/02/03/311784.htmlhttp://m.tkk7.com/stephen80/comments/311784.htmlhttp://m.tkk7.com/stephen80/archive/2010/02/03/311784.html#Feedback0http://m.tkk7.com/stephen80/comments/commentRss/311784.htmlhttp://m.tkk7.com/stephen80/services/trackbacks/311784.html 1. take charge of object management , negotiate ownershiop ,use scoped_ptr,
   not to transfer other's ownership
2. use c++ template to express seperation corncern ,such as (static)polymorphy and policy
3. disable copy constructor and assign operator by yourself
4. polymorphy by pointer
5. 浣跨敤 template ,macro 鍙栧緱綾諱技鍔ㄦ佽璦鐨勮兘鍔?br /> 6. 鍋忓ソ鏃犵姸鎬佺殑 鍑芥暟


]]>
study generic programming and stlhttp://m.tkk7.com/stephen80/archive/2010/01/15/309667.html瑗挎觸娓?/dc:creator>瑗挎觸娓?/author>Fri, 15 Jan 2010 04:22:00 GMThttp://m.tkk7.com/stephen80/archive/2010/01/15/309667.htmlhttp://m.tkk7.com/stephen80/comments/309667.htmlhttp://m.tkk7.com/stephen80/archive/2010/01/15/309667.html#Feedback0http://m.tkk7.com/stephen80/comments/commentRss/309667.htmlhttp://m.tkk7.com/stephen80/services/trackbacks/309667.html闃呰鍏ㄦ枃

]]>
current vimrchttp://m.tkk7.com/stephen80/archive/2009/10/29/300152.html瑗挎觸娓?/dc:creator>瑗挎觸娓?/author>Thu, 29 Oct 2009 03:42:00 GMThttp://m.tkk7.com/stephen80/archive/2009/10/29/300152.htmlhttp://m.tkk7.com/stephen80/comments/300152.htmlhttp://m.tkk7.com/stephen80/archive/2009/10/29/300152.html#Feedback0http://m.tkk7.com/stephen80/comments/commentRss/300152.htmlhttp://m.tkk7.com/stephen80/services/trackbacks/300152.html set autoindent
set smartindent
set ignorecase
syntax enable
set wrap
set showmatch
set foldmarker={{{,}}}
set tabstop=4
set shiftwidth=4
set ruler
set expandtab
set backspace=eol,start,indent
set whichwrap+=<,>,h,l
set nobackup
setlocal noswapfile
set bufhidden=hide
syntax on
set tags=./tags,~/apsara/tags
set path+=/usr/include/c++/**,~/apsara/include/**
filetype plugin on
filetype indent on
autocmd filetype java,c,cpp setlocal textwidth=100
set pastetoggle=<F7>

nmap <F2>  :set nonumber!<CR>
nmap <F8>  :TlistToggle<CR>
imap <F11> <C-x><C-p>
map <F12>  :!ctags -R --c++-kinds=+p --fields=+iaS --exclude=build --extra=+q .<CR>
map <F6> :w<CR>
imap <F6> <ESC>:w<CR>a
map <F3> /<C-R><C-W><CR>

鏈?c support 鏀寔錛屽緢媯掋?br />


]]>
c++ 鎸囬拡 ,shared_ptrhttp://m.tkk7.com/stephen80/archive/2009/10/27/299960.html瑗挎觸娓?/dc:creator>瑗挎觸娓?/author>Tue, 27 Oct 2009 10:54:00 GMThttp://m.tkk7.com/stephen80/archive/2009/10/27/299960.htmlhttp://m.tkk7.com/stephen80/comments/299960.htmlhttp://m.tkk7.com/stephen80/archive/2009/10/27/299960.html#Feedback0http://m.tkk7.com/stephen80/comments/commentRss/299960.htmlhttp://m.tkk7.com/stephen80/services/trackbacks/299960.html

  • 閬垮厤瀵箂hared_ptr鎵綆$悊鐨勫璞$殑鐩存帴鍐呭瓨綆$悊鎿嶄綔錛屼互鍏嶉犳垚璇ュ璞$殑閲嶉噴鏀?br /> shared_ptr騫朵笉鑳藉寰幆寮曠敤鐨勫璞″唴瀛樿嚜鍔ㄧ鐞嗭紙榪欑偣鏄叾瀹冨悇縐嶅紩鐢ㄨ鏁扮鐞嗗唴瀛樻柟寮忕殑閫氱梾錛夈?

  • 涓嶈鏋勯犱竴涓復(fù)鏃剁殑shared_ptr浣滀負(fù)鍑芥暟鐨勫弬鏁般?br /> 濡備笅鍒椾唬鐮佸垯鍙兘瀵艱嚧鍐呭瓨娉勬紡錛?br /> void test()
    {
        foo(boost::shared_ptr<implementation>(new    implementation()),g());
    }
    姝g‘鐨勭敤娉?/span>涓?span style="font-size: 10pt;">錛?span style="font-family: Courier Std;">
    void test()
    {
        boost::shared_ptr<implementation> sp    (new implementation());
        foo(sp,g());
    }
  • Employee boss("Morris, Melinda", 83000);

    Employee* s = &boss;

    This is usually not a good idea. As a rule of thumb, C++ pointers should only refer to objects allocated wth new.


  • copy:http://www.diybl.com/course/3_program/c++/cppjs/20090403/163770.html

    ]]>
    c++ 鐨刲inkage http://m.tkk7.com/stephen80/archive/2009/10/27/299895.html瑗挎觸娓?/dc:creator>瑗挎觸娓?/author>Tue, 27 Oct 2009 03:13:00 GMThttp://m.tkk7.com/stephen80/archive/2009/10/27/299895.htmlhttp://m.tkk7.com/stephen80/comments/299895.htmlhttp://m.tkk7.com/stephen80/archive/2009/10/27/299895.html#Feedback0http://m.tkk7.com/stephen80/comments/commentRss/299895.htmlhttp://m.tkk7.com/stephen80/services/trackbacks/299895.html 鍏跺疄娌℃湁.h涔熻兘寰堝ソ鐨勫伐浣?浣嗘槸褰撲綘鍙戠幇涓涓閮ㄩ摼鎺ョ殑鍑芥暟鎴栧閮ㄥ彉閲?闇瑕佽澶氫喚

    澹版槑,鍥犱負(fù)c++榪欑璇█,鍦ㄤ嬌鐢ㄥ嚱鏁板拰鍙橀噺鐨勬椂鍊?蹇呴』灝嗕粬澹版槑,涓轟綍瑕佸0鏄?澹版槑涔嬪悗鎵?/font>

    鐭ラ亾浠栫殑瑙勬牸,鎵嶈兘鏇村ソ鐨勫彂鐜頒笉鍜岃鏍肩殑閮ㄥ垎.浣犲埆濡勬兂涓涓紪璇戝崟鍏?浼?xì)鑷姩浠庡彟涓涓?/font>

    緙栬瘧鍗曞厓閭i噷寰楀埌浠涔堜俊鎭?鐭ラ亾浣犳槸濡備綍瀹氫箟榪欎釜鍑芥暟鐨?

        鎵浠ヨ,鍙浣跨敤鍒拌鍑芥暟鐨勫崟鍏?灝卞繀欏誨啓涓浠藉0鏄庡湪閭d釜.cpp閲岄潰,榪欐牱鏄笉鏄緢楹葷儲(chǔ),

    鑰屼笖,濡傛灉瑕佷慨鏀?灝卞繀欏諱竴涓竴涓慨鏀?榪欑湡璁╀漢鍙椾笉浜?


    .h灝辨槸涓轟簡(jiǎn)瑙e喅榪欎釜闂鑰岃癁鐢?浠栧寘鍚簡(jiǎn)榪欎簺鍏叡鐨勪笢瑗?鐒跺悗鎵鏈夐渶瑕佷嬌鐢ㄨ鍑芥暟鐨?cpp,鍙渶瑕?/font>

    鐢?include鍖呭惈榪涘幓渚垮彲.浠ュ悗闇瑕佷慨鏀?涔熷彧鏄慨鏀逛竴浠藉唴瀹?


    璇鋒敞鎰忎笉瑕佹互鐢?h,.h閲岄潰涓嶈鍐欎唬鐮?.h涓嶆槸.cpp鐨勪粨搴?浠涔堥兘濉炲埌閲岄潰.

    濡傛灉鍦ㄩ噷闈㈠啓浠g爜,褰撳叾浠?cpp鍖呭惈浠栫殑鏃跺?灝變細(xì)鍑虹幇閲嶅瀹氫箟鐨勬儏鍐?

    姣斿灝嗗嚱鏁癴unc(){printf}錛涙斁鍒板ご鏂囦歡a.h,閲岄潰榪樻湁涓浜沘.cpp闇瑕佺殑澹版槑絳夛紱

    鐒跺悗浣犲彂鐜癰.cpp闇瑕佺敤鍒癮.cpp閲岄潰鐨勪竴涓嚱鏁?灝卞緢楂樺叴鐨勫皢a.h鍖呭惈榪涙潵.

    娉ㄦ剰,#include騫朵笉鏄粈涔堢敵璇鋒寚浠?浠栧氨鏄皢鎸囧畾鐨勬枃浠剁殑鍐呭,鍘熷皝涓嶅姩鐨勬嫹璐?/font>

    榪涙潵.


    榪欐椂鍊欏疄闄呬笂a.cpp鍜宐.cpp閮芥湁涓涓猣unc()鍑芥暟鐨勫畾涔?

    濡傛灉榪欎釜鍑芥暟鏄唴閮ㄩ摼鎺tatic鐨勮瘽,榪樺ソ,嫻垂浜?jiǎn)涓鍊嶇┖闂達(dá)紱

    濡傛灉鏄痚xtern,澶栭儴閾炬帴(榪欎釜鏄粯璁ゆ儏鍐?,閭d箞鏍規(guī)嵁鍦ㄥ悓涓涓▼搴忓唴涓嶅彲鍑虹幇

    鍚屽悕鍑芥暟鐨勮姹?榪炴帴鍣ㄤ細(xì)姣笉鐣欐儏緇欎綘涓涓繛鎺ラ敊璇?

    http://www.cnblogs.com/shelvenn/archive/2008/02/02/1062446.html





    ]]>
    linux 瀹夎瀛椾綋http://m.tkk7.com/stephen80/archive/2009/08/14/291185.html瑗挎觸娓?/dc:creator>瑗挎觸娓?/author>Fri, 14 Aug 2009 09:48:00 GMThttp://m.tkk7.com/stephen80/archive/2009/08/14/291185.html mingliu.ttc  simsun.ttf  SURSONG.TTF  tahomabd.ttf  tahoma.ttf  verdanab.ttf  verdanai.ttf  verdana.ttf  verdanaz.ttf

     #mv simsun.ttc /usr/share/fonts/local/simsun.ttf
    #cd /usr/share/fonts/local/
    sudo mkfontscale
    sudo mkfontdir

    sudo fc-cache
    cp fonts.scale fonts.dir
    sudo chmod 755 *
    sudo chkfontpath --add /usr/share/fonts/local/

    #/etc/init.d/xfs restart
    鏌ユ鏄惁瀹夎鎴愬姛

    fc-list |grep Sim

     NSimSun:style=Regular
    SimSun:style=Regular
    SimSun\-PUA:style=Regular






    ]]>
    debian, c++寮鍙戠幆澧冨畨瑁呰繃紼?/title><link>http://m.tkk7.com/stephen80/archive/2009/05/19/271587.html</link><dc:creator>瑗挎觸娓?/dc:creator><author>瑗挎觸娓?/author><pubDate>Tue, 19 May 2009 12:20:00 GMT</pubDate><guid>http://m.tkk7.com/stephen80/archive/2009/05/19/271587.html</guid><wfw:comment>http://m.tkk7.com/stephen80/comments/271587.html</wfw:comment><comments>http://m.tkk7.com/stephen80/archive/2009/05/19/271587.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://m.tkk7.com/stephen80/comments/commentRss/271587.html</wfw:commentRss><trackback:ping>http://m.tkk7.com/stephen80/services/trackbacks/271587.html</trackback:ping><description><![CDATA[     鎽樿:   <a href='http://m.tkk7.com/stephen80/archive/2009/05/19/271587.html'>闃呰鍏ㄦ枃</a><img src ="http://m.tkk7.com/stephen80/aggbug/271587.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://m.tkk7.com/stephen80/" target="_blank">瑗挎觸娓?/a> 2009-05-19 20:20 <a href="http://m.tkk7.com/stephen80/archive/2009/05/19/271587.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.tkk7.com/" title="亚洲av成人片在线观看">亚洲av成人片在线观看</a> <div class="friend-links"> </div> </div> </footer> 主站蜘蛛池模板: <a href="http://html5text.com" target="_blank">男女猛烈激情xx00免费视频</a>| <a href="http://by33321.com" target="_blank">亚洲人成电影在线观看网</a>| <a href="http://ccc998.com" target="_blank">国产亚洲视频在线观看</a>| <a href="http://myzhoubian.com" target="_blank">德国女人一级毛片免费</a>| <a href="http://manghuo365.com" target="_blank">久久亚洲AV成人无码</a>| <a href="http://yuyang0752.com" target="_blank">99免费在线观看视频</a>| <a href="http://xmm5pkt.com" target="_blank">亚洲最大黄色网站</a>| <a href="http://xamxx.com" target="_blank">日韩精品成人无码专区免费</a>| <a href="http://gs168sz.com" target="_blank">久久亚洲精品专区蓝色区</a>| <a href="http://k8h9.com" target="_blank">最近中文字幕mv手机免费高清</a>| <a href="http://bznys.com" target="_blank">亚洲国产精品网站在线播放 </a>| <a href="http://kan63.com" target="_blank">日韩少妇内射免费播放</a>| <a href="http://zdmaid.com" target="_blank">亚洲精品成人久久久</a>| <a href="http://147v.com" target="_blank">www免费插插视频</a>| <a href="http://2121065.com" target="_blank">久久精品夜色国产亚洲av</a>| <a href="http://0149545.com" target="_blank">永久免费视频网站在线观看</a>| <a href="http://0730jxpm.com" target="_blank">亚洲娇小性xxxx</a>| <a href="http://33303339.com" target="_blank">在线观看永久免费视频网站</a>| <a href="http://www52a.com" target="_blank">成人嫩草影院免费观看</a>| <a href="http://941sese.com" target="_blank">亚洲成av人影院</a>| <a href="http://51comcomcom.com" target="_blank">免费成人激情视频</a>| <a href="http://conghui8.com" target="_blank">国产精品亚洲片在线花蝴蝶</a>| <a href="http://kmyake.com" target="_blank">亚洲一区二区三区香蕉</a>| <a href="http://zhnetbar.com" target="_blank">最近2018中文字幕免费视频</a>| <a href="http://abbobo.com" target="_blank">亚洲欧洲精品成人久久曰</a>| <a href="http://wwwk47.com" target="_blank">亚洲成人高清在线</a>| <a href="http://001mc.com" target="_blank">51在线视频免费观看视频</a>| <a href="http://mcjc1.com" target="_blank">亚洲色欲色欲www在线播放</a>| <a href="http://zdmaid.com" target="_blank">国产精品亚洲mnbav网站</a>| <a href="http://pgyadv.com" target="_blank">99视频精品全部免费观看</a>| <a href="http://an930.com" target="_blank">亚洲国产欧美国产综合一区</a>| <a href="http://044242.com" target="_blank">国产亚洲av片在线观看播放</a>| <a href="http://klno1.com" target="_blank">亚洲精品视频在线观看免费</a>| <a href="http://by9277.com" target="_blank">黄页网址在线免费观看</a>| <a href="http://www664660a.com" target="_blank">久久国产精品亚洲综合 </a>| <a href="http://www-8812.com" target="_blank">手机在线看永久av片免费</a>| <a href="http://472849.com" target="_blank">成人亚洲国产精品久久</a>| <a href="http://dodxs.com" target="_blank">亚洲伦理一区二区</a>| <a href="http://777vip8.com" target="_blank">国产一级高清免费观看</a>| <a href="http://ymtphoto.com" target="_blank">十九岁在线观看免费完整版电影</a>| <a href="http://jxgsgg.com" 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>