类型转换。。。。 VC中字符INT 型转换到CString 型 ,CString 到INT 。还有date型到CString 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 _itoa();_atoi();CTime类的Format();具体请参考MSDN CString::Format()atoi((LPTSTR)str);date.Format() CString str("123");int i=atoi(str);CString str0;str0.Format("%d",i); 说一下DATE -> CStringDATE date;date=....;COleDateTime oledate(date);CString strdate=oledate.Format("%Y年%m月%d日,%H时%M分%S秒"); cstring2int用atoidate2cstring用format 利用QueryPerformanceCounter自定义高精度定时器不起作用 请教一个关于CAsyncSocket 的问题 急! 话框添加菜单栏,,熟悉xtream的请进 进度条的问题 状态栏中控件的背景色问题 LibUIDK4.0全功能试用版今天发布, 欢迎界面编程爱好者试用。 多个进程使用CreateNamedPipe创建命名管道,当某个进程退出,管道是否被销毁? 哪位大哥路过帮我看看access连接串的错误呢? 求个CString里的字符冒泡排序的代码 谁能讲讲hook这个东西? 关于文本编辑框的输入问题 什么叫阻塞和非阻塞?
_atoi();
CTime类的Format();具体请参考MSDN
atoi((LPTSTR)str);
date.Format()
int i=atoi(str);
CString str0;
str0.Format("%d",i);
DATE date;
date=....;
COleDateTime oledate(date);
CString strdate=oledate.Format("%Y年%m月%d日,%H时%M分%S秒");
date2cstring用format