摘要:
UNICODE 控制函数是否用宽字符版本_UNICODE控制字符串是否用宽字符集_T("") 根据上述定义来解释字符集//在tchar.h中// tstring.h#ifndef TSTRING_H_INCLUDED #define TSTRING_H_INCLUDED #include #include #ifdef _UNICODE #define tstring std::wstring #else #define tstring std::string #endif#endif // TSTRING_H_INCLUDED 阅读全文
摘要:
error: converting to execution character set: Illegal byte sequence对于源码包含有中文编译过程中出现如上的错误解决办法:在Compiler Flags->Other options下加入-finput-charset=GBK,表示采用gbk编码即可。 阅读全文