锘??xml version="1.0" encoding="utf-8" standalone="yes"?>亚洲二区在线视频,国产亚洲精品免费,不卡精品国产_亚洲人成在线 http://www.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://www.tkk7.com/stephen80/archive/2010/02/03/311784.html瑗挎觸娓?/dc:creator>瑗挎觸娓?/author>Wed, 03 Feb 2010 03:43:00 GMThttp://www.tkk7.com/stephen80/archive/2010/02/03/311784.htmlhttp://www.tkk7.com/stephen80/comments/311784.htmlhttp://www.tkk7.com/stephen80/archive/2010/02/03/311784.html#Feedback0http://www.tkk7.com/stephen80/comments/commentRss/311784.htmlhttp://www.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://www.tkk7.com/stephen80/archive/2010/01/15/309667.html瑗挎觸娓?/dc:creator>瑗挎觸娓?/author>Fri, 15 Jan 2010 04:22:00 GMThttp://www.tkk7.com/stephen80/archive/2010/01/15/309667.htmlhttp://www.tkk7.com/stephen80/comments/309667.htmlhttp://www.tkk7.com/stephen80/archive/2010/01/15/309667.html#Feedback0http://www.tkk7.com/stephen80/comments/commentRss/309667.htmlhttp://www.tkk7.com/stephen80/services/trackbacks/309667.html闃呰鍏ㄦ枃

]]>
current vimrchttp://www.tkk7.com/stephen80/archive/2009/10/29/300152.html瑗挎觸娓?/dc:creator>瑗挎觸娓?/author>Thu, 29 Oct 2009 03:42:00 GMThttp://www.tkk7.com/stephen80/archive/2009/10/29/300152.htmlhttp://www.tkk7.com/stephen80/comments/300152.htmlhttp://www.tkk7.com/stephen80/archive/2009/10/29/300152.html#Feedback0http://www.tkk7.com/stephen80/comments/commentRss/300152.htmlhttp://www.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://www.tkk7.com/stephen80/archive/2009/10/27/299960.html瑗挎觸娓?/dc:creator>瑗挎觸娓?/author>Tue, 27 Oct 2009 10:54:00 GMThttp://www.tkk7.com/stephen80/archive/2009/10/27/299960.htmlhttp://www.tkk7.com/stephen80/comments/299960.htmlhttp://www.tkk7.com/stephen80/archive/2009/10/27/299960.html#Feedback0http://www.tkk7.com/stephen80/comments/commentRss/299960.htmlhttp://www.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://www.tkk7.com/stephen80/archive/2009/10/27/299895.html瑗挎觸娓?/dc:creator>瑗挎觸娓?/author>Tue, 27 Oct 2009 03:13:00 GMThttp://www.tkk7.com/stephen80/archive/2009/10/27/299895.htmlhttp://www.tkk7.com/stephen80/comments/299895.htmlhttp://www.tkk7.com/stephen80/archive/2009/10/27/299895.html#Feedback0http://www.tkk7.com/stephen80/comments/commentRss/299895.htmlhttp://www.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://www.tkk7.com/stephen80/archive/2009/08/14/291185.html瑗挎觸娓?/dc:creator>瑗挎觸娓?/author>Fri, 14 Aug 2009 09:48:00 GMThttp://www.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://www.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://www.tkk7.com/stephen80/archive/2009/05/19/271587.html</guid><wfw:comment>http://www.tkk7.com/stephen80/comments/271587.html</wfw:comment><comments>http://www.tkk7.com/stephen80/archive/2009/05/19/271587.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.tkk7.com/stephen80/comments/commentRss/271587.html</wfw:commentRss><trackback:ping>http://www.tkk7.com/stephen80/services/trackbacks/271587.html</trackback:ping><description><![CDATA[     鎽樿:   <a href='http://www.tkk7.com/stephen80/archive/2009/05/19/271587.html'>闃呰鍏ㄦ枃</a><img src ="http://www.tkk7.com/stephen80/aggbug/271587.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.tkk7.com/stephen80/" target="_blank">瑗挎觸娓?/a> 2009-05-19 20:20 <a href="http://www.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://www.tkk7.com/" title="亚洲av成人片在线观看">亚洲av成人片在线观看</a> <div class="friend-links"> </div> </div> </footer> 主站蜘蛛池模板: <a href="http://wwwayx2026.com" target="_blank">国产免费无码AV片在线观看不卡</a>| <a href="http://leeszewan.com" target="_blank">国产成人高清亚洲一区91 </a>| <a href="http://zblinghang.com" target="_blank">亚洲国产成人精品无码区花野真一 </a>| <a href="http://155lh.com" target="_blank">亚洲AV无码成人专区片在线观看 </a>| <a href="http://aidannis.com" target="_blank">国产午夜免费高清久久影院</a>| <a href="http://taiyu18.com" target="_blank">亚洲日本一区二区一本一道</a>| <a href="http://cqshangshu.com" target="_blank">www成人免费观看网站</a>| <a href="http://pjappuiehjdkhsjkssd2.com" target="_blank">免费一级毛片在线观看</a>| <a href="http://sxhengshan.com" target="_blank">免费大片av手机看片高清</a>| <a href="http://xx2015.com" target="_blank">亚洲午夜精品久久久久久浪潮</a>| <a href="http://ncmyw.com" target="_blank">人人爽人人爽人人片A免费</a>| <a href="http://lkzrgy.com" target="_blank">亚洲精品岛国片在线观看</a>| <a href="http://av-fantasy.com" target="_blank">国产精品免费久久</a>| <a href="http://kekead.com" target="_blank">亚洲国产精品va在线播放</a>| <a href="http://wwwby1385.com" target="_blank">国产成人精品免费久久久久</a>| <a href="http://hmjx-tape.com" target="_blank">久久亚洲精品无码AV红樱桃</a>| <a href="http://zaidongmaixi.com" target="_blank">久久WWW免费人成一看片</a>| <a href="http://ynkmht.com" target="_blank">亚洲欧美综合精品成人导航</a>| <a href="http://zj1069.com" target="_blank">国产成人aaa在线视频免费观看 </a>| <a href="http://91xx8.com" target="_blank">国产精品区免费视频</a>| <a href="http://shenghe228.com" target="_blank">亚洲一区精品中文字幕</a>| <a href="http://twtairun.com" target="_blank">无码人妻久久一区二区三区免费丨 </a>| <a href="http://junfurui.com" target="_blank">国内精品久久久久影院亚洲</a>| <a href="http://shguojing.com" target="_blank">日韩毛片免费在线观看</a>| <a href="http://glhrsydc.com" target="_blank">一级做a爰片性色毛片免费网站</a>| <a href="http://zaidongmaixi.com" target="_blank">国产亚洲精品高清在线</a>| <a href="http://by8847.com" target="_blank">国产成人一区二区三区视频免费</a>| <a href="http://8mav1000.com" target="_blank">亚洲欧洲视频在线观看</a>| <a href="http://www-9970.com" target="_blank">国产精品无码一二区免费 </a>| <a href="http://33uub.com" target="_blank">亚洲精品白浆高清久久久久久</a>| <a href="http://linmh.com" target="_blank">久久久久久成人毛片免费看</a>| <a href="http://hbqueena.com" target="_blank">亚洲一区二区三区在线网站</a>| <a href="http://0515zs.com" target="_blank">波多野结衣一区二区免费视频</a>| <a href="http://tlyihong.com" target="_blank">韩国免费a级作爱片无码</a>| <a href="http://www66susu.com" target="_blank">亚洲麻豆精品果冻传媒</a>| <a href="http://fzgjw.com" target="_blank">宅男666在线永久免费观看</a>| <a href="http://xdxdl.com" target="_blank">a级毛片黄免费a级毛片</a>| <a href="http://8mav1000.com" target="_blank">亚洲不卡影院午夜在线观看</a>| <a href="http://boyonet.com" target="_blank">亚洲精品成人a在线观看</a>| <a href="http://gdfcjzx.com" target="_blank">亚洲精品国产免费</a>| <a href="http://yw835.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>