16,472
社区成员
发帖
与我相关
我的任务
分享
float x = 0.12f,y = 0.22f,z = 0.32f;
TCHAR szOutput[16];
swprintf(szOutput,L"x = %f , y = %f , z = %f",x,y,z);
MessageBox(NULL,szOutput,L"test",MB_OK);
float x = 0.12f,y = 0.22f,z = 0.32f;
TCHAR szOutput[16];
swprintf(szOutput,L"x = %f , y = %f , z = %f",x,y,z);
code=C/C++]sprintf(szbuff,"%f%f%f",x,y,z);
[/code]