TCHAR s1=_T("ai");
TCHAR *s2=_T("wo");
TCHAR *s3=_T("ni");
int len1=lstrlen(s1);
int len2=lstrlen(s2);
int len3=lstrlen(s3);
TCHAR *str=new TCHAR[len1+len2+len3+1];
str[0]=_T('\0');
lstrcat(str,s2);
lstrcat(str,s1);
lstrcat(str,s3);
delete []str;
TCHAR 拼接字符串
最新推荐文章于 2023-03-26 16:32:31 发布