锘??xml version="1.0" encoding="utf-8" standalone="yes"?>国产A级毛片久久久精品毛片,久久久久久久亚洲精品,久久99热这里只频精品6http://www.shnenglu.com/huyi/category/997.html&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ------ Keep life simple<br> GMail/GTalk/MSN:huyi.zg@gmail.comzh-cnTue, 20 May 2008 02:27:28 GMTTue, 20 May 2008 02:27:28 GMT60灝嗘垚鍛樺嚱鏁頒綔涓簊td::for_each鐨勭涓変釜鍙傛暟http://www.shnenglu.com/huyi/archive/2006/12/22/16736.htmlHuYiHuYiFri, 22 Dec 2006 07:10:00 GMThttp://www.shnenglu.com/huyi/archive/2006/12/22/16736.htmlhttp://www.shnenglu.com/huyi/comments/16736.htmlhttp://www.shnenglu.com/huyi/archive/2006/12/22/16736.html#Feedback1http://www.shnenglu.com/huyi/comments/commentRss/16736.htmlhttp://www.shnenglu.com/huyi/services/trackbacks/16736.htmlvoid CBookEditDlg::ForEachBookFunctor(Book book)
{
聽聽聽 ......
}
for_each(books.begin(), books.end(), std::bind1st(mem_fun(&CBookEditDlg::ForEachBookFunctor), this));

鍏抽敭鐐瑰湪浜巑em_fun鍜宐ind1st鐨勪嬌鐢ㄣ?br />
for_each鐨勫疄鐜頒腑鏈鏍稿績鐨勪竴涓皟鐢細functor(*iterater);
鐢變簬綾婚潪闈欐佹垚鍛樺嚱鏁幫紝蹇呴』鍦ㄥ疄渚嬩笂璋冪敤錛?instance->*pfn)(params);
鎵浠or_each鏃犳硶鐩存帴浣跨敤浼犺繃鍘葷殑鍑芥暟鍦板潃錛屽嚱鏁版寚閽堢殑絎竴涓弬鏁版槸綾葷殑涓涓疄渚嬫寚閽堬紙this鎸囬拡)錛屾墍浠ュ繀欏繪兂鍔炴硶鎶婅繖涓寚閽堜紶榪囧幓錛堜嬌鐢╯td::bind1st錛?br />
鍏充簬mem_fun鐨勪竴浜涜祫鏂欙紝璇峰弬鑰?br />http://www.stlchina.org/documents/EffectiveSTL/files/item_41.html

瀵逛簬甯︿袱涓互涓婂弬鏁扮殑鎴愬憳鍑芥暟錛岀敤stl鏄笉鑳借揪鍒扮洰鐨勭殑錛屽洜涓簃em_fun鍙兘鐢熸垚涓嶅甫鍙傛暟錛屾垨鑰呮槸浠呭甫涓涓弬鏁扮殑鍑芥暟瀵硅薄錛坒unctor)錛宐ind1st鍜宐ind2st涔熷彧鑳藉絎竴涓垨鑰呮槸絎簩涓弬鏁拌繘琛岀粦瀹氥?br />瑕佸疄鐜板浠繪剰鏁伴噺鍙傛暟鐨勬垚鍛樺嚱鏁扮敓鎴恌unctor錛屽繀欏誨stl榪涜鎵╁睍錛屾墍騫竍oost宸茬粡鍋氬埌浜嗚繖鐐癸紝boost::bind鍜宐oost::mem_fn灝辨槸鏇村姞娉涘寲鐨剆td::bind1st鍜宻td::mem_func

聽聽聽 void ForEachClassFunctor(Class c, CTreeItem treeItem)
聽聽聽 {
聽聽聽 聽聽聽 treeView.InsertItem(c.name.c_str(), treeItem, NULL);
聽聽聽 }

聽聽聽 void ForEachBookFunctor(Book book)
聽聽 聽{
聽聽 聽聽聽 聽CTreeItem treeItem = treeView.InsertItem(book.name.c_str(), NULL, NULL);
聽聽 聽聽聽 聽vector<Class> v;
聽聽 聽聽聽 聽v.push_back(Class(0,0,"nameClass1", "titleClass1"));
聽聽 聽聽聽 聽for_each(v.begin(), v.end(),
聽聽聽聽聽聽聽聽聽聽聽 boost::bind(boost::mem_fn(&CBookEditDlg::ForEachClassFunctor), this, _1, treeItem));
聽聽 聽}


HuYi 2006-12-22 15:10 鍙戣〃璇勮
]]>
UTF-8涓嶶nicode鐨勭浉浜掕漿鎹?/title><link>http://www.shnenglu.com/huyi/archive/2006/12/22/16734.html</link><dc:creator>HuYi</dc:creator><author>HuYi</author><pubDate>Fri, 22 Dec 2006 07:09:00 GMT</pubDate><guid>http://www.shnenglu.com/huyi/archive/2006/12/22/16734.html</guid><wfw:comment>http://www.shnenglu.com/huyi/comments/16734.html</wfw:comment><comments>http://www.shnenglu.com/huyi/archive/2006/12/22/16734.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.shnenglu.com/huyi/comments/commentRss/16734.html</wfw:commentRss><trackback:ping>http://www.shnenglu.com/huyi/services/trackbacks/16734.html</trackback:ping><description><![CDATA[浠婂ぉ鐢ㄥ埌浜哠qlite,鐢變簬瀹冨唴閮ㄦ槸浣跨敤UTF-8緙栫爜錛屾墍浠ュ湪Windows搴旂敤涓嚭鐜頒簡涔辯爜銆?br />綆鍗曠殑鎼滅儲浜嗕竴涓嬶紝鐩鎬簰杞崲鐨勬柟娉曞緢澶氾紝鎴戣寰楁瘮杈冨ソ鐨勶紝鏄?br /><a target="_blank">http://www.vckbase.com/document/viewdoc/?id=1444</a><br /><br />鎴戠◢寰敼榪涗簡涓涓?<br /><br />聽聽聽 static WCHAR* UTF82Unicode(WCHAR* pBuffer,char *pSource, int buff_size)<br />聽聽聽 {<br />聽聽聽 聽聽聽 int i, j, max;<br />聽聽聽 聽聽聽 char* uchar = (char *)pBuffer;<br />聽聽聽聽聽聽聽 max = buff_size - 2;<br />聽聽聽 聽聽聽 for(i = 0, j = 0; pSource[j] != '\0'; i += 2, j += 3)<br />聽聽聽 聽聽聽 {<br />聽聽聽聽聽聽聽聽聽聽聽 if (i > max) {<br />聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽 break;<br />聽聽聽聽聽聽聽聽聽聽聽 }<br />聽聽聽 聽聽聽 聽聽聽 uchar[i+1] = ((pSource[j] & 0x0F) << 4) + ((pSource[j+1] >> 2) & 0x0F);<br />聽聽聽 聽聽聽 聽聽聽 uchar[i] = ((pSource[j+1] & 0x03) << 6) + (pSource[j+2] & 0x3F);<br />聽聽聽 聽聽聽 }<br />聽聽聽聽聽聽聽 uchar[i] = '\0';<br />聽聽聽聽聽聽聽 uchar[i+1] = '\0';<br />聽聽聽聽聽聽聽 return pBuffer;<br />聽聽聽 }<br /><br />鍦╓indows涓殑璇濓紝榪樻湁鏇寸畝鍗曠殑鏂規硶瀹屾垚杞崲錛?br />姣斿浠嶶TF-8鍒癠nicode:<br />聽聽聽 WCHAR buff[255];<br />聽聽聽 <span style="FONT-WEIGHT: bold">MultiByteToWideChar</span>(CP_UTF8, 0, argv[i], -1, buff, sizeof(buff));<br />聽聽聽 item.name = W2A(buff);<br /><br />argv[i]鏄杞崲鐨勫瓧鑺傛暟緇?img src ="http://www.shnenglu.com/huyi/aggbug/16734.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.shnenglu.com/huyi/" target="_blank">HuYi</a> 2006-12-22 15:09 <a href="http://www.shnenglu.com/huyi/archive/2006/12/22/16734.html#Feedback" target="_blank" style="text-decoration:none;">鍙戣〃璇勮</a></div>]]></description></item><item><title>涓轟粈涔堣鐢ㄢ?(鈥濆彇浠b?鈥?http://www.shnenglu.com/huyi/archive/2006/10/13/13637.htmlHuYiHuYiFri, 13 Oct 2006 05:50:00 GMThttp://www.shnenglu.com/huyi/archive/2006/10/13/13637.htmlhttp://www.shnenglu.com/huyi/comments/13637.htmlhttp://www.shnenglu.com/huyi/archive/2006/10/13/13637.html#Feedback1http://www.shnenglu.com/huyi/comments/commentRss/13637.htmlhttp://www.shnenglu.com/huyi/services/trackbacks/13637.html鍦ㄥ仛鏃ュ織鎺ュ彛鐨勬椂鍊欙紝鐪熷疄鐨勬帴鍙e嚱鏁板簲璇ユ槸濡備笅鏍峰紡鐨勶細
__static_logger__.log(int level,const char* fmt, ...);
榪欓噷浣跨敤浜唒rintf綾諱技鐨勬妧鏈細鍙彉鍙傛暟銆?br />榪欎釜鎶鏈彲浠ュ姩鎬佺殑鏇挎崲瀛楃涓瞗mt涓殑鍐呭銆?br />鍚屾椂錛岃繖涓柟娉曞彲鑳戒細琚噸杞斤紝鐢ㄤ簬涓嶉渶瑕佸彲鍙樺弬鏁扮殑鎯呭喌錛?br />__static_logger__.log(int level,const char* fmt);

閫氬父錛屾垜浠繕浼氬畾涔変竴浜涜緟鍔╃敤鐨勫畯錛?br />#define KLOG(X) \
聽聽聽 do { \
聽聽聽聽聽聽聽 KDBG::printf X; \
聽聽聽 } while (0)

浣跨敤鐨勬椂鍊欙紝蹇呴』鎸夌収涓嬮潰鐨勬牸寮忥細
KLOG((LM_ERROR, "%s\n", strerror(errno)));
娉ㄦ剰錛屼嬌鐢ㄤ簡鍙屽眰鐨勬嫭鍙封?(鈥?br />
涓轟粈涔堜笉鎶婂畯鏀規垚錛?br />#define KLOG(X,Y,...) \
聽聽聽 do { \
聽聽聽聽聽聽聽 KDBG::log(X,Y,__VA_ARGS__); \
聽聽聽 } while (0)s
浠庤屾寜濡備笅鐨勨滄爣鍑嗗艦寮忊濇潵浣跨敤LOG鍛紵
KLOG(LM_ERROR, "%s\n", strerror(errno));


絳旀鏄畯涓嶈兘鍍忓嚱鏁伴偅鏍烽噸杞斤紝KLOG瀹忓彧鑳芥湁涓涓紝灝辨槸鏈鍚庡畾涔夌殑閭d釜錛屼篃灝辨槸鑳芥帴鍙楃殑鍙傛暟涓暟鏄浐瀹氱殑銆?br />



HuYi 2006-10-13 13:50 鍙戣〃璇勮
]]>
鍙栬嚜ACE涓殑bit鎿嶄綔瀹?/title><link>http://www.shnenglu.com/huyi/archive/2006/04/03/4929.html</link><dc:creator>HuYi</dc:creator><author>HuYi</author><pubDate>Mon, 03 Apr 2006 02:08:00 GMT</pubDate><guid>http://www.shnenglu.com/huyi/archive/2006/04/03/4929.html</guid><wfw:comment>http://www.shnenglu.com/huyi/comments/4929.html</wfw:comment><comments>http://www.shnenglu.com/huyi/archive/2006/04/03/4929.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.shnenglu.com/huyi/comments/commentRss/4929.html</wfw:commentRss><trackback:ping>http://www.shnenglu.com/huyi/services/trackbacks/4929.html</trackback:ping><description><![CDATA[ <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"> <img src="http://www.shnenglu.com/images/OutliningIndicators/None.gif" align="top" /> <span style="COLOR: #000000">#聽define聽ACE_BIT_ENABLED(WORD,聽BIT)聽(((WORD)聽</span> <span style="COLOR: #000000">&</span> <span style="COLOR: #000000">聽(BIT))聽</span> <span style="COLOR: #000000">!=</span> <span style="COLOR: #000000">聽</span> <span style="COLOR: #000000">0</span> <span style="COLOR: #000000">)<br /><img src="http://www.shnenglu.com/images/OutliningIndicators/None.gif" align="top" />#聽define聽ACE_BIT_DISABLED(WORD,聽BIT)聽(((WORD)聽</span> <span style="COLOR: #000000">&</span> <span style="COLOR: #000000">聽(BIT))聽</span> <span style="COLOR: #000000">==</span> <span style="COLOR: #000000">聽</span> <span style="COLOR: #000000">0</span> <span style="COLOR: #000000">)<br /><img src="http://www.shnenglu.com/images/OutliningIndicators/None.gif" align="top" />#聽define聽ACE_BIT_CMP_MASK(WORD,聽BIT,聽MASK)聽(((WORD)聽</span> <span style="COLOR: #000000">&</span> <span style="COLOR: #000000">聽(BIT))聽</span> <span style="COLOR: #000000">==</span> <span style="COLOR: #000000">聽MASK)<br /><img src="http://www.shnenglu.com/images/OutliningIndicators/None.gif" align="top" />#聽define聽ACE_SET_BITS(WORD,聽BITS)聽(WORD聽</span> <span style="COLOR: #000000">|=</span> <span style="COLOR: #000000">聽(BITS))<br /><img src="http://www.shnenglu.com/images/OutliningIndicators/None.gif" align="top" />#聽define聽ACE_CLR_BITS(WORD,聽BITS)聽(WORD聽</span> <span style="COLOR: #000000">&=</span> <span style="COLOR: #000000">聽</span> <span style="COLOR: #000000">~</span> <span style="COLOR: #000000">(BITS))</span> </div> <br />闄勪笂C涓父鐢ㄧ殑浣嶈繍綆楃敤娉曪紝鍙栬嚜銆奀 Primer Plus銆?br /><br />鎺╃爜錛氬嵆mask錛岄氬父涓烘煇涓涓綅涓?錛岃屽叾浠栦綅閮戒負0鐨刡yte錛屽00000100銆?br /><br />1.鎶奲yte涓櫎鎺╃爜鐩稿悓鐨勪綅澶栵紝鍏ㄩ儴緗?錛屾帺鐮佷綅涓嶅彉<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"><img src="http://www.shnenglu.com/images/OutliningIndicators/None.gif" align="top" /><span style="COLOR: #000000">flags聽</span><span style="COLOR: #000000">&=</span><span style="COLOR: #000000">聽mask</span></div>聽聽 10101111 & 00000100 = 00000100<br /><br />2.鎵撳紑浣嶏細鎵撳紑鐗瑰畾鐨勪綅錛屽叾浠栦綅涓嶅彉銆?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"><img src="http://www.shnenglu.com/images/OutliningIndicators/None.gif" align="top" /><span style="COLOR: #000000">flags聽</span><span style="COLOR: #000000">|=</span><span style="COLOR: #000000">聽MASK</span></div>00001000 | 00000100 = 00001100<br /><br />3.鍏抽棴浣嶏細鍏抽棴鐗瑰畾浣嶏紝浣嗕笉褰卞搷鍏朵粬浣?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"><img src="http://www.shnenglu.com/images/OutliningIndicators/None.gif" align="top" /><span style="COLOR: #000000">flags聽</span><span style="COLOR: #000000">&=</span><span style="COLOR: #000000">聽</span><span style="COLOR: #000000">~</span><span style="COLOR: #000000">MASK</span></div>11100101 &=聽 ~10000000 = 01100101<br /><br />4.杞疆浣嶏細涓涓綅濡傛灉鎵撳紑錛屽垯鍏抽棴錛涘鏋滃叧闂紝鍒欐墦寮<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"><img src="http://www.shnenglu.com/images/OutliningIndicators/None.gif" align="top" /><span style="COLOR: #000000">flags聽</span><span style="COLOR: #000000">^=</span><span style="COLOR: #000000">聽MASK</span></div>11100101 ^=聽 10000000 = 01100101<br />11100101 ^=聽 00010000 = 11110101<br /><br />5.鏌ョ湅涓涓綅鐨勫鹼細<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"><img src="http://www.shnenglu.com/images/OutliningIndicators/None.gif" align="top" /><span style="COLOR: #0000ff">if</span><span style="COLOR: #000000">聽((flag聽</span><span style="COLOR: #000000">&</span><span style="COLOR: #000000">聽MASK)聽</span><span style="COLOR: #000000">==</span><span style="COLOR: #000000">聽MASK)<br /><img src="http://www.shnenglu.com/images/OutliningIndicators/None.gif" align="top" />聽聽聽聽do_some_work();</span></div><br />聽<img src ="http://www.shnenglu.com/huyi/aggbug/4929.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.shnenglu.com/huyi/" target="_blank">HuYi</a> 2006-04-03 10:08 <a href="http://www.shnenglu.com/huyi/archive/2006/04/03/4929.html#Feedback" target="_blank" style="text-decoration:none;">鍙戣〃璇勮</a></div>]]></description></item><item><title>緇欏ぇ瀹跺叡浜竴涓熀鏈畻娉曞寘http://www.shnenglu.com/huyi/archive/2006/03/23/4479.htmlHuYiHuYiThu, 23 Mar 2006 00:51:00 GMThttp://www.shnenglu.com/huyi/archive/2006/03/23/4479.htmlhttp://www.shnenglu.com/huyi/comments/4479.htmlhttp://www.shnenglu.com/huyi/archive/2006/03/23/4479.html#Feedback0http://www.shnenglu.com/huyi/comments/commentRss/4479.htmlhttp://www.shnenglu.com/huyi/services/trackbacks/4479.html涓嬭澆鍦板潃聽聽聽
http://www.shnenglu.com/Files/huyi/datastruct.rar


鍖呭惈鍐呭錛?br />涓嬮潰鏄枃妗e寘鍚殑鍐呭:
浜屽垎鏌ユ壘1.c
浜屽垎鏌ユ壘2.c
浜屽弶鏍?c
鍏跺畠

鍗曞厓鍔?br />鍗曞驚鐜摼琛?c
鍗曢摼琛?c
鍥?c
瀛楃
瀹氶暱涓?c

灝忓啓鏁板瓧杞負澶у啓鏁板瓧
甯﹀ご緇撶偣鍙岄摼寰幆綰挎ц〃.c
搴曞眰緙栫▼
鏁堥獙綆楁硶
鏁板闂
鏁版嵁緇撴瀯
鏁扮粍
鏂囦歡紼嬪簭
姹傝繘鍒?br />姹夎濉?br />紜竵鎯呭喌
閫嗛樀
閾句覆.c
閾炬爤.c
閾鵑槦鍒?c
闂綆楁硶
欏哄簭鏍?c
欏哄簭琛?c
欏哄簭闃熷垪.c

./鍏跺畠:
c璇█紿椾綋瀹炰緥.zip
鍌葷摐閫掑綊.c
鍐掓場娉曟敼榪?c
灝忓瓧搴揇IY-.c
灝忓瓧搴揇IY.c
灝忕櫧榧犻捇榪峰.c
鎵弿鐮?C
鎸芥晳杞洏.c
姹夊瓧瀛楁ā.c
紲炵粡鍏冩ā鍨?c
絀蜂婦鎼滅儲娉?c
綆鍗曟暟鎹簱.c
緙栫▼姹夊瓧闂.txt
緙栭殢鏈烘暟.c
璇曢.C
閫掑爢娉?C

./鍗曞厓鍔?
erre2.c
erre.c
鏁扮粍瀹屽叏鍗曞厓.c
鏍堝崟鍏冨姞.c

./瀛楃:
鍗曡瘝鍊掕漿.c
鍙嶅嚭瀛楃.c
鍥炴枃.c
瀛楃涓叉煡鎵?c
瀛楃緙栬緫.c
瀛楃緙栬緫鎶鏈?鎻掑叆鍜屽垹闄? .c

./灝忓啓鏁板瓧杞負澶у啓鏁板瓧:
灝忓啓鏁板瓧杞崲鎴愬ぇ鍐欐暟瀛?.c
灝忓啓鏁板瓧杞崲鎴愬ぇ鍐欐暟瀛?.c
灝忓啓鏁板瓧杞崲鎴愬ぇ鍐欐暟瀛?.c

./搴曞眰緙栫▼:
asm.c
C鏍囧織絎﹀懡鍚嶆簮紼嬪簭.c
ping.c
winsock2.c
鏃墮棿闄烽槺.c
媯鍑洪敊璇?c
媯嫻嬮紶鏍?c

./鏁堥獙綆楁硶:
C.BAT
CMCRC.COM
Crctable.c

./鏁板闂:
涔樻硶鐭╅樀.c
鍑変笢闂
鍗佷簲浜烘帓搴?c
鍙犱唬鏁撮櫎.c
鍥涘垎鐮濈爜.c
鍦嗗懆鐜?br />澶氫綅闃朵箻2.c
澶氫綅闃朵箻.c
澶у姞鏁?c
澶у皬鍊嶇害.c
澶ф暣鏁?c
瀹屾暟.c
灝忓鍒嗙硸鏋?c
灝忔槑涔頒功
騫蟲柟鏍?c
鏁板綆楁硶
妗冨瓙鐚撮棶棰?br />鐏闂.c
鐧鵑浮鐧鵑挶.c
綆鍗曡綆楀櫒.c
鑻規灉綰犵悍
閫掓帹.c
閫昏緫縐誨姩.c
闃朵箻閫掑綊.c
闃垮鏂壒鏈楁暟.c
榛戠櫧.c

./鏁板闂/鍑変笢闂:
32.c
re.c
鏁扮粍閫掑綊閫鍑?.c
鏁扮粍閫掑綊閫鍑?c

./鏁板闂/鍦嗗懆鐜?
鍦嗗懆鐜?c
鐙愮嫺鍦嗗懆鐜?cpp

./鏁板闂/灝忔槑涔頒功:
灝忔槑涔頒功.c
灝忔槑涔頒功.cpp

./鏁板闂/鏁板綆楁硶:
浣欏雞鏇茬嚎.c
浣欏雞鐩寸嚎.c
絎﹀彿鍥懼艦.c
緇樺埗鍦?c

./鏁板闂/妗冨瓙鐚撮棶棰?
_notes
涔樻柟鍑芥暟妗冨瓙鐚?c
妗冨瓙鐚?c
鐚村瓙鍜屾.c
閫掑綊妗冪尨.c
棰樼洰.txt

./鏁板闂/妗冨瓙鐚撮棶棰?_notes:

./鏁板闂/鑻規灉綰犵悍:
ff.c
鑻規灉鍒嗘硶.c

./鏁版嵁緇撴瀯:
浜屽弶鎺掑簭鏍?c
浜屽弶鏍戝疄渚?c
鍗曢摼琛?br />鍙岄摼琛ㄦ鎺掑簭.c
鍚勭鎺掑簭娉?c
鍝堝か鏇肩畻娉?c
鍝堟參鏍?c
澶ф暣鏁?c
寤烘爲鍜岄亶鍘?c
鎺掑簭娉?c
鎺ㄧ瀛?c
鏁版嵁緇撴瀯2.c
鏁版嵁緇撴瀯3.c
鏁版嵁緇撴瀯.c
鏃犲悜鍥?c
鏍堟搷浣?c
綰挎ч『搴忓瓨鍌ㄧ粨鏋?c
綰跨儲鍖栦簩鍙夋爲.c
榪峰.c
榪峰闂.c
閫嗘嘗鍏拌綆楀櫒.c
閫掑綊杞﹀帰.c
闃熷垪.c

./鏁版嵁緇撴瀯/鍗曢摼琛?
ww.c
鍐掓場鎺掑簭.c
鍗曢摼琛?.c
鍗曢摼琛?.c
鍗曢摼琛?c
鍗曢摼琛ㄥ掑簭.c
鍗曢摼琛ㄧ殑澶勭悊鍏ㄩ泦.c
寤虹珛閾捐〃1.c
鑺傜偣.c
璐ㄥ洜瀛?c
閾捐〃鍗佷簲浜烘帓搴?c
閾捐〃錛堥掑綊錛?c

./鏁扮粍:
鏁板瓧縐誨姩.c
鏁扮粍鎿嶄綔.c
鏉ㄨ緣涓夎褰?c
妗舵帓搴?c
鐭╅樀杞崲.c
铻烘棆鏁扮粍1.c
铻烘棆鏁扮粍2.c

./鏂囦歡紼嬪簭:
瀹炰緥1.c
瀹炰緥2.c
瀹炰緥3.c
鏂囦歡鍔犲瘑.c
鏂囦歡澶嶅埗.c
鏂囦歡榪炴帴.c
鑷垜澶嶅埗.c
璇誨啓鏂囨湰鏂囦歡.c
杈撳嚭鑷凡.c

./姹傝繘鍒?
16榪涘埗10榪涘埗.c
浜岃繘鍒舵暟2.c
浜岃繘鍒舵暟.c

./姹夎濉?
鍥涘1.c
鍥涘2.c
鎹綅閫掑綊.c
姹夎濉?.c
姹夎濉?c
璇烘眽濉旂敾鍥劇増.c
闈為掑綊.c

./紜竵鎯呭喌:
for寰幆鐨?c
紜竵鍒嗘硶.c

./閫嗛樀:
綆鍗曢嗛樀.c
閫嗙煩闃?c
閫嗛樀.c

./闂綆楁硶:
N鐨囧悗闂鍥炴函綆楁硶.c
涓囧勾鍘?br />鍔ㄦ佽綆楃綉緇滄渶闀挎渶鐭礬綰?c
鐭╅樀涔樻硶鍔ㄦ佽鍒?c
緗戠粶鏈鐭礬寰凞ijkstra綆楁硶.c
璐ч儙鎷呭垎鏋濋檺鐣屽浘褰㈡紨紺?c
璐ч儙鎷呴檺鐣岀畻娉?c
楠戝+閬嶅巻

./闂綆楁硶/涓囧勾鍘?
涓囧勾鍘?c
涓囧勾鍘嗙殑綆楁硶 .c

./闂綆楁硶/楠戝+閬嶅巻:
楠戝+閬嶅巻1.c
楠戝+閬嶅巻2.c
楠戝+閬嶅巻鍥為?c



HuYi 2006-03-23 08:51 鍙戣〃璇勮
]]>
濡備綍灝嗘棩鏂囨眽瀛楄漿鎹㈡垚鍋囧悕鏄劇ずhttp://www.shnenglu.com/huyi/archive/2006/03/15/4207.htmlHuYiHuYiWed, 15 Mar 2006 09:58:00 GMThttp://www.shnenglu.com/huyi/archive/2006/03/15/4207.htmlhttp://www.shnenglu.com/huyi/comments/4207.htmlhttp://www.shnenglu.com/huyi/archive/2006/03/15/4207.html#Feedback10http://www.shnenglu.com/huyi/comments/commentRss/4207.htmlhttp://www.shnenglu.com/huyi/services/trackbacks/4207.html鍏跺疄寰堢畝鍗曞暒錛屼笉榪囧井杞殑API搴旂敤璇存槑涓榪欎釜鐨勬弿榪頒篃涓嶆竻妤氾紝鐜板皢鎴戠殑瀹炵幇浠g爜鍜屾敞鎰忎簨欏硅創鍑烘潵緇欏ぇ瀹跺弬鑰冦?/P>
 1#include <INITGUID.H>
 2#include "MSIME.h"
 3.
 4.
 5.
 6    CString sSelect;
 7    this->GetWindowText(sSelect);
 8
 9    IFELanguage *lang = NULL;
10    if(SUCCEEDED(CoCreateInstance(CLSID_MSIME_JAPANESE_6,NULL,
11        CLSCTX_INPROC_SERVER,IID_IFELanguage,(void**)&lang)) && lang != NULL)
12    {
13        if(!SUCCEEDED(lang->Open()))
14        {
15            return;
16        }

17    }

18    if(lang)
19    {
20        CString sResult;
21        BSTR out = NULL;
22        if(SUCCEEDED(lang->GetPhonetic(_bstr_t(sSelect),1,-1,&out)) && out != NULL)
23        {
24            sResult = out;
25            ::SysFreeString(out);
26        }

27        this->SetWindowText(sResult);
28    }
絎?琛岀殑include姣旇緝閲嶈錛屽鏋滀笉鍔狅紝瀹規槗鍑虹幇閾炬帴閿欒錛岃繖鏄湪platform鐨凷DK涓甫鏈夌殑澶存枃浠躲?BR>絎?琛屾槸鍏抽敭鎬уご鏂囦歡錛屽湪寰蔣japan ime鏂囨。鐨刟ppend閮ㄥ垎甯︽湁錛岀幇鍦ㄦ渶鏂版槸1.3鐗堛?BR>鍏朵粬閮ㄥ垎鐓х尗鐢昏檸灝辮浜嗭紝鍊煎緱娉ㄦ剰鐨勬槸CLSID_MSIME_JAPANESE_6榪欎釜錛屽鏋滆鎯沖湪win2000涓嬬敤錛屼竴瀹氳鐢ㄤ綆鐗堟湰鐨勶紝鎺ㄨ崘鍍忔垜榪欐牱鐢?銆?BR>
鐢ㄨ繖濂桝PI錛岃繕鍙互瀹屾垚綾諱技浜庤漿鎹㈡嫾闊充箣綾葷殑鍔熻兘錛屽鏋滆鍒涢犺嚜宸辯殑杈撳叆娉曪紝寤鴻鐪嬬湅TSF錛屽井杞粰浜嗗緢澶歍SF鐨勪緥瀛愩?BR>

HuYi 2006-03-15 17:58 鍙戣〃璇勮
]]>
閾炬帴COM紼嬪簭鏃跺鏄撳嚭鐜扮殑涓涓敊璇?/title><link>http://www.shnenglu.com/huyi/archive/2006/03/12/4044.html</link><dc:creator>HuYi</dc:creator><author>HuYi</author><pubDate>Sun, 12 Mar 2006 04:32:00 GMT</pubDate><guid>http://www.shnenglu.com/huyi/archive/2006/03/12/4044.html</guid><wfw:comment>http://www.shnenglu.com/huyi/comments/4044.html</wfw:comment><comments>http://www.shnenglu.com/huyi/archive/2006/03/12/4044.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.shnenglu.com/huyi/comments/commentRss/4044.html</wfw:commentRss><trackback:ping>http://www.shnenglu.com/huyi/services/trackbacks/4044.html</trackback:ping><description><![CDATA[<P>鎴戝湪閾炬帴涓涓▼搴忔椂鍑虹幇鐨勯敊璇俊鎭細<BR>A Note error LNK2001: unresolved external symbol _IID_XXXXXX<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"><IMG src="http://www.shnenglu.com/images/OutliningIndicators/None.gif" align=top><SPAN style="COLOR: #000000">#include </SPAN><SPAN style="COLOR: #000000"><</SPAN><SPAN style="COLOR: #000000">INITGUID.H</SPAN><SPAN style="COLOR: #000000">></SPAN></DIV><img src ="http://www.shnenglu.com/huyi/aggbug/4044.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.shnenglu.com/huyi/" target="_blank">HuYi</a> 2006-03-12 12:32 <a href="http://www.shnenglu.com/huyi/archive/2006/03/12/4044.html#Feedback" target="_blank" style="text-decoration:none;">鍙戣〃璇勮</a></div>]]></description></item><item><title>緇撴瀯浣撴渶鍚庣殑闀垮害涓?鎴栬?鐨勬暟緇?/title><link>http://www.shnenglu.com/huyi/archive/2006/03/07/3837.html</link><dc:creator>HuYi</dc:creator><author>HuYi</author><pubDate>Tue, 07 Mar 2006 04:23:00 GMT</pubDate><guid>http://www.shnenglu.com/huyi/archive/2006/03/07/3837.html</guid><wfw:comment>http://www.shnenglu.com/huyi/comments/3837.html</wfw:comment><comments>http://www.shnenglu.com/huyi/archive/2006/03/07/3837.html#Feedback</comments><slash:comments>3</slash:comments><wfw:commentRss>http://www.shnenglu.com/huyi/comments/commentRss/3837.html</wfw:commentRss><trackback:ping>http://www.shnenglu.com/huyi/services/trackbacks/3837.html</trackback:ping><description><![CDATA[     鎽樿: 鍦↙inux緋葷粺閲岋紝/usr/include/linux/if_pppox.h閲岄潰鏈夎繖鏍蜂竴涓粨鏋勶細 1struct pppoe_tag {2    __u16 tag_type;3    __u16 tag_len;4    char&n...  <a href='http://www.shnenglu.com/huyi/archive/2006/03/07/3837.html'>闃呰鍏ㄦ枃</a><img src ="http://www.shnenglu.com/huyi/aggbug/3837.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.shnenglu.com/huyi/" target="_blank">HuYi</a> 2006-03-07 12:23 <a href="http://www.shnenglu.com/huyi/archive/2006/03/07/3837.html#Feedback" target="_blank" style="text-decoration:none;">鍙戣〃璇勮</a></div>]]></description></item><item><title>澶у啓瀛楃涓插揩閫熻漿鎹㈡垚灝忓啓鐨勫嚱鏁?/title><link>http://www.shnenglu.com/huyi/archive/2006/03/03/3678.html</link><dc:creator>HuYi</dc:creator><author>HuYi</author><pubDate>Fri, 03 Mar 2006 05:01:00 GMT</pubDate><guid>http://www.shnenglu.com/huyi/archive/2006/03/03/3678.html</guid><wfw:comment>http://www.shnenglu.com/huyi/comments/3678.html</wfw:comment><comments>http://www.shnenglu.com/huyi/archive/2006/03/03/3678.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.shnenglu.com/huyi/comments/commentRss/3678.html</wfw:commentRss><trackback:ping>http://www.shnenglu.com/huyi/services/trackbacks/3678.html</trackback:ping><description><![CDATA[<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: #008080"> 1</SPAN><IMG id=Codehighlighter1_0_39_Open_Image onclick="this.style.display='none'; Codehighlighter1_0_39_Open_Text.style.display='none'; Codehighlighter1_0_39_Closed_Image.style.display='inline'; Codehighlighter1_0_39_Closed_Text.style.display='inline';" src="http://www.shnenglu.com/images/OutliningIndicators/ExpandedBlockStart.gif" align=top><IMG id=Codehighlighter1_0_39_Closed_Image style="DISPLAY: none" onclick="this.style.display='none'; Codehighlighter1_0_39_Closed_Text.style.display='none'; Codehighlighter1_0_39_Open_Image.style.display='inline'; Codehighlighter1_0_39_Open_Text.style.display='inline';" src="http://www.shnenglu.com/images/OutliningIndicators/ContractedBlock.gif" align=top><SPAN id=Codehighlighter1_0_39_Closed_Text style="BORDER-RIGHT: #808080 1px solid; BORDER-TOP: #808080 1px solid; DISPLAY: none; BORDER-LEFT: #808080 1px solid; BORDER-BOTTOM: #808080 1px solid; BACKGROUND-COLOR: #ffffff">/**/</SPAN><SPAN id=Codehighlighter1_0_39_Open_Text><SPAN style="COLOR: #008000">/*</SPAN><SPAN style="COLOR: #008000"> 32-bit, little-endian. suif.liyuan </SPAN><SPAN style="COLOR: #008000">*/</SPAN></SPAN><SPAN style="COLOR: #000000"><BR></SPAN><SPAN style="COLOR: #008080"> 2</SPAN><SPAN style="COLOR: #000000"><IMG src="http://www.shnenglu.com/images/OutliningIndicators/None.gif" align=top><BR></SPAN><SPAN style="COLOR: #008080"> 3</SPAN><SPAN style="COLOR: #000000"><IMG src="http://www.shnenglu.com/images/OutliningIndicators/None.gif" align=top></SPAN><SPAN style="COLOR: #0000ff">int</SPAN><SPAN style="COLOR: #000000"> zbyter(unsigned </SPAN><SPAN style="COLOR: #0000ff">int</SPAN><SPAN style="COLOR: #000000"> x)<BR></SPAN><SPAN style="COLOR: #008080"> 4</SPAN><SPAN style="COLOR: #000000"><IMG src="http://www.shnenglu.com/images/OutliningIndicators/None.gif" align=top><BR></SPAN><SPAN style="COLOR: #008080"> 5</SPAN><SPAN style="COLOR: #000000"><IMG id=Codehighlighter1_70_328_Open_Image onclick="this.style.display='none'; Codehighlighter1_70_328_Open_Text.style.display='none'; Codehighlighter1_70_328_Closed_Image.style.display='inline'; Codehighlighter1_70_328_Closed_Text.style.display='inline';" src="http://www.shnenglu.com/images/OutliningIndicators/ExpandedBlockStart.gif" align=top><IMG id=Codehighlighter1_70_328_Closed_Image style="DISPLAY: none" onclick="this.style.display='none'; Codehighlighter1_70_328_Closed_Text.style.display='none'; Codehighlighter1_70_328_Open_Image.style.display='inline'; Codehighlighter1_70_328_Open_Text.style.display='inline';" src="http://www.shnenglu.com/images/OutliningIndicators/ContractedBlock.gif" align=top></SPAN><SPAN id=Codehighlighter1_70_328_Closed_Text style="BORDER-RIGHT: #808080 1px solid; BORDER-TOP: #808080 1px solid; DISPLAY: none; BORDER-LEFT: #808080 1px solid; BORDER-BOTTOM: #808080 1px solid; BACKGROUND-COLOR: #ffffff"><IMG src="http://www.shnenglu.com/images/dot.gif"></SPAN><SPAN id=Codehighlighter1_70_328_Open_Text><SPAN style="COLOR: #000000">{<BR></SPAN><SPAN style="COLOR: #008080"> 6</SPAN><SPAN style="COLOR: #000000"><IMG src="http://www.shnenglu.com/images/OutliningIndicators/InBlock.gif" align=top><BR></SPAN><SPAN style="COLOR: #008080"> 7</SPAN><SPAN style="COLOR: #000000"><IMG src="http://www.shnenglu.com/images/OutliningIndicators/InBlock.gif" align=top>     unsigned </SPAN><SPAN style="COLOR: #0000ff">int</SPAN><SPAN style="COLOR: #000000"> y;<BR></SPAN><SPAN style="COLOR: #008080"> 8</SPAN><SPAN style="COLOR: #000000"><IMG src="http://www.shnenglu.com/images/OutliningIndicators/InBlock.gif" align=top><BR></SPAN><SPAN style="COLOR: #008080"> 9</SPAN><SPAN style="COLOR: #000000"><IMG src="http://www.shnenglu.com/images/OutliningIndicators/InBlock.gif" align=top>     y </SPAN><SPAN style="COLOR: #000000">=</SPAN><SPAN style="COLOR: #000000"> (x </SPAN><SPAN style="COLOR: #000000">&</SPAN><SPAN style="COLOR: #000000"> </SPAN><SPAN style="COLOR: #000000">0x7F7F7F7F</SPAN><SPAN style="COLOR: #000000">) </SPAN><SPAN style="COLOR: #000000">+</SPAN><SPAN style="COLOR: #000000"> </SPAN><SPAN style="COLOR: #000000">0x7F7F7F7F</SPAN><SPAN style="COLOR: #000000">;<BR></SPAN><SPAN style="COLOR: #008080">10</SPAN><SPAN style="COLOR: #000000"><IMG src="http://www.shnenglu.com/images/OutliningIndicators/InBlock.gif" align=top><BR></SPAN><SPAN style="COLOR: #008080">11</SPAN><SPAN style="COLOR: #000000"><IMG src="http://www.shnenglu.com/images/OutliningIndicators/InBlock.gif" align=top>     y </SPAN><SPAN style="COLOR: #000000">=</SPAN><SPAN style="COLOR: #000000"> </SPAN><SPAN style="COLOR: #000000">~</SPAN><SPAN style="COLOR: #000000">(y </SPAN><SPAN style="COLOR: #000000">|</SPAN><SPAN style="COLOR: #000000"> x </SPAN><SPAN style="COLOR: #000000">|</SPAN><SPAN style="COLOR: #000000"> </SPAN><SPAN style="COLOR: #000000">0x7F7F7F7F</SPAN><SPAN style="COLOR: #000000">);<BR></SPAN><SPAN style="COLOR: #008080">12</SPAN><SPAN style="COLOR: #000000"><IMG src="http://www.shnenglu.com/images/OutliningIndicators/InBlock.gif" align=top><BR></SPAN><SPAN style="COLOR: #008080">13</SPAN><SPAN style="COLOR: #000000"><IMG src="http://www.shnenglu.com/images/OutliningIndicators/InBlock.gif" align=top>     </SPAN><SPAN style="COLOR: #0000ff">if</SPAN><SPAN style="COLOR: #000000"> (y </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: #008080">14</SPAN><SPAN style="COLOR: #000000"><IMG src="http://www.shnenglu.com/images/OutliningIndicators/InBlock.gif" align=top><BR></SPAN><SPAN style="COLOR: #008080">15</SPAN><SPAN style="COLOR: #000000"><IMG src="http://www.shnenglu.com/images/OutliningIndicators/InBlock.gif" align=top>          </SPAN><SPAN style="COLOR: #0000ff">return</SPAN><SPAN style="COLOR: #000000"> </SPAN><SPAN style="COLOR: #000000">4</SPAN><SPAN style="COLOR: #000000">;<BR></SPAN><SPAN style="COLOR: #008080">16</SPAN><SPAN style="COLOR: #000000"><IMG src="http://www.shnenglu.com/images/OutliningIndicators/InBlock.gif" align=top><BR></SPAN><SPAN style="COLOR: #008080">17</SPAN><SPAN style="COLOR: #000000"><IMG src="http://www.shnenglu.com/images/OutliningIndicators/InBlock.gif" align=top>     </SPAN><SPAN style="COLOR: #0000ff">else</SPAN><SPAN style="COLOR: #000000"> </SPAN><SPAN style="COLOR: #0000ff">if</SPAN><SPAN style="COLOR: #000000"> (y </SPAN><SPAN style="COLOR: #000000">&</SPAN><SPAN style="COLOR: #000000"> </SPAN><SPAN style="COLOR: #000000">0x0000FFFF</SPAN><SPAN style="COLOR: #000000">)<BR></SPAN><SPAN style="COLOR: #008080">18</SPAN><SPAN style="COLOR: #000000"><IMG src="http://www.shnenglu.com/images/OutliningIndicators/InBlock.gif" align=top><BR></SPAN><SPAN style="COLOR: #008080">19</SPAN><SPAN style="COLOR: #000000"><IMG src="http://www.shnenglu.com/images/OutliningIndicators/InBlock.gif" align=top>          </SPAN><SPAN style="COLOR: #0000ff">return</SPAN><SPAN style="COLOR: #000000"> ((y </SPAN><SPAN style="COLOR: #000000">>></SPAN><SPAN style="COLOR: #000000"> </SPAN><SPAN style="COLOR: #000000">7</SPAN><SPAN style="COLOR: #000000">) </SPAN><SPAN style="COLOR: #000000">&</SPAN><SPAN style="COLOR: #000000"> </SPAN><SPAN style="COLOR: #000000">1</SPAN><SPAN style="COLOR: #000000">) </SPAN><SPAN style="COLOR: #000000">^</SPAN><SPAN style="COLOR: #000000"> </SPAN><SPAN style="COLOR: #000000">1</SPAN><SPAN style="COLOR: #000000">;<BR></SPAN><SPAN style="COLOR: #008080">20</SPAN><SPAN style="COLOR: #000000"><IMG src="http://www.shnenglu.com/images/OutliningIndicators/InBlock.gif" align=top><BR></SPAN><SPAN style="COLOR: #008080">21</SPAN><SPAN style="COLOR: #000000"><IMG src="http://www.shnenglu.com/images/OutliningIndicators/InBlock.gif" align=top>     </SPAN><SPAN style="COLOR: #0000ff">else</SPAN><SPAN style="COLOR: #000000"><BR></SPAN><SPAN style="COLOR: #008080">22</SPAN><SPAN style="COLOR: #000000"><IMG src="http://www.shnenglu.com/images/OutliningIndicators/InBlock.gif" align=top><BR></SPAN><SPAN style="COLOR: #008080">23</SPAN><SPAN style="COLOR: #000000"><IMG src="http://www.shnenglu.com/images/OutliningIndicators/InBlock.gif" align=top>          </SPAN><SPAN style="COLOR: #0000ff">return</SPAN><SPAN style="COLOR: #000000"> ((y </SPAN><SPAN style="COLOR: #000000">>></SPAN><SPAN style="COLOR: #000000"> </SPAN><SPAN style="COLOR: #000000">23</SPAN><SPAN style="COLOR: #000000">) </SPAN><SPAN style="COLOR: #000000">&</SPAN><SPAN style="COLOR: #000000"> </SPAN><SPAN style="COLOR: #000000">1</SPAN><SPAN style="COLOR: #000000">) </SPAN><SPAN style="COLOR: #000000">^</SPAN><SPAN style="COLOR: #000000"> </SPAN><SPAN style="COLOR: #000000">3</SPAN><SPAN style="COLOR: #000000">;<BR></SPAN><SPAN style="COLOR: #008080">24</SPAN><SPAN style="COLOR: #000000"><IMG src="http://www.shnenglu.com/images/OutliningIndicators/InBlock.gif" align=top><BR></SPAN><SPAN style="COLOR: #008080">25</SPAN><SPAN style="COLOR: #000000"><IMG src="http://www.shnenglu.com/images/OutliningIndicators/ExpandedBlockEnd.gif" align=top> }</SPAN></SPAN><SPAN style="COLOR: #000000"><BR></SPAN><SPAN style="COLOR: #008080">26</SPAN><SPAN style="COLOR: #000000"><IMG src="http://www.shnenglu.com/images/OutliningIndicators/None.gif" align=top><BR></SPAN><SPAN style="COLOR: #008080">27</SPAN><SPAN style="COLOR: #000000"><IMG src="http://www.shnenglu.com/images/OutliningIndicators/None.gif" align=top> </SPAN><SPAN style="COLOR: #0000ff">int</SPAN><SPAN style="COLOR: #000000"> UptoLow(</SPAN><SPAN style="COLOR: #0000ff">char</SPAN><SPAN style="COLOR: #000000">*</SPAN><SPAN style="COLOR: #000000"> pszString)<BR></SPAN><SPAN style="COLOR: #008080">28</SPAN><SPAN style="COLOR: #000000"><IMG src="http://www.shnenglu.com/images/OutliningIndicators/None.gif" align=top><BR></SPAN><SPAN style="COLOR: #008080">29</SPAN><SPAN style="COLOR: #000000"><IMG id=Codehighlighter1_362_710_Open_Image onclick="this.style.display='none'; Codehighlighter1_362_710_Open_Text.style.display='none'; Codehighlighter1_362_710_Closed_Image.style.display='inline'; Codehighlighter1_362_710_Closed_Text.style.display='inline';" src="http://www.shnenglu.com/images/OutliningIndicators/ExpandedBlockStart.gif" align=top><IMG id=Codehighlighter1_362_710_Closed_Image style="DISPLAY: none" onclick="this.style.display='none'; Codehighlighter1_362_710_Closed_Text.style.display='none'; Codehighlighter1_362_710_Open_Image.style.display='inline'; Codehighlighter1_362_710_Open_Text.style.display='inline';" src="http://www.shnenglu.com/images/OutliningIndicators/ContractedBlock.gif" align=top></SPAN><SPAN id=Codehighlighter1_362_710_Closed_Text style="BORDER-RIGHT: #808080 1px solid; BORDER-TOP: #808080 1px solid; DISPLAY: none; BORDER-LEFT: #808080 1px solid; BORDER-BOTTOM: #808080 1px solid; BACKGROUND-COLOR: #ffffff"><IMG src="http://www.shnenglu.com/images/dot.gif"></SPAN><SPAN id=Codehighlighter1_362_710_Open_Text><SPAN style="COLOR: #000000">{<BR></SPAN><SPAN style="COLOR: #008080">30</SPAN><SPAN style="COLOR: #000000"><IMG src="http://www.shnenglu.com/images/OutliningIndicators/InBlock.gif" align=top><BR></SPAN><SPAN style="COLOR: #008080">31</SPAN><SPAN style="COLOR: #000000"><IMG src="http://www.shnenglu.com/images/OutliningIndicators/InBlock.gif" align=top>     </SPAN><SPAN style="COLOR: #0000ff">char</SPAN><SPAN style="COLOR: #000000">*</SPAN><SPAN style="COLOR: #000000"> pByte </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: #008080">32</SPAN><SPAN style="COLOR: #000000"><IMG src="http://www.shnenglu.com/images/OutliningIndicators/InBlock.gif" align=top><BR></SPAN><SPAN style="COLOR: #008080">33</SPAN><SPAN style="COLOR: #000000"><IMG src="http://www.shnenglu.com/images/OutliningIndicators/InBlock.gif" align=top>     </SPAN><SPAN style="COLOR: #0000ff">int</SPAN><SPAN style="COLOR: #000000">*</SPAN><SPAN style="COLOR: #000000"> pn4byte </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: #008080">34</SPAN><SPAN style="COLOR: #000000"><IMG src="http://www.shnenglu.com/images/OutliningIndicators/InBlock.gif" align=top><BR></SPAN><SPAN style="COLOR: #008080">35</SPAN><SPAN style="COLOR: #000000"><IMG src="http://www.shnenglu.com/images/OutliningIndicators/InBlock.gif" align=top>     </SPAN><SPAN style="COLOR: #0000ff">int</SPAN><SPAN style="COLOR: #000000"> zPos;<BR></SPAN><SPAN style="COLOR: #008080">36</SPAN><SPAN style="COLOR: #000000"><IMG src="http://www.shnenglu.com/images/OutliningIndicators/InBlock.gif" align=top><BR></SPAN><SPAN style="COLOR: #008080">37</SPAN><SPAN style="COLOR: #000000"><IMG src="http://www.shnenglu.com/images/OutliningIndicators/InBlock.gif" align=top>     pn4byte </SPAN><SPAN style="COLOR: #000000">=</SPAN><SPAN style="COLOR: #000000"> (</SPAN><SPAN style="COLOR: #0000ff">int</SPAN><SPAN style="COLOR: #000000">*</SPAN><SPAN style="COLOR: #000000">)pszString;<BR></SPAN><SPAN style="COLOR: #008080">38</SPAN><SPAN style="COLOR: #000000"><IMG src="http://www.shnenglu.com/images/OutliningIndicators/InBlock.gif" align=top><BR></SPAN><SPAN style="COLOR: #008080">39</SPAN><SPAN style="COLOR: #000000"><IMG src="http://www.shnenglu.com/images/OutliningIndicators/InBlock.gif" align=top>     </SPAN><SPAN style="COLOR: #0000ff">while</SPAN><SPAN style="COLOR: #000000"> (</SPAN><SPAN style="COLOR: #0000ff">true</SPAN><SPAN style="COLOR: #000000">)<BR></SPAN><SPAN style="COLOR: #008080">40</SPAN><SPAN style="COLOR: #000000"><IMG src="http://www.shnenglu.com/images/OutliningIndicators/InBlock.gif" align=top><BR></SPAN><SPAN style="COLOR: #008080">41</SPAN><SPAN style="COLOR: #000000"><IMG id=Codehighlighter1_485_596_Open_Image onclick="this.style.display='none'; Codehighlighter1_485_596_Open_Text.style.display='none'; Codehighlighter1_485_596_Closed_Image.style.display='inline'; Codehighlighter1_485_596_Closed_Text.style.display='inline';" src="http://www.shnenglu.com/images/OutliningIndicators/ExpandedSubBlockStart.gif" align=top><IMG id=Codehighlighter1_485_596_Closed_Image style="DISPLAY: none" onclick="this.style.display='none'; Codehighlighter1_485_596_Closed_Text.style.display='none'; Codehighlighter1_485_596_Open_Image.style.display='inline'; Codehighlighter1_485_596_Open_Text.style.display='inline';" src="http://www.shnenglu.com/images/OutliningIndicators/ContractedSubBlock.gif" align=top>     </SPAN><SPAN id=Codehighlighter1_485_596_Closed_Text style="BORDER-RIGHT: #808080 1px solid; BORDER-TOP: #808080 1px solid; DISPLAY: none; BORDER-LEFT: #808080 1px solid; BORDER-BOTTOM: #808080 1px solid; BACKGROUND-COLOR: #ffffff"><IMG src="http://www.shnenglu.com/images/dot.gif"></SPAN><SPAN id=Codehighlighter1_485_596_Open_Text><SPAN style="COLOR: #000000">{<BR></SPAN><SPAN style="COLOR: #008080">42</SPAN><SPAN style="COLOR: #000000"><IMG src="http://www.shnenglu.com/images/OutliningIndicators/InBlock.gif" align=top><BR></SPAN><SPAN style="COLOR: #008080">43</SPAN><SPAN style="COLOR: #000000"><IMG src="http://www.shnenglu.com/images/OutliningIndicators/InBlock.gif" align=top>         zPos </SPAN><SPAN style="COLOR: #000000">=</SPAN><SPAN style="COLOR: #000000"> zbyter(</SPAN><SPAN style="COLOR: #000000">*</SPAN><SPAN style="COLOR: #000000">pn4byte);<BR></SPAN><SPAN style="COLOR: #008080">44</SPAN><SPAN style="COLOR: #000000"><IMG src="http://www.shnenglu.com/images/OutliningIndicators/InBlock.gif" align=top><BR></SPAN><SPAN style="COLOR: #008080">45</SPAN><SPAN style="COLOR: #000000"><IMG src="http://www.shnenglu.com/images/OutliningIndicators/InBlock.gif" align=top>         </SPAN><SPAN style="COLOR: #0000ff">if</SPAN><SPAN style="COLOR: #000000"> (</SPAN><SPAN style="COLOR: #000000">4</SPAN><SPAN style="COLOR: #000000"> </SPAN><SPAN style="COLOR: #000000">!=</SPAN><SPAN style="COLOR: #000000"> zPos) </SPAN><SPAN style="COLOR: #0000ff">break</SPAN><SPAN style="COLOR: #000000">;<BR></SPAN><SPAN style="COLOR: #008080">46</SPAN><SPAN style="COLOR: #000000"><IMG src="http://www.shnenglu.com/images/OutliningIndicators/InBlock.gif" align=top><BR></SPAN><SPAN style="COLOR: #008080">47</SPAN><SPAN style="COLOR: #000000"><IMG src="http://www.shnenglu.com/images/OutliningIndicators/InBlock.gif" align=top>         </SPAN><SPAN style="COLOR: #000000">*</SPAN><SPAN style="COLOR: #000000">pn4byte</SPAN><SPAN style="COLOR: #000000">++</SPAN><SPAN style="COLOR: #000000"> </SPAN><SPAN style="COLOR: #000000">|=</SPAN><SPAN style="COLOR: #000000"> </SPAN><SPAN style="COLOR: #000000">0x20202020</SPAN><SPAN style="COLOR: #000000">;<BR></SPAN><SPAN style="COLOR: #008080">48</SPAN><SPAN style="COLOR: #000000"><IMG src="http://www.shnenglu.com/images/OutliningIndicators/InBlock.gif" align=top><BR></SPAN><SPAN style="COLOR: #008080">49</SPAN><SPAN style="COLOR: #000000"><IMG src="http://www.shnenglu.com/images/OutliningIndicators/ExpandedSubBlockEnd.gif" align=top>     }</SPAN></SPAN><SPAN style="COLOR: #000000"><BR></SPAN><SPAN style="COLOR: #008080">50</SPAN><SPAN style="COLOR: #000000"><IMG src="http://www.shnenglu.com/images/OutliningIndicators/InBlock.gif" align=top><BR></SPAN><SPAN style="COLOR: #008080">51</SPAN><SPAN style="COLOR: #000000"><IMG src="http://www.shnenglu.com/images/OutliningIndicators/InBlock.gif" align=top>     pByte </SPAN><SPAN style="COLOR: #000000">=</SPAN><SPAN style="COLOR: #000000"> (</SPAN><SPAN style="COLOR: #0000ff">char</SPAN><SPAN style="COLOR: #000000">*</SPAN><SPAN style="COLOR: #000000">)pn4byte;<BR></SPAN><SPAN style="COLOR: #008080">52</SPAN><SPAN style="COLOR: #000000"><IMG src="http://www.shnenglu.com/images/OutliningIndicators/InBlock.gif" align=top><BR></SPAN><SPAN style="COLOR: #008080">53</SPAN><SPAN style="COLOR: #000000"><IMG src="http://www.shnenglu.com/images/OutliningIndicators/InBlock.gif" align=top>     </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"> zPos; </SPAN><SPAN style="COLOR: #000000">++</SPAN><SPAN style="COLOR: #000000">i)<BR></SPAN><SPAN style="COLOR: #008080">54</SPAN><SPAN style="COLOR: #000000"><IMG src="http://www.shnenglu.com/images/OutliningIndicators/InBlock.gif" align=top><BR></SPAN><SPAN style="COLOR: #008080">55</SPAN><SPAN style="COLOR: #000000"><IMG src="http://www.shnenglu.com/images/OutliningIndicators/InBlock.gif" align=top>         </SPAN><SPAN style="COLOR: #000000">*</SPAN><SPAN style="COLOR: #000000">pByte</SPAN><SPAN style="COLOR: #000000">++</SPAN><SPAN style="COLOR: #000000"> </SPAN><SPAN style="COLOR: #000000">|=</SPAN><SPAN style="COLOR: #000000"> </SPAN><SPAN style="COLOR: #000000">0x20</SPAN><SPAN style="COLOR: #000000">;<BR></SPAN><SPAN style="COLOR: #008080">56</SPAN><SPAN style="COLOR: #000000"><IMG src="http://www.shnenglu.com/images/OutliningIndicators/InBlock.gif" align=top><BR></SPAN><SPAN style="COLOR: #008080">57</SPAN><SPAN style="COLOR: #000000"><IMG src="http://www.shnenglu.com/images/OutliningIndicators/InBlock.gif" align=top>     </SPAN><SPAN style="COLOR: #0000ff">return</SPAN><SPAN style="COLOR: #000000"> </SPAN><SPAN style="COLOR: #000000">1</SPAN><SPAN style="COLOR: #000000">;<BR></SPAN><SPAN style="COLOR: #008080">58</SPAN><SPAN style="COLOR: #000000"><IMG src="http://www.shnenglu.com/images/OutliningIndicators/InBlock.gif" align=top><BR></SPAN><SPAN style="COLOR: #008080">59</SPAN><SPAN style="COLOR: #000000"><IMG src="http://www.shnenglu.com/images/OutliningIndicators/ExpandedBlockEnd.gif" align=top>}</SPAN></SPAN><SPAN style="COLOR: #000000"> </SPAN></DIV>浼間箮寰堥珮鏁堢殑鏍峰瓙:)<img src ="http://www.shnenglu.com/huyi/aggbug/3678.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.shnenglu.com/huyi/" target="_blank">HuYi</a> 2006-03-03 13:01 <a href="http://www.shnenglu.com/huyi/archive/2006/03/03/3678.html#Feedback" target="_blank" style="text-decoration:none;">鍙戣〃璇勮</a></div>]]></description></item><item><title>STL涓璼tring鐨勫垵濮嬪寲闂http://www.shnenglu.com/huyi/archive/2006/03/03/3674.htmlHuYiHuYiFri, 03 Mar 2006 03:20:00 GMThttp://www.shnenglu.com/huyi/archive/2006/03/03/3674.htmlhttp://www.shnenglu.com/huyi/comments/3674.htmlhttp://www.shnenglu.com/huyi/archive/2006/03/03/3674.html#Feedback0http://www.shnenglu.com/huyi/comments/commentRss/3674.htmlhttp://www.shnenglu.com/huyi/services/trackbacks/3674.html鍦ㄩ偖浠跺垪琛ㄤ腑鏈夋湅鍙嬫彁鍑猴細

1//鎴戝笇鏈涙妸string璧嬪?0錛岀劧鍚庢樉紺?/SPAN>
2string Buffer;
3sprintf( Buffer.begin(),"%d",10);
4MessageBox(NULL,Buffer.begin(),NULL,MB_OK);

寤轟釜紼嬪簭錛岀紪璇戝畠錛屾槸閫氫笉榪囩殑銆傚師鍥犳槸Buffer娌℃湁鍒濆?WBR>錛岃皟鐢˙uffer.begin()榪斿洖鏄疦ULL錛岀涓夊彞鐢∕essageBox寮瑰嚭涓涓狽ULL鐨勫瓧絎︿覆錛岃繖鏄笉鍙彇鐨勩?BR>
1//鏀規鍚庣殑紼嬪簭
2string Buffer = "a"//鎴戦殢渚跨粰浜嗕釜鍒濆?/SPAN>
3sprintf( Buffer.begin(),"%d",10);
4MessageBox(NULL,Buffer.begin(),NULL,MB_OK);

浣嗘槸錛屼笂闈㈣繖孌電▼搴忥紝鍙鎬ц兘宸傚埆浜轟細鎯籌細浣滆呬負浠涔堢粰涓?a"鑰屼笉鏄?b"鍛紵

鎵浠ユ垜鎯寵鏁欏ぇ瀹訛細
錛?錛夎繖闂鏈夋病鏈夋洿濂界殑鏂規硶錛熸渶濂戒笉瑕丮FC錛屼篃涓嶇敤char鏁?WBR>緇勶紝鍥犱負鏁翠釜紼嬪簭涓叾瀹冨湴鏂規垜閮界敤浜唖tring銆?BR>錛?錛塖TL涓轟粈涔堣繖涔堣璁★紵
闅鵑亾瀹氫箟Buffer浠ュ悗錛岃繕娌℃湁鍒嗛厤絀洪棿錛熷鏋滃凡緇忔湁絀洪棿錛屼負浠涔堜笉鐢˙egin()榪斿洖棣栦釜瀛楃鐨勫湴鍧錛熻繖鏍峰仛鎰忎箟鍛靛湪錛?BR>


瑙g瓟涓錛?/P>

1// 榪欎箞瀹氫箟錛?/SPAN>
2string Buffer(256'\0');
3// 鎴栬?/SPAN>
4string Buffer;
5Buffer.reserve(256);

瑙g瓟浜岋細
1// 1.浣跨敤boost:Buffer = boost::lexical_cast<string>(10);
2// 2.濡傛灉涓嶆兂鐢╞oost錛?/SPAN>
3#include <sstream>
4
5std::stringstream sstr;
6sstr << 10;
7Buffer = sstr.str();
8// 鎴栬咃細
9Buffer = (std::stringstream() << 10).str(); 

瑙g瓟涓夛細
 1  std::vector<char> buf(buffer_size, 0);
 2  _snprintf(&buf[0], buffer_size, "%d\0"10);
 3  // 璧嬪肩粰瀛楃涓?/SPAN>
 4  std::string str = &buf[0];
 5  MessageBox(NULL, str.c_str(), NULL, MB_OK);
 6//濂藉錛?BR> 7//    1. 浣跨敤std::vector閬垮厤鎵嬪姩new/delete
 8//    2. 浣跨敤stl鍙互鍏呭垎鍒╃敤stl鐨刟lloc錛堝stlport鐨刴emory pool)
 9//    3. 浣跨敤_snprintf闃叉婧㈠嚭
10//    4. std::string = std::vector錛堝畨閫?錛?/SPAN>

瑙g瓟鍥涳細
1  char buf[32];
2  _snprintf(buf, 32"%d"10);//鎴栬呯敤itoa(10, buf, 10);
3  string str = buf;

鏈夋湅鍙嬪彂鐜頒竴涓敊璇細
鐪嬪埌涓涓槑鏄鵑敊璇殑鍋氭硶錛?/FONT>str.reserve(NLEN)涔嬪悗鐩存帴鍘?/SPAN>sprintf銆傝鐭ラ亾reserve鍙槸鎶?/SPAN>capacity鎵╁厖鍒?/SPAN>NLEN錛屽茍涓嶄細鎵╁厖size銆傚浜庢煇浜涙爣鍑嗗簱瀹炵幇錛岃繖鏍風殑鍋氭硶鏋佺鍗遍櫓錛屽畠浼氱牬鍧?/SPAN>string鐨勪笉鍙樺紡錛屽鑷翠竴緋誨垪涓ラ噸闂錛屾瘮濡?/SPAN>str.size()鍜?/SPAN>str.length()寰楀埌閿欒鐨勫箋?BR>
oscar.ken@gmail.com錛?BR>
 1#ifdef  UNICODE
 2
 3# define tchar wchar_t
 4# define tstring std::wstring
 5
 6#else
 7
 8# define tchar char
 9# define tstring std::string
10
11#endif
12inline tstring FormatString(const tchar* fmt, )
13{
14 static tchar tmp[2048];
15 memset(tmp, 02048 * sizeof(tchar));
16 va_list args;
17 va_start(args, fmt);
18 int re = _vsntprintf(tmp, 2048, fmt, args);
19 va_end(args);
20 return tstring(tmp);
21}

22
23// 濡傛灉2048涓嶅鐢紝鍙互鏀歸犱竴涓猼emplate鐗堟湰

鍗冮噷椹倽錛?BR>
濡傛灉榪欐牱
閭d笉濡傜洿鎺ヤ嬌鐢╞oost::format瀵煎嚭涓涓猻tream鐨剆tring錛屾洿瀹夐革紙褰撶劧浼氭參涓浜涳級
 
PS錛屽浜嶧ormatString涓轟簡淇濊瘉format鍑烘潵鐨勬槸涓涓猻tring錛屾瘡嬈emset錛屼釜浜鴻涓烘棤澶у繀瑕侊紝涓嶅鑷姩鍦╢ormatstring鐨勬渶鍚庢瘡嬈¤嚜鍔ㄥ姞涓奬
0  (XD)

濡傛灉鎴戞病鏈夎閿欑殑璇?BR>_snprintf鏄笉浼氳嚜鍔ㄨˉ\0鐨?BR>鑰宻printf浼?BR>鎵浠ヨ涔坈har buf[32= {0}錛岃涔坃snprintf( "%d\0")
鍙﹀vector鐨勪嬌鐢ㄦ槸涓轟簡閰嶅悎鈥滀笉瀹氶暱buf鈥濊屽瓨鍦紝騫墮潪buf[
32]鐨勬浛浠e搧

Jiong Tu錛?BR>
浣犳悶閿欎簡,涓嶈ˉ0鐨勬槸strncpy,涓嶆槸snprintf

鍚村拸鐐滐細
鐢?nbsp;STL 鐨勬渶澶уソ澶勫氨鏄┖闂村ぇ灝忓彲浠ヨ嚜鍔ㄥ闀匡紝涓嶄細鍙戠敓緙撳啿鍖烘孩鍑猴紙瀹夊叏闂?BR>棰橈級銆傚惁鍒欙紝鍙堜綍蹇呬粯鍑虹紦鎱㈢殑鍫嗕笂鍒嗛厤鐨勪唬浠峰憿錛熲斺旈櫎闈炶鎶婄粨鏋滀紶鍥炲幓錛岄偅榪?BR>鏈夋剰涔夛紱浣嗘渶鍒濊嫃鐩婂澗鎻愬嚭鐨勯棶棰樹腑騫朵笉瀛樺湪榪欐牱鐨勯渶姹傘?BR>
鍙﹀欏轟究鎻愪竴涓嬶紝濡傛灉鏍堜笂鍒嗛厤鍐呭瓨澶у皬涓嶅浐瀹氾紝涔熶笉涓瀹氬氨瑕佹敼鐢ㄥ爢涓婂垎閰嶃?BR>C99 鏀寔鏁扮粍澶у皬榪愯鏃跺喅瀹氾紙鑰岄潪 C89
/C++98 鐨勭紪璇戞椂鍐沖畾錛夛紝鑰岋紙涓嶆敮鎸?BR>C99 鐨勶級澶ч儴鍒?nbsp;C/C++ 緙栬瘧鍣ㄤ篃閮芥敮鎸佷竴涓潪鏍囧噯鐨?nbsp;alloca 鍑芥暟鐢ㄤ簬榪涜鏍堜笂
鍒嗛厤銆傝繖涓嚱鏁伴氬父鐢辯紪璇戝櫒鍐呰仈瀹炵幇錛岄渶瑕佹晥鐜囩殑鍦哄悎浼氱敤寰椾笂銆?BR>
鍙﹀錛屼綘嫻嬪嚭鐨?nbsp;
50% 搴斿綋鏄諱綋鐨勬ц兘涓嬮檷銆傜函綺圭殑鍐呭瓨鍒嗛厤/閲婃斁鎿嶄綔錛屽爢涓婂垎
閰嶅拰鏍堜笂鍒嗛厤鐨勬ц兘鏍規湰涓嶅湪鍚屼竴涓噺綰э紝宸窛閫氬父鍦ㄥ崄鍊嶄互涓娿?/SPAN>


HuYi 2006-03-03 11:20 鍙戣〃璇勮
]]>
国产精品99久久99久久久| 欧美精品九九99久久在观看| 亚洲AV日韩AV永久无码久久| 亚洲AV日韩精品久久久久久| 久久久青草青青亚洲国产免观| 久久国产精品国产自线拍免费| 精品国产日韩久久亚洲| 国产精品一区二区久久精品涩爱 | 一本久道久久综合狠狠爱| 亚洲?V乱码久久精品蜜桃| 久久WWW免费人成一看片| 88久久精品无码一区二区毛片 | 99久久久精品| 久久精品亚洲欧美日韩久久| 久久综合噜噜激激的五月天| 久久91精品综合国产首页| 久久亚洲精品成人av无码网站| 国产午夜精品久久久久九九电影| 欧美午夜A∨大片久久| 嫩草伊人久久精品少妇AV| 99久久这里只精品国产免费| 久久成人精品视频| 精品蜜臀久久久久99网站| 久久久久久亚洲精品不卡 | 久久精品人人做人人爽97| 国产午夜精品理论片久久| 国产精品岛国久久久久| 亚洲精品美女久久777777| 麻豆av久久av盛宴av| 色欲综合久久躁天天躁| 欧美日韩中文字幕久久久不卡| 久久国产福利免费| AV狠狠色丁香婷婷综合久久| 国产亚洲精久久久久久无码77777| 国产精品久久婷婷六月丁香| 欧美久久一级内射wwwwww.| 成人精品一区二区久久久| 国内精品久久久久国产盗摄| 伊人色综合久久天天| 91久久精品电影| 久久免费国产精品|