int 转 const char*

char name[10];
 _itoa_s(i,name,10);
const char* path=".jpg";
strcat(name,path);
原文地址:https://www.cnblogs.com/gaohai/p/9082733.html