如何将CString型数据转换成unsigned short型? 如题!谢谢! 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 具体记不清了,好象是类似_itoa什么的,到MSDN里查呗! atol char->longatoi char->int CString str("123");unsigned short i=atoi(str); UINT un = atoi( CString.GetBuffer( CString.GetLength() ); C++ 参数疑问 vc程序中锁定屏幕并解锁 lpcwstr cstring SQLconfigdatasource 请教大家一个算法的问题! 线程函数中不能用CListCtrl? 如何在CRichEditCtrl对象中显示文本? 锁定键盘和鼠标 在CTreeCtrl中怎样遍历选中的item? ado怎么用dbgrid等,它没有datasource呀 怎样读取网卡硬件信息.急!!! 请问socket高手:如何得到本机的可用端口号? 请教一个ATL的参数传递问题
atoi char->int
unsigned short i=atoi(str);