TCHAR s[20]; _tcscpy(s,(LPCTSTR) ArrayChar[2]); return atoi(s);//返回符号类型
atoi函数:'atoi' : cannot convert parameter 1 from 'TCHAR [20]' to 'const char *' Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast |