社区
C++ Builder
帖子详情
怎样把unsigned long做为EDIT1->TEXT显示出来?
jas_liu
2003-10-18 01:47:57
要把unsigned long变为什么类型?
...全文
130
4
打赏
收藏
怎样把unsigned long做为EDIT1->TEXT显示出来?
要把unsigned long变为什么类型?
复制链接
扫一扫
分享
转发到动态
举报
AI
作业
写回复
配置赞助广告
用AI写文章
4 条
回复
切换为时间正序
请发表友善的回复…
发表回复
打赏红包
fatwave
2003-10-18
打赏
举报
回复
强制转换
unsigned long lData;
Edit1->Text = AnsiString(lData);
ljianq
2003-10-18
打赏
举报
回复
直接Edit->Text=your_number;
typecheese12345
2003-10-18
打赏
举报
回复
For greater control over the formatting of the string, use the FloatToStrF function.the above answer is not true,sorry.
typecheese12345
2003-10-18
打赏
举报
回复
Edit->Text=LongToStr(your_number);
获取ip源程序
in.s_addr=*((
unsigned
long
*)thisHost->h_addr_list[0]); ptr=inet_ntoa(in); if(!ptr) return; //释放资源,输出结果 WSACleanup();
Edit
1->
Text
=String(ptr);
Edit
2->
Text
=String(hostname); } //------...
手机图片浏览器
DDX_
Text
(pDX, IDC_
EDIT
1, m_MouseX); DDX_
Text
(pDX, IDC_
EDIT
2, m_MouseY); DDX_Control(pDX, IDC_SCROLLBAR_Horizontal4, m_PicNum); DDX_
Text
(pDX, IDC_
EDIT
3, m_Pic
Edit
Add); //}}AFX_DATA_MAP } BEGIN_...
VB编程资源大全(英文源码 文件)
<END><br>40,chkdir.zip<br>Check for a Directory <END><br>41,ge
text
.zip<br>Get a File's Extension<END><br>42,geticon.zip<br>Get a File's Icon<END><br>43,parseint.zip<br>Parse an Internet Filename<END>...
stdafx.h代码
//
Edit
control class CScrollBar; // ScrollBar control // frame windows class CFrameWnd; // standard SDI frame class CMDIFrameWnd; // standard MDI frame class CMDIChildWnd; // standard MDI ...
c++快速开发例子--rich
edit
FontSize->
Text
= itoa(Rich
Edit
1->SelAttributes->Size, sizebuf, 10); FontName->
Text
= Rich
Edit
1->SelAttributes->Name; switch((int)Rich
Edit
1->Paragraph->Alignment) { case 0: LeftAlign->Down = True; ...
C++ Builder
13,873
社区成员
102,696
社区内容
发帖
与我相关
我的任务
C++ Builder
C++ Builder相关内容讨论区
复制链接
扫一扫
分享
社区描述
C++ Builder相关内容讨论区
社区管理员
加入社区
获取链接或二维码
近7日
近30日
至今
加载中
查看更多榜单
社区公告
暂无公告
试试用AI创作助手写篇文章吧
+ 用AI写文章