锘??xml version="1.0" encoding="utf-8" standalone="yes"?>中文字幕无码免费久久,亚洲国产欧洲综合997久久,久久久久香蕉视频http://www.shnenglu.com/tdweng/category/16557.htmlzh-cnFri, 29 Mar 2013 17:19:20 GMTFri, 29 Mar 2013 17:19:20 GMT60VC鍗婅涓庡叏瑙掔殑杞崲http://www.shnenglu.com/tdweng/articles/145677.html蹇冪窘蹇冪窘Wed, 04 May 2011 08:41:00 GMThttp://www.shnenglu.com/tdweng/articles/145677.htmlhttp://www.shnenglu.com/tdweng/comments/145677.htmlhttp://www.shnenglu.com/tdweng/articles/145677.html#Feedback0http://www.shnenglu.com/tdweng/comments/commentRss/145677.htmlhttp://www.shnenglu.com/tdweng/services/trackbacks/145677.html1.鍗婅杞崲涓哄叏瑙?/p>

CString CTestExcelChange091230Dlg::DbcToSbc(CString stringText)
{
 CString str=L"";

 int nLength=stringText.GetLength();
 ASSERT(nLength!=0);
 TCHAR *c=new TCHAR[sizeof(TCHAR)*nLength+1];
 memset(c,0,sizeof(TCHAR)*nLength+1);
 wcscpy(c,stringText);
 for (int i=0;i<nLength;i++)
 {
  if (c[i]==32)
  
   c[i]=(TCHAR)12288;
   continue;
  }
   if (c[i]<127)
  {
   c[i]=(TCHAR)(c[i]+65248);
  }

 }

 str.Format(L"%s",c);

 delete c;
 c=NULL;
 return str; 
}

2.鍏ㄨ杞崲涓哄崐瑙?/p>

CString CSpss::SbcToDbc(CString stringText)
{
 CString str=L"";

 int nLength=stringText.GetLength();
 ASSERT(nLength!=0);
 TCHAR *c=new TCHAR[sizeof(TCHAR)*nLength+1];
 memset(c,0,sizeof(TCHAR)*nLength+1);
 wcscpy(c,stringText);
 for (int i=0;i<nLength;i++)
 {
  if (c[i]==12288)
  { c[i]=(TCHAR)32;
  continue;
  }
  if (c[i]>65280 && c[i]<65375)
   c[i]=(TCHAR)(c[i]-65248);
 }

 str.Format(L"%s",c);

 delete c;
 c=NULL;
 return str; 
}

 

榪欐紼嬪簭浠婂ぉ鐪嬫潵鏈夎澶氫笉濂界殑鍦版柟錛岀幇灝嗙涓涓▼搴忓叾鏀逛負濡備笅錛?/p>

void CTestDlg2008Dlg::DbcToSbc(const CString stringText,CString &str)
{
 int nLength=stringText.GetLength();
 ASSERT(nLength!=0);
 TCHAR *c=new TCHAR[sizeof(TCHAR)*nLength+1];
 memset(c,0,sizeof(TCHAR)*nLength+1);
 wcscpy(c,stringText);
 for (int i=0;i<nLength;i++)
 {
  if (c[i]==32)
  {
   c[i]=(TCHAR)12288;
   continue;
  }
  if (c[i]<127)
  {
   c[i]=(TCHAR)(c[i]+65248);
  }

 }

 str.Format(L"%s",c);

 delete []c;
 c=NULL;
}
2010.7.3

 

 



蹇冪窘 2011-05-04 16:41 鍙戣〃璇勮
]]>
濂囧伓鏍¢獙鐮?/title><link>http://www.shnenglu.com/tdweng/articles/144090.html</link><dc:creator>蹇冪窘</dc:creator><author>蹇冪窘</author><pubDate>Wed, 13 Apr 2011 01:42:00 GMT</pubDate><guid>http://www.shnenglu.com/tdweng/articles/144090.html</guid><wfw:comment>http://www.shnenglu.com/tdweng/comments/144090.html</wfw:comment><comments>http://www.shnenglu.com/tdweng/articles/144090.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.shnenglu.com/tdweng/comments/commentRss/144090.html</wfw:commentRss><trackback:ping>http://www.shnenglu.com/tdweng/services/trackbacks/144090.html</trackback:ping><description><![CDATA[濂囧伓鏍¢獙鐮? <img src ="http://www.shnenglu.com/tdweng/aggbug/144090.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.shnenglu.com/tdweng/" target="_blank">蹇冪窘</a> 2011-04-13 09:42 <a href="http://www.shnenglu.com/tdweng/articles/144090.html#Feedback" target="_blank" style="text-decoration:none;">鍙戣〃璇勮</a></div>]]></description></item><item><title>CRC鏍¢獙http://www.shnenglu.com/tdweng/articles/143781.html蹇冪窘蹇冪窘Sat, 09 Apr 2011 02:27:00 GMThttp://www.shnenglu.com/tdweng/articles/143781.htmlhttp://www.shnenglu.com/tdweng/comments/143781.htmlhttp://www.shnenglu.com/tdweng/articles/143781.html#Feedback0http://www.shnenglu.com/tdweng/comments/commentRss/143781.htmlhttp://www.shnenglu.com/tdweng/services/trackbacks/143781.html闃呰鍏ㄦ枃

蹇冪窘 2011-04-09 10:27 鍙戣〃璇勮
]]>
char宸ヤ綔鎬葷粨http://www.shnenglu.com/tdweng/articles/134767.html蹇冪窘蹇冪窘Fri, 26 Nov 2010 15:23:00 GMThttp://www.shnenglu.com/tdweng/articles/134767.htmlhttp://www.shnenglu.com/tdweng/comments/134767.htmlhttp://www.shnenglu.com/tdweng/articles/134767.html#Feedback0http://www.shnenglu.com/tdweng/comments/commentRss/134767.htmlhttp://www.shnenglu.com/tdweng/services/trackbacks/134767.html
鍦–/C++璇█涓紝char鍙橀噺涓轟竴涓瓧鑺傦紝8浣嶏紝signed char琛ㄧず鐨勮寖鍥達細-128~127銆?128鍦ㄥ唴瀛樹腑鐨勪簩榪涘埗琛ㄧず涓?000 0000錛?27鍦ㄥ唴瀛樹腑鐨勮〃紺轟負0111 1111銆戯紱unsign char琛ㄧず鐨勮寖鍥達細0000 0000~1111 1111錛屽嵆0~255

娉ㄦ剰錛氭暣鏁板湪鍐呭瓨涓槸浠ヨˉ鐮佸瓨鍙栫殑錛屾鏁扮殑琛ョ爜錛氱瓑浜庤嚜宸憋紝璐熸暟鐨勮ˉ鐮侊細鍙栧弽鍔?錛屼緥濡傦細127鍦ㄥ唴瀛樹腑琛ㄧず涓?111 1111錛?-127鍦ㄥ唴瀛樹腑琛ㄧず涓簙(0111 1111)+1=1000 0001錛?鍋囧畾鏌愬唴瀛樺崟鍏僷鐨勫唴瀹規槸1111 1111錛岄偅涔堝畠涓瀹氭槸255鍚楋紵瀹為檯涓婂彇鍐充簬浣犵殑浠g爜鏄鎶婂畠鐪嬫垚鏈夌鍙瘋繕鏄棤絎﹀彿鏁幫紝濡傛灉鏄棤絎﹀彿鍒欒〃紺?55錛屽鏋滄槸鏈夌鍙峰垯琛ㄧず-1銆愬浜庢湁絎﹀彿鏁幫紝鏈楂樹綅涓虹鍙蜂綅錛?琛ㄧず璐燂紝0琛ㄧず姝c戯細
signed char c=*p; //c=-1
unsigned char c=*p;//c=255
榪欎篃瑙i噴浜嗕笂闈㈣繖孌典唬鐮佽兘鍒ゆ柇緙栬瘧鍣ㄩ粯璁har綾誨瀷

鍦?char 銆乽nsigned char銆乻igned char涓夎呯浉浜掕漿鎹腑錛屽茍涓嶄涪澶辨暟鎹?/strong>
鍦ㄥ疄闄呭伐浣滀腑錛宑har鐨勭敤閫旇繕鏄緢澶х殑銆備互涓嬪皢宸ヤ綔涓亣鍒扮殑闂璁板綍銆?br>1.unsigned char m_ucStr[] = {0x31,0x32};
   褰揷har閲岄潰鏄?6榪涘埗鏃訛紝鍐呭瓨閲岄潰鍊兼槸涓鏍風殑銆?br>  
  1.1 鑻ユ兂瀹炵幇鍐呭瓨閲岀殑鏁版嵁鏄?132閲?br>       unsigned  char *str = new unsigned char[sizeof(m_ucStr)];
      CopyMemory(str,array,sizeof(m_ucStr));
2.unsigned char m_ucStr[] = {31,32};
  褰揷har閲岄潰鏄?0榪涘埗鏃訛紝鍐呭瓨10榪涘埗杞負16榪涘埗
 
3.鍦ㄨ繘鍒?char * 鍜?char *瀛楃涓插鍒舵椂錛岃嫢涓嶆寚瀹氭簮瀛楃涓查暱搴︼紝鐢?strcpy,鑻ユ寚瀹氭簮瀛楃涓查暱搴︼紝鐢╯trncpy.浣嗗綋婧愬瓧絎﹀唴瀛樻湁 0x00鏃訛紝鍒欏啀涔熶笉鑳界敤 strcpy鍜宻trncpy浜嗭紝鍙兘鐢?memcpy.鍥犱負memcpy涓嶄互0x00涓烘寚瀹氱粨鏉熺


蹇冪窘 2010-11-26 23:23 鍙戣〃璇勮
]]>
閲嶅啓String綾?/title><link>http://www.shnenglu.com/tdweng/articles/129083.html</link><dc:creator>蹇冪窘</dc:creator><author>蹇冪窘</author><pubDate>Fri, 08 Oct 2010 13:37:00 GMT</pubDate><guid>http://www.shnenglu.com/tdweng/articles/129083.html</guid><wfw:comment>http://www.shnenglu.com/tdweng/comments/129083.html</wfw:comment><comments>http://www.shnenglu.com/tdweng/articles/129083.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.shnenglu.com/tdweng/comments/commentRss/129083.html</wfw:commentRss><trackback:ping>http://www.shnenglu.com/tdweng/services/trackbacks/129083.html</trackback:ping><description><![CDATA[<p> </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: #0000ff">class</span><span style="COLOR: #000000"> String<br><img id=Codehighlighter1_13_180_Open_Image onclick="this.style.display='none'; Codehighlighter1_13_180_Open_Text.style.display='none'; Codehighlighter1_13_180_Closed_Image.style.display='inline'; Codehighlighter1_13_180_Closed_Text.style.display='inline';" src="http://www.shnenglu.com/Images/OutliningIndicators/ExpandedBlockStart.gif" align=top><img id=Codehighlighter1_13_180_Closed_Image style="DISPLAY: none" onclick="this.style.display='none'; Codehighlighter1_13_180_Closed_Text.style.display='none'; Codehighlighter1_13_180_Open_Image.style.display='inline'; Codehighlighter1_13_180_Open_Text.style.display='inline';" src="http://www.shnenglu.com/Images/OutliningIndicators/ContractedBlock.gif" align=top></span><span id=Codehighlighter1_13_180_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_13_180_Open_Text><span style="COLOR: #000000">{<br><img src="http://www.shnenglu.com/Images/OutliningIndicators/InBlock.gif" align=top></span><span style="COLOR: #0000ff">public</span><span style="COLOR: #000000">:<br><img src="http://www.shnenglu.com/Images/OutliningIndicators/InBlock.gif" align=top> String(</span><span style="COLOR: #0000ff">const</span><span style="COLOR: #000000"> </span><span style="COLOR: #0000ff">char</span><span style="COLOR: #000000"> </span><span style="COLOR: #000000">*</span><span style="COLOR: #000000">str </span><span style="COLOR: #000000">=</span><span style="COLOR: #000000"> NULL);//鏅氭瀯閫犲嚱鏁?br><img src="http://www.shnenglu.com/Images/OutliningIndicators/InBlock.gif" align=top> String(</span><span style="COLOR: #0000ff">const</span><span style="COLOR: #000000"> String </span><span style="COLOR: #000000">&</span><span style="COLOR: #000000">other);//鎷瘋礉鏋勯犲嚱鏁?br><img src="http://www.shnenglu.com/Images/OutliningIndicators/InBlock.gif" align=top> </span><span style="COLOR: #000000">~</span><span style="COLOR: #000000">String(</span><span style="COLOR: #0000ff">void</span><span style="COLOR: #000000">);//鏅氭瀽鏋勫嚱鏁?br><img src="http://www.shnenglu.com/Images/OutliningIndicators/InBlock.gif" align=top> String </span><span style="COLOR: #000000">&</span><span style="COLOR: #0000ff">operator</span><span style="COLOR: #000000"> </span><span style="COLOR: #000000">=</span><span style="COLOR: #000000"> (</span><span style="COLOR: #0000ff">const</span><span style="COLOR: #000000"> String </span><span style="COLOR: #000000">&</span><span style="COLOR: #000000">other);//璧嬪煎嚱鏁?br><img src="http://www.shnenglu.com/Images/OutliningIndicators/InBlock.gif" align=top></span><span style="COLOR: #0000ff">protected</span><span style="COLOR: #000000">:<br><img src="http://www.shnenglu.com/Images/OutliningIndicators/InBlock.gif" align=top></span><span style="COLOR: #0000ff">private</span><span style="COLOR: #000000">:<br><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">*</span><span style="COLOR: #000000">m_data;<br><img src="http://www.shnenglu.com/Images/OutliningIndicators/ExpandedBlockEnd.gif" align=top>}</span></span><span style="COLOR: #000000">;<br><img src="http://www.shnenglu.com/Images/OutliningIndicators/None.gif" align=top>String::</span><span style="COLOR: #000000">~</span><span style="COLOR: #000000">String(</span><span style="COLOR: #0000ff">void</span><span style="COLOR: #000000">)<br><img id=Codehighlighter1_205_228_Open_Image onclick="this.style.display='none'; Codehighlighter1_205_228_Open_Text.style.display='none'; Codehighlighter1_205_228_Closed_Image.style.display='inline'; Codehighlighter1_205_228_Closed_Text.style.display='inline';" src="http://www.shnenglu.com/Images/OutliningIndicators/ExpandedBlockStart.gif" align=top><img id=Codehighlighter1_205_228_Closed_Image style="DISPLAY: none" onclick="this.style.display='none'; Codehighlighter1_205_228_Closed_Text.style.display='none'; Codehighlighter1_205_228_Open_Image.style.display='inline'; Codehighlighter1_205_228_Open_Text.style.display='inline';" src="http://www.shnenglu.com/Images/OutliningIndicators/ContractedBlock.gif" align=top></span><span id=Codehighlighter1_205_228_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_205_228_Open_Text><span style="COLOR: #000000">{<br><img src="http://www.shnenglu.com/Images/OutliningIndicators/InBlock.gif" align=top>    delete []m_data;<br><img src="http://www.shnenglu.com/Images/OutliningIndicators/ExpandedBlockEnd.gif" align=top>}</span></span><span style="COLOR: #000000"><br><img id=Codehighlighter1_261_272_Open_Image onclick="this.style.display='none'; Codehighlighter1_261_272_Open_Text.style.display='none'; Codehighlighter1_261_272_Closed_Image.style.display='inline'; Codehighlighter1_261_272_Closed_Text.style.display='inline';" src="http://www.shnenglu.com/Images/OutliningIndicators/ExpandedBlockStart.gif" align=top><img id=Codehighlighter1_261_272_Closed_Image style="DISPLAY: none" onclick="this.style.display='none'; Codehighlighter1_261_272_Closed_Text.style.display='none'; Codehighlighter1_261_272_Open_Image.style.display='inline'; Codehighlighter1_261_272_Open_Text.style.display='inline';" src="http://www.shnenglu.com/Images/OutliningIndicators/ContractedBlock.gif" align=top>String::String(</span><span style="COLOR: #0000ff">const</span><span style="COLOR: #000000"> </span><span style="COLOR: #0000ff">char</span><span style="COLOR: #000000"> </span><span style="COLOR: #000000">*</span><span style="COLOR: #000000">str </span><span id=Codehighlighter1_261_272_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_261_272_Open_Text><span style="COLOR: #008000">/*</span><span style="COLOR: #008000"> = NULL </span><span style="COLOR: #008000">*/</span></span><span style="COLOR: #000000">)<br><img id=Codehighlighter1_275_430_Open_Image onclick="this.style.display='none'; Codehighlighter1_275_430_Open_Text.style.display='none'; Codehighlighter1_275_430_Closed_Image.style.display='inline'; Codehighlighter1_275_430_Closed_Text.style.display='inline';" src="http://www.shnenglu.com/Images/OutliningIndicators/ExpandedBlockStart.gif" align=top><img id=Codehighlighter1_275_430_Closed_Image style="DISPLAY: none" onclick="this.style.display='none'; Codehighlighter1_275_430_Closed_Text.style.display='none'; Codehighlighter1_275_430_Open_Image.style.display='inline'; Codehighlighter1_275_430_Open_Text.style.display='inline';" src="http://www.shnenglu.com/Images/OutliningIndicators/ContractedBlock.gif" align=top></span><span id=Codehighlighter1_275_430_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_275_430_Open_Text><span style="COLOR: #000000">{<br><img src="http://www.shnenglu.com/Images/OutliningIndicators/InBlock.gif" align=top> </span><span style="COLOR: #0000ff">if</span><span style="COLOR: #000000">(str </span><span style="COLOR: #000000">==</span><span style="COLOR: #000000"> NULL)<br><img id=Codehighlighter1_295_341_Open_Image onclick="this.style.display='none'; Codehighlighter1_295_341_Open_Text.style.display='none'; Codehighlighter1_295_341_Closed_Image.style.display='inline'; Codehighlighter1_295_341_Closed_Text.style.display='inline';" src="http://www.shnenglu.com/Images/OutliningIndicators/ExpandedSubBlockStart.gif" align=top><img id=Codehighlighter1_295_341_Closed_Image style="DISPLAY: none" onclick="this.style.display='none'; Codehighlighter1_295_341_Closed_Text.style.display='none'; Codehighlighter1_295_341_Open_Image.style.display='inline'; Codehighlighter1_295_341_Open_Text.style.display='inline';" src="http://www.shnenglu.com/Images/OutliningIndicators/ContractedSubBlock.gif" align=top> </span><span id=Codehighlighter1_295_341_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_295_341_Open_Text><span style="COLOR: #000000">{<br><img src="http://www.shnenglu.com/Images/OutliningIndicators/InBlock.gif" align=top>  m_data </span><span style="COLOR: #000000">=</span><span style="COLOR: #000000"> </span><span style="COLOR: #0000ff">new</span><span style="COLOR: #000000"> </span><span style="COLOR: #0000ff">char</span><span style="COLOR: #000000">[</span><span style="COLOR: #000000">1</span><span style="COLOR: #000000">];<br><img src="http://www.shnenglu.com/Images/OutliningIndicators/InBlock.gif" align=top>  </span><span style="COLOR: #000000">*</span><span style="COLOR: #000000">m_data </span><span style="COLOR: #000000">=</span><span style="COLOR: #000000"> </span><span style="COLOR: #000000">'</span><span style="COLOR: #000000">\0</span><span style="COLOR: #000000">'</span><span style="COLOR: #000000">;<br><img src="http://www.shnenglu.com/Images/OutliningIndicators/ExpandedSubBlockEnd.gif" align=top> }</span></span><span style="COLOR: #000000"><br><img src="http://www.shnenglu.com/Images/OutliningIndicators/InBlock.gif" align=top> </span><span style="COLOR: #0000ff">else</span><span style="COLOR: #000000"><br><img id=Codehighlighter1_350_428_Open_Image onclick="this.style.display='none'; Codehighlighter1_350_428_Open_Text.style.display='none'; Codehighlighter1_350_428_Closed_Image.style.display='inline'; Codehighlighter1_350_428_Closed_Text.style.display='inline';" src="http://www.shnenglu.com/Images/OutliningIndicators/ExpandedSubBlockStart.gif" align=top><img id=Codehighlighter1_350_428_Closed_Image style="DISPLAY: none" onclick="this.style.display='none'; Codehighlighter1_350_428_Closed_Text.style.display='none'; Codehighlighter1_350_428_Open_Image.style.display='inline'; Codehighlighter1_350_428_Open_Text.style.display='inline';" src="http://www.shnenglu.com/Images/OutliningIndicators/ContractedSubBlock.gif" align=top> </span><span id=Codehighlighter1_350_428_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_350_428_Open_Text><span style="COLOR: #000000">{<br><img src="http://www.shnenglu.com/Images/OutliningIndicators/InBlock.gif" align=top>  </span><span style="COLOR: #0000ff">int</span><span style="COLOR: #000000"> len </span><span style="COLOR: #000000">=</span><span style="COLOR: #000000"> strlen(str);<br><img src="http://www.shnenglu.com/Images/OutliningIndicators/InBlock.gif" align=top>  m_data </span><span style="COLOR: #000000">=</span><span style="COLOR: #000000"> </span><span style="COLOR: #0000ff">new</span><span style="COLOR: #000000"> </span><span style="COLOR: #0000ff">char</span><span style="COLOR: #000000">[len</span><span style="COLOR: #000000">+</span><span style="COLOR: #000000">1</span><span style="COLOR: #000000">];<br><img src="http://www.shnenglu.com/Images/OutliningIndicators/InBlock.gif" align=top>  strcpy(m_data,str);<br><img src="http://www.shnenglu.com/Images/OutliningIndicators/ExpandedSubBlockEnd.gif" align=top> }</span></span><span style="COLOR: #000000"><br><img src="http://www.shnenglu.com/Images/OutliningIndicators/ExpandedBlockEnd.gif" align=top>}</span></span><span style="COLOR: #000000"><br><img src="http://www.shnenglu.com/Images/OutliningIndicators/None.gif" align=top>String::String(</span><span style="COLOR: #0000ff">const</span><span style="COLOR: #000000"> String </span><span style="COLOR: #000000">&</span><span style="COLOR: #000000">other)<br><img id=Codehighlighter1_468_566_Open_Image onclick="this.style.display='none'; Codehighlighter1_468_566_Open_Text.style.display='none'; Codehighlighter1_468_566_Closed_Image.style.display='inline'; Codehighlighter1_468_566_Closed_Text.style.display='inline';" src="http://www.shnenglu.com/Images/OutliningIndicators/ExpandedBlockStart.gif" align=top><img id=Codehighlighter1_468_566_Closed_Image style="DISPLAY: none" onclick="this.style.display='none'; Codehighlighter1_468_566_Closed_Text.style.display='none'; Codehighlighter1_468_566_Open_Image.style.display='inline'; Codehighlighter1_468_566_Open_Text.style.display='inline';" src="http://www.shnenglu.com/Images/OutliningIndicators/ContractedBlock.gif" align=top></span><span id=Codehighlighter1_468_566_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_468_566_Open_Text><span style="COLOR: #000000">{<br><img src="http://www.shnenglu.com/Images/OutliningIndicators/InBlock.gif" align=top> </span><span style="COLOR: #0000ff">int</span><span style="COLOR: #000000"> length </span><span style="COLOR: #000000">=</span><span style="COLOR: #000000"> strlen(other.m_data);<br><img src="http://www.shnenglu.com/Images/OutliningIndicators/InBlock.gif" align=top> m_data </span><span style="COLOR: #000000">=</span><span style="COLOR: #000000"> </span><span style="COLOR: #0000ff">new</span><span style="COLOR: #000000"> </span><span style="COLOR: #0000ff">char</span><span style="COLOR: #000000">[length</span><span style="COLOR: #000000">+</span><span style="COLOR: #000000">1</span><span style="COLOR: #000000">];<br><img src="http://www.shnenglu.com/Images/OutliningIndicators/InBlock.gif" align=top> strcpy(m_data,other.m_data);<br><img src="http://www.shnenglu.com/Images/OutliningIndicators/ExpandedBlockEnd.gif" align=top>}</span></span><span style="COLOR: #000000"><br><img src="http://www.shnenglu.com/Images/OutliningIndicators/None.gif" align=top>String </span><span style="COLOR: #000000">&</span><span style="COLOR: #000000">String::</span><span style="COLOR: #0000ff">operator</span><span style="COLOR: #000000">=</span><span style="COLOR: #000000">(</span><span style="COLOR: #0000ff">const</span><span style="COLOR: #000000"> String </span><span style="COLOR: #000000">&</span><span style="COLOR: #000000">other)<br><img id=Codehighlighter1_615_788_Open_Image onclick="this.style.display='none'; Codehighlighter1_615_788_Open_Text.style.display='none'; Codehighlighter1_615_788_Closed_Image.style.display='inline'; Codehighlighter1_615_788_Closed_Text.style.display='inline';" src="http://www.shnenglu.com/Images/OutliningIndicators/ExpandedBlockStart.gif" align=top><img id=Codehighlighter1_615_788_Closed_Image style="DISPLAY: none" onclick="this.style.display='none'; Codehighlighter1_615_788_Closed_Text.style.display='none'; Codehighlighter1_615_788_Open_Image.style.display='inline'; Codehighlighter1_615_788_Open_Text.style.display='inline';" src="http://www.shnenglu.com/Images/OutliningIndicators/ContractedBlock.gif" align=top></span><span id=Codehighlighter1_615_788_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_615_788_Open_Text><span style="COLOR: #000000">{<br><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: #0000ff">this</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">other)<br><img id=Codehighlighter1_638_657_Open_Image onclick="this.style.display='none'; Codehighlighter1_638_657_Open_Text.style.display='none'; Codehighlighter1_638_657_Closed_Image.style.display='inline'; Codehighlighter1_638_657_Closed_Text.style.display='inline';" src="http://www.shnenglu.com/Images/OutliningIndicators/ExpandedSubBlockStart.gif" align=top><img id=Codehighlighter1_638_657_Closed_Image style="DISPLAY: none" onclick="this.style.display='none'; Codehighlighter1_638_657_Closed_Text.style.display='none'; Codehighlighter1_638_657_Open_Image.style.display='inline'; Codehighlighter1_638_657_Open_Text.style.display='inline';" src="http://www.shnenglu.com/Images/OutliningIndicators/ContractedSubBlock.gif" align=top> </span><span id=Codehighlighter1_638_657_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_638_657_Open_Text><span style="COLOR: #000000">{<br><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">*</span><span style="COLOR: #0000ff">this</span><span style="COLOR: #000000">;<br><img src="http://www.shnenglu.com/Images/OutliningIndicators/ExpandedSubBlockEnd.gif" align=top> }</span></span><span style="COLOR: #000000"><br><img src="http://www.shnenglu.com/Images/OutliningIndicators/InBlock.gif" align=top> delete []m_data;<br><img src="http://www.shnenglu.com/Images/OutliningIndicators/InBlock.gif" align=top> </span><span style="COLOR: #0000ff">int</span><span style="COLOR: #000000"> length </span><span style="COLOR: #000000">=</span><span style="COLOR: #000000"> strlen(other.m_data);<br><img src="http://www.shnenglu.com/Images/OutliningIndicators/InBlock.gif" align=top> m_data </span><span style="COLOR: #000000">=</span><span style="COLOR: #000000"> </span><span style="COLOR: #0000ff">new</span><span style="COLOR: #000000"> </span><span style="COLOR: #0000ff">char</span><span style="COLOR: #000000">[length</span><span style="COLOR: #000000">+</span><span style="COLOR: #000000">1</span><span style="COLOR: #000000">];<br><img src="http://www.shnenglu.com/Images/OutliningIndicators/InBlock.gif" align=top> strcpy(m_data,other.m_data);<br><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">*</span><span style="COLOR: #0000ff">this</span><span style="COLOR: #000000">;<br><img src="http://www.shnenglu.com/Images/OutliningIndicators/ExpandedBlockEnd.gif" align=top>}</span></span><span style="COLOR: #000000"><br><img src="http://www.shnenglu.com/Images/OutliningIndicators/None.gif" align=top></span><span style="COLOR: #0000ff">int</span><span style="COLOR: #000000"> main(</span><span style="COLOR: #0000ff">int</span><span style="COLOR: #000000"> argc, </span><span style="COLOR: #0000ff">char</span><span style="COLOR: #000000">*</span><span style="COLOR: #000000"> argv[])<br><img id=Codehighlighter1_823_905_Open_Image onclick="this.style.display='none'; Codehighlighter1_823_905_Open_Text.style.display='none'; Codehighlighter1_823_905_Closed_Image.style.display='inline'; Codehighlighter1_823_905_Closed_Text.style.display='inline';" src="http://www.shnenglu.com/Images/OutliningIndicators/ExpandedBlockStart.gif" align=top><img id=Codehighlighter1_823_905_Closed_Image style="DISPLAY: none" onclick="this.style.display='none'; Codehighlighter1_823_905_Closed_Text.style.display='none'; Codehighlighter1_823_905_Open_Image.style.display='inline'; Codehighlighter1_823_905_Open_Text.style.display='inline';" src="http://www.shnenglu.com/Images/OutliningIndicators/ContractedBlock.gif" align=top></span><span id=Codehighlighter1_823_905_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_823_905_Open_Text><span style="COLOR: #000000">{<br><img src="http://www.shnenglu.com/Images/OutliningIndicators/InBlock.gif" align=top> String str(</span><span style="COLOR: #000000">"</span><span style="COLOR: #000000">Hello</span><span style="COLOR: #000000">"</span><span style="COLOR: #000000">);<br><img src="http://www.shnenglu.com/Images/OutliningIndicators/InBlock.gif" align=top> String str1 </span><span style="COLOR: #000000">=</span><span style="COLOR: #000000"> str;<br><img src="http://www.shnenglu.com/Images/OutliningIndicators/InBlock.gif" align=top> String str2;<br><img src="http://www.shnenglu.com/Images/OutliningIndicators/InBlock.gif" align=top> str2 </span><span style="COLOR: #000000">=</span><span style="COLOR: #000000"> str;<br><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">0</span><span style="COLOR: #000000">;<br><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/tdweng/aggbug/129083.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.shnenglu.com/tdweng/" target="_blank">蹇冪窘</a> 2010-10-08 21:37 <a href="http://www.shnenglu.com/tdweng/articles/129083.html#Feedback" target="_blank" style="text-decoration:none;">鍙戣〃璇勮</a></div>]]></description></item><item><title>瀛楃闆嗙紪鐮佽瑙?/title><link>http://www.shnenglu.com/tdweng/articles/129049.html</link><dc:creator>蹇冪窘</dc:creator><author>蹇冪窘</author><pubDate>Fri, 08 Oct 2010 08:15:00 GMT</pubDate><guid>http://www.shnenglu.com/tdweng/articles/129049.html</guid><wfw:comment>http://www.shnenglu.com/tdweng/comments/129049.html</wfw:comment><comments>http://www.shnenglu.com/tdweng/articles/129049.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.shnenglu.com/tdweng/comments/commentRss/129049.html</wfw:commentRss><trackback:ping>http://www.shnenglu.com/tdweng/services/trackbacks/129049.html</trackback:ping><description><![CDATA[     鎽樿: 瀛楃鏄悇縐嶆枃瀛楀拰絎﹀彿鐨勬葷О錛屽寘鎷悇鍥藉鏂囧瓧銆佹爣鐐圭鍙楓佸浘褰㈢鍙楓佹暟瀛楃瓑銆傚瓧絎﹂泦鏄涓瓧絎︾殑闆嗗悎錛屽瓧絎﹂泦縐嶇被杈冨錛屾瘡涓瓧絎﹂泦鍖呭惈鐨勫瓧絎︿釜鏁頒笉鍚岋紝甯歌瀛楃闆嗗悕縐幫細ASCII瀛楃闆嗐丟B2312瀛楃闆嗐丅IG5瀛楃闆嗐?GB 18030瀛楃闆嗐乁nicode瀛楃闆嗙瓑銆傝綆楁満瑕佸噯紜殑澶勭悊鍚勭瀛楃闆嗘枃瀛楋紝闇瑕佽繘琛屽瓧絎︾紪鐮侊紝浠ヤ究璁$畻鏈鴻兘澶熻瘑鍒拰瀛樺偍鍚勭鏂囧瓧銆? 涓枃鏂囧瓧鏁扮洰澶э紝鑰屼笖榪樺垎涓虹畝浣撲腑鏂囧拰綣佷綋涓枃...  <a href='http://www.shnenglu.com/tdweng/articles/129049.html'>闃呰鍏ㄦ枃</a><img src ="http://www.shnenglu.com/tdweng/aggbug/129049.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.shnenglu.com/tdweng/" target="_blank">蹇冪窘</a> 2010-10-08 16:15 <a href="http://www.shnenglu.com/tdweng/articles/129049.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.cnwowshell.cn" target="_blank">欧美精品福利视频一区二区三区久久久精品</a>| <a href="http://www.webugame.cn" target="_blank">久久精品中文字幕一区</a>| <a href="http://www.yangshuohappy.cn" target="_blank">综合网日日天干夜夜久久 </a>| <a href="http://www.wzyuan25.cn" target="_blank">欧美777精品久久久久网</a>| <a href="http://www.tmuseum.cn" target="_blank">99久久精品费精品国产一区二区</a>| <a href="http://www.1u11.cn" target="_blank">岛国搬运www久久</a>| <a href="http://www.h8uq0.cn" target="_blank">精品熟女少妇AV免费久久</a>| <a href="http://www.e510.com.cn" target="_blank">久久精品99久久香蕉国产色戒</a>| <a href="http://www.gsm777.cn" target="_blank">国产精品伦理久久久久久 </a>| <a href="http://www.zzbxgsx.cn" target="_blank">国产三级久久久精品麻豆三级 </a>| <a href="http://www.ding-u.cn" target="_blank">狠狠久久综合伊人不卡</a>| <a href="http://www.safaen.cn" target="_blank">久久99热这里只有精品66</a>| <a href="http://www.stwyy.cn" target="_blank">久久国产热精品波多野结衣AV</a>| <a href="http://www.wzorg.cn" target="_blank">久久精品国产亚洲一区二区三区 </a>| <a href="http://www.hzks666.cn" target="_blank">久久久久久久亚洲精品</a>| <a href="http://www.pydjango.cn" target="_blank">久久人人妻人人爽人人爽</a>| <a href="http://www.tmqywedding.cn" target="_blank">97超级碰碰碰碰久久久久</a>| <a href="http://www.jbuz.cn" target="_blank">少妇高潮惨叫久久久久久</a>| <a href="http://www.thenorthface.net.cn" target="_blank">国产福利电影一区二区三区久久老子无码午夜伦不 </a>| <a href="http://www.kpqo.cn" target="_blank">99久久婷婷国产一区二区</a>| <a href="http://www.bao5888.cn" target="_blank">伊人久久大香线蕉综合5g</a>| <a href="http://www.6qg.com.cn" target="_blank">怡红院日本一道日本久久</a>| <a href="http://www.grcooling.com.cn" target="_blank">69国产成人综合久久精品</a>| <a href="http://www.r3665.cn" target="_blank">51久久夜色精品国产</a>| <a href="http://www.jsvvsj.cn" target="_blank">热RE99久久精品国产66热</a>| <a href="http://www.zhy-gl.cn" target="_blank">久久精品国产99国产精品澳门</a>| <a href="http://www.qianhongg.cn" target="_blank">无码任你躁久久久久久久</a>| <a href="http://www.nlzm.net.cn" target="_blank">亚洲午夜精品久久久久久人妖</a>| <a href="http://www.guoweipi.cn" target="_blank">亚洲精品乱码久久久久久</a>| <a href="http://www.5656936.cn" target="_blank">久久综合成人网</a>| <a href="http://www.niena.cn" target="_blank">久久久久综合国产欧美一区二区</a>| <a href="http://www.bqtao.cn" target="_blank">久久精品人人做人人妻人人玩</a>| <a href="http://www.ofjf.cn" target="_blank">亚洲va久久久噜噜噜久久狠狠</a>| <a href="http://www.83601.com.cn" target="_blank">伊人久久一区二区三区无码</a>| <a href="http://www.ijesus.com.cn" target="_blank">国产精品无码久久久久</a>| <a href="http://www.linuxls.cn" target="_blank">国产成人精品久久一区二区三区av </a>| <a href="http://www.ycqdzgov.cn" target="_blank">久久精品国产精品亚洲</a>| <a href="http://www.mechuo.cn" target="_blank">国产99久久精品一区二区</a>| <a href="http://www.digcm.cn" target="_blank">999久久久国产精品</a>| <a href="http://www.aystone.cn" target="_blank">精品无码久久久久国产</a>| <a href="http://www.gpfo.cn" target="_blank">亚洲国产欧洲综合997久久</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>