C++ int类型转 LPCTSTR类型

it2023-02-12  80

使用到的CString 类的头文件包含是  #include<atlstr.h> 

CString str; str.Format(_T("%d"), i); LPCTSTR re = str.AllocSysString();

 

最新回复(0)