visual 2005 开发 cad2007????
<P> TCHAR s;<BR> _tcscpy(s,(LPCTSTR) ArrayChar);<BR> return atoi(s);//返回符号类型</P><P>atoi函数:'atoi' : cannot convert parameter 1 from 'TCHAR ' to 'const char *'<BR> Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast</P> <P>当然啦 TCHAR32位 char16位,跟编译器没关系,什么都出错</P>
页:
[1]