C++第四十六篇 -- C++将int转换成宽字符串

int rate = 60;
int score = 80
TCHAR Temp[64] = TEXT("");
_stprintf_s(Temp, TEXT("pass_rate: %d%% score: %d"), rate, score);

Temp就是转换后可以使用的字串。

posted @ 2020-06-13 11:03  o云淡风轻o  阅读(812)  评论(0编辑  收藏  举报