社区
Delphi
帖子详情
在线等候解答:Delphi中的string[10] 对应C++Builder的什么含义?
Pasp
2005-09-21 02:18:18
例如: Delphi声明: name : string[10];
转化成C++应该如何声明?
...全文
128
7
打赏
收藏
在线等候解答:Delphi中的string[10] 对应C++Builder的什么含义?
例如: Delphi声明: name : string[10]; 转化成C++应该如何声明?
复制链接
扫一扫
分享
转发到动态
举报
写回复
配置赞助广告
用AI写文章
7 条
回复
切换为时间正序
请发表友善的回复…
发表回复
打赏红包
gogo__
2005-09-21
打赏
举报
回复
应该说哪个都不象, delphi中的string[10]相当于c中的struct{ byte Len; char[9] Data }; 而且是紧凑模式下
xixuemao
2005-09-21
打赏
举报
回复
C++语法基本全忘掉了。不能设置string的长度吗?
那就用char name[10]好了;
Pasp
2005-09-21
打赏
举报
回复
AnsiString能设定长度?
我声明AnsiString[10] name; 等价于Delphi的 name : string[10];?
不对吧
xixuemao
2005-09-21
打赏
举报
回复
就是AnsiString啊,只不过长度为10而已。
劣势
2005-09-21
打赏
举报
回复
char * Name就可以了
Pasp
2005-09-21
打赏
举报
回复
是STL的string吗?或者是AnsiString 字符数组?
xixuemao
2005-09-21
打赏
举报
回复
就是string啊
SQLMemTable for
Delphi
/ C++ Builder
http://www.fast-report.comFastReport VCL--------------FastReport VCL is reporting tool component for Borland
Delphi
2-6 and Borland
C++Builder
3-5. It consists of report engine, designer and preview....
TsiLang v7.5 Full Source for
Delphi
10
Seattle &
10
.1 Berlin
TsiLang® Components Suite includes a number of highly professional, easy-to-use VCL components, wizards and tools for building multi-language applications under
Delphi
and
C++Builder
. On the one hand...
Delphi
6函数大全
Delphi
6函数大全 首部 function AnsiReplaceStr(const AText, AFromText, AToText:
string
):
string
; $[StrUtils.pas 功能 返回字符串AText
中
用子串AFromText替换成子串AToText的结果 说明 区分大小写 参考 function...
DELPHI
TXT 树文档 管理器
D:\
C++Builder
学习大全
中
文版\新建文本文档_Attachments } function AttachmentsFolder(FileName:
String
):
string
; begin Result := ExtractFilePath(FileName) + ChangeFileExt(ExtractFileName(FileName), '')...
Raize.Components-v6.1.12 FullSource(2009-XE8) Part1/2
Embarcadero RAD Studio XE8 --
Delphi
XE8 &
C++Builder
XE8 Embarcadero RAD Studio XE7 --
Delphi
XE7 &
C++Builder
XE7 Embarcadero RAD Studio XE6 --
Delphi
XE6 &
C++Builder
XE6 Embarcadero RAD Studio...
Delphi
5,392
社区成员
262,731
社区内容
发帖
与我相关
我的任务
Delphi
Delphi 开发及应用
复制链接
扫一扫
分享
社区描述
Delphi 开发及应用
社区管理员
加入社区
获取链接或二维码
近7日
近30日
至今
加载中
查看更多榜单
社区公告
暂无公告
试试用AI创作助手写篇文章吧
+ 用AI写文章