64,562
社区成员
发帖
与我相关
我的任务
分享
wstring TRANS::Mars2Earth(wstring c)
{
wchar_t* a = new wchar_t[wcslen(L2) + wcslen(D2)];
wchar_t* b = new wchar_t[wcslen(L1) + wcslen(D1)];
wcscpy(a,L2);wcscat(a,D2);
wcscpy(b,L1);wcscat(b,D1);//目的就是把2个wchar_t数组和成一个大的数组
wstring wresult = A2B(c,a,b);
delete [] a;delete [] b;
return wresult;
}