📄 c++ builder 初学问与答(十六).htm
字号:
href="http://www.malegebide.com/article/43/"
target=_blank>邮件工具</A></TD></TR>
<TR>
<TD class=tdmenubar>· <A class=menubar
title="联络聊天 文章数:31"
href="http://www.malegebide.com/article/44/"
target=_blank>联络聊天</A></TD>
<TD class=tdmenubar>· <A class=menubar
title="IP通讯 文章数:126"
href="http://www.malegebide.com/article/45/"
target=_blank>IP通讯</A></TD></TR></TBODY></TABLE></TD></TR>
<TR>
<TD bgColor=#ffffff height=2></TD></TR></TBODY></TABLE>
<TABLE cellSpacing=0 cellPadding=0 width="100%" border=0>
<TBODY>
<TR>
<TD class=titleback1>热门文章</TD></TR>
<TR>
<TD vAlign=top height=100>· <FONT color=#0066ff>[图文]</FONT> <A
title=Google再度扩张:收购3D设计软件
href="http://www.malegebide.com/article/5/12/2006/200608311537.html">Google再度扩..</A><BR>·
<A title=Google究竟知道多少个人隐私?
href="http://www.malegebide.com/article/5/11/2006/200608301361.html">Google究竟知道多少..</A><BR>·
<A title="Google搜索从入门到精通 (1)"
href="http://www.malegebide.com/article/5/11/2006/200608301351.html">Google搜索从入门到..</A><BR>·
<FONT color=#0066ff>[图文]</FONT> <A title=google也来做统计了
href="http://www.malegebide.com/article/5/12/2006/200608311519.html">google也来做..</A><BR>·
<FONT color=#ff0066>[组图]</FONT> <A title=Google徽标全集(1998-2005)
href="http://www.malegebide.com/article/5/12/2006/200608311488.html">Google徽标全..</A><BR>·
<FONT color=#0066ff>[图文]</FONT> <A title=有趣的Google新鲜技巧玩法
href="http://www.malegebide.com/article/5/11/2006/200608301352.html">有趣的Google..</A><BR>·
<A title=Google排名—搜索引擎登记技巧
href="http://www.malegebide.com/article/5/11/2006/200608301360.html">Google排名—搜索引..</A><BR>·
<FONT color=#0066ff>[图文]</FONT> <A title=菜鸟安全防患之饿死木马
href="http://www.malegebide.com/article/10/2006/200608291188.html">菜鸟安全防患..</A><BR>·
<A title=数学最大数字
href="http://www.malegebide.com/article/9/2006/20060827361.html">数学最大数字</A><BR>·
<A title=Google搜索技巧(6):用Google找自己
href="http://www.malegebide.com/article/10/2006/200608291195.html">Google搜索技巧(6):..</A><BR></TD></TR>
<TR>
<TD bgColor=#ffffff height=2></TD></TR></TBODY></TABLE>
<TABLE cellSpacing=0 cellPadding=0 width="100%" border=0>
<TBODY>
<TR>
<TD class=titleback1>相关文章</TD></TR>
<TR>
<TD vAlign=top height=100>· <A title="《c++ primer》读书笔记4"
href="http://www.malegebide.com/article/1/14/2006/2006092518481.html">《c++
primer》读书..</A><BR>· <A title="《c++ primer》读书笔记6"
href="http://www.malegebide.com/article/1/14/2006/2006092518480.html">《c++
primer》读书..</A><BR>· <A title="一个有意思的C++ trick (2)"
href="http://www.malegebide.com/article/1/14/2006/2006092518477.html">一个有意思的C++
tr..</A><BR>· <A title="《c++ primer》读书笔记3"
href="http://www.malegebide.com/article/1/14/2006/2006092518473.html">《c++
primer》读书..</A><BR>· <A title="《c++ primer》读书笔记5"
href="http://www.malegebide.com/article/1/14/2006/2006092518472.html">《c++
primer》读书..</A><BR>· <A title="如何在C++ Builder的DLL中使用数据库控件"
href="http://www.malegebide.com/article/1/14/2006/2006092518470.html">如何在C++
Builder的..</A><BR>· <A title="Python 与 C++ 程序的简单实例对比"
href="http://www.malegebide.com/article/1/14/2006/2006092518469.html">Python
与 C++ 程序..</A><BR>· <A title="Visual C++ MFC 一文说尽 (推荐)(很长,没耐心就不要看了)"
href="http://www.malegebide.com/article/1/14/2006/2006092518468.html">Visual
C++ MFC 一文..</A><BR>· <A title="VC++ Members Weblog"
href="http://www.malegebide.com/article/1/14/2006/2006092518466.html">VC++
Members Weblo..</A><BR>· <A title="C++ Builder和托管C++中属性的使用建议"
href="http://www.malegebide.com/article/1/14/2006/2006092518459.html">C++
Builder和托管C..</A><BR></TD></TR></TBODY></TABLE></TD>
<TD class=tableright align=right width=588>
<TABLE style="TABLE-LAYOUT: fixed; WORD-BREAK: break-all" cellSpacing=0
cellPadding=0 width=575 border=0>
<TBODY>
<TR>
<TD style="FONT-SIZE: 12pt; COLOR: #ff6600" align=middle
height=32>C++ Builder 初学问与答(十六)</TD></TR>
<TR>
<TD align=middle bgColor=#f7f7f7
height=25>作者:佚名 来源:不详 发布时间:25/09/2006
19:56:01 发布人:admin</TD></TR>
<SCRIPT language=javascript>
var newasp_fontsize=9;
var newasp_lineheight=12;
</SCRIPT>
<TR>
<TD>
<P align=right><A title=减小字体
style="CURSOR: hand; POSITION: relative"
onclick='if(newasp_fontsize>8){NewaspContentLabel.style.fontSize=(--newasp_fontsize)+"pt";NewaspContentLabel.style.lineHeight=(--newasp_lineheight)+"pt";}'><IMG
height=15 src="C++ Builder 初学问与答(十六).files/1.gif" width=15
border=0><FONT color=#ff6600>减小字体</FONT></A> <A title=增大字体
style="CURSOR: hand; POSITION: relative"
onclick='if(newasp_fontsize<64){NewaspContentLabel.style.fontSize=(++newasp_fontsize)+"pt";NewaspContentLabel.style.lineHeight=(++newasp_lineheight)+"pt";}'><IMG
height=15 src="C++ Builder 初学问与答(十六).files/2.gif" width=15
border=0><FONT color=#ff6600>增大字体</FONT></A> </P>
<DIV class=ContentFont id=NewaspContentLabel
style="PADDING-RIGHT: 10px; DISPLAY: block; PADDING-LEFT: 10px; PADDING-BOTTOM: 0px; PADDING-TOP: 0px"><FONT
id=font_word
style="FONT-SIZE: 14px; FONT-FAMILY: 宋体, Verdana, Arial, Helvetica, sans-serif"><FONT
size=3><B><SPAN lang=EN-US>
<H2 style="MARGIN: auto 0cm" align=center><STRONG><SPAN
style="FONT-WEIGHT: normal; FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: 黑体; mso-ascii-font-family: Arial; mso-bidi-font-family: Arial">(版权要求:本文仅授权</SPAN></STRONG><STRONG><SPAN
lang=EN-US
style="FONT-WEIGHT: normal; FONT-SIZE: 10pt; COLOR: black; mso-bidi-font-family: Arial"><FONT
face=Arial>CSDN</FONT></SPAN></STRONG><STRONG><SPAN
style="FONT-WEIGHT: normal; FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: 黑体; mso-ascii-font-family: Arial; mso-bidi-font-family: Arial">使用,另授权</SPAN></STRONG><STRONG><SPAN
lang=EN-US
style="FONT-WEIGHT: normal; FONT-SIZE: 10pt; COLOR: black; mso-bidi-font-family: Arial"><FONT
face=Arial>CCRUN</FONT></SPAN></STRONG><STRONG><SPAN
style="FONT-WEIGHT: normal; FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: 黑体; mso-ascii-font-family: Arial; mso-bidi-font-family: Arial">转载,其他个人与网站不得转载、摘录,若有特别需求可与作者联系)</SPAN></STRONG></H2></SPAN></B></FONT>
<P class=MsoNormalIndent
style="MARGIN: 0cm 0cm 0pt; TEXT-INDENT: 23.5pt"><FONT
size=3><B><SPAN lang=EN-US></SPAN></B></FONT> </P>
<P class=MsoNormalIndent
style="MARGIN: 0cm 0cm 0pt; TEXT-INDENT: 23.5pt"><FONT
size=3><B><SPAN lang=EN-US>16</SPAN></B><B><SPAN
style="FONT-FAMILY: 宋体; mso-ascii-font-family: ''''Times New Roman''''; mso-hansi-font-family: ''''Times New Roman''''">.</SPAN><SPAN
lang=EN-US>C/C++</SPAN></B><B><SPAN
style="FONT-FAMILY: 宋体; mso-ascii-font-family: ''''Times New Roman''''; mso-hansi-font-family: ''''Times New Roman''''">语言在</SPAN><SPAN
lang=EN-US>CB</SPAN></B><B><SPAN
style="FONT-FAMILY: 宋体; mso-ascii-font-family: ''''Times New Roman''''; mso-hansi-font-family: ''''Times New Roman''''">中的一些特定用法</SPAN><SPAN
lang=EN-US><o:p></o:p></SPAN></B></FONT></P>
<P class=MsoNormalIndent style="MARGIN: 0cm 0cm 0pt"><FONT
size=3><B><SPAN lang=EN-US>2</SPAN></B><B><SPAN
style="FONT-FAMILY: 宋体; mso-ascii-font-family: ''''Times New Roman''''; mso-hansi-font-family: ''''Times New Roman''''">)</SPAN><SPAN
lang=EN-US>AnsiString</SPAN></B><B><SPAN
style="FONT-FAMILY: 宋体; mso-ascii-font-family: ''''Times New Roman''''; mso-hansi-font-family: ''''Times New Roman''''">是从</SPAN><SPAN
lang=EN-US>Delphi</SPAN></B><B><SPAN
style="FONT-FAMILY: 宋体; mso-ascii-font-family: ''''Times New Roman''''; mso-hansi-font-family: ''''Times New Roman''''">中引进来的吗?</SPAN><SPAN
lang=EN-US><o:p></o:p></SPAN></B></FONT></P>
<P class=MsoNormalIndent
style="MARGIN: 0cm 0cm 0pt; TEXT-INDENT: 23.5pt"><FONT
size=3><B><SPAN
style="FONT-FAMILY: 宋体; mso-ascii-font-family: ''''Times New Roman''''; mso-hansi-font-family: ''''Times New Roman''''">答:</SPAN></B><SPAN
lang=EN-US>CB</SPAN><SPAN
style="FONT-FAMILY: 宋体; mso-ascii-font-family: ''''Times New Roman''''; mso-hansi-font-family: ''''Times New Roman''''">的核心组件</SPAN><SPAN
lang=EN-US>VCL</SPAN><SPAN
style="FONT-FAMILY: 宋体; mso-ascii-font-family: ''''Times New Roman''''; mso-hansi-font-family: ''''Times New Roman''''">是用</SPAN><SPAN
lang=EN-US>Object Pascal</SPAN><SPAN
style="FONT-FAMILY: 宋体; mso-ascii-font-family: ''''Times New Roman''''; mso-hansi-font-family: ''''Times New Roman''''">语言写出的,所以</SPAN><SPAN
lang=EN-US>CB</SPAN><SPAN
style="FONT-FAMILY: 宋体; mso-ascii-font-family: ''''Times New Roman''''; mso-hansi-font-family: ''''Times New Roman''''">的</SPAN><SPAN
lang=EN-US>VCL</SPAN><SPAN
style="FONT-FAMILY: 宋体; mso-ascii-font-family: ''''Times New Roman''''; mso-hansi-font-family: ''''Times New Roman''''">组件的属性有很多都是使用</SPAN><SPAN
lang=EN-US>long string</SPAN><SPAN
style="FONT-FAMILY: 宋体; mso-ascii-font-family: ''''Times New Roman''''; mso-hansi-font-family: ''''Times New Roman''''">,例如:</SPAN><SPAN
lang=EN-US>Text</SPAN><SPAN
style="FONT-FAMILY: 宋体; mso-ascii-font-family: ''''Times New Roman''''; mso-hansi-font-family: ''''Times New Roman''''">、</SPAN><SPAN
lang=EN-US> Name</SPAN><SPAN
style="FONT-FAMILY: 宋体; mso-ascii-font-family: ''''Times New Roman''''; mso-hansi-font-family: ''''Times New Roman''''">、</SPAN><SPAN
lang=EN-US>Caption</SPAN><SPAN
style="FONT-FAMILY: 宋体; mso-ascii-font-family: ''''Times New Roman''''; mso-hansi-font-family: ''''Times New Roman''''">等属性都是使用</SPAN><SPAN
lang=EN-US>Object Pascal</SPAN><SPAN
style="FONT-FAMILY: 宋体; mso-ascii-font-family: ''''Times New Roman''''; mso-hansi-font-family: ''''Times New Roman''''">的</SPAN><SPAN
lang=EN-US>long string</SPAN><SPAN
style="FONT-FAMILY: 宋体; mso-ascii-font-family: ''''Times New Roman''''; mso-hansi-font-family: ''''Times New Roman''''">。基于此关系,<FONT
id=vtsajuuggofdapqeam>教ev@o$*中:,网0d4F=0-</FONT></SPAN><SPAN
lang=EN-US>CB</SPAN><SPAN
style="FONT-FAMILY: 宋体; mso-ascii-font-family: ''''Times New Roman''''; mso-hansi-font-family: ''''Times New Roman''''">只好建立了和</SPAN><SPAN
lang=EN-US>Object Pascal</SPAN><SPAN
style="FONT-FAMILY: 宋体; mso-ascii-font-family: ''''Times New Roman''''; mso-hansi-font-family: ''''Times New Roman''''">的</SPAN><SPAN
lang=EN-US>long string</SPAN><SPAN
style="FONT-FAMILY: 宋体; mso-ascii-font-family: ''''Times New Roman''''; mso-hansi-font-family: ''''Times New Roman''''">相应的类别,我们将它称为</SPAN><SPAN
lang=EN-US>AnsiString</SPAN><SPAN
style="FONT-FAMILY: 宋体; mso-ascii-font-family: ''''Times New Roman''''; mso-hansi-font-family: ''''Times New Roman''''">。</SPAN><B><SPAN
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -