//以下介紹 int 與TCHAR 之間的轉換方式
// char *eere;
// TCHAR rrrr[21],wwww[21]; //最多容納20位數的變數
// int iiii,oooo;
// iiii=20;
// oooo=30;
// _itow(iiii,rrrr,10); //int轉TCHAR,radix是10,代表十進位
// _itow(oooo,wwww,10);
// _tcscat(rrrr,wwww); //字串相加
// int tttt;
// tttt = _wtoi(rrrr); //TCHAR轉int
//
int 與TCHAR 之間的轉換方式
最新推荐文章于 2023-09-03 13:41:08 发布