摘要: 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 阅读全文
posted @ 2014-03-06 17:58 zxpo 阅读(280) 评论(0) 推荐(0) 编辑
摘要: error: converting to execution character set: Illegal byte sequence对于源码包含有中文编译过程中出现如上的错误解决办法:在Compiler Flags->Other options下加入-finput-charset=GBK,表示采用gbk编码即可。 阅读全文
posted @ 2014-03-06 17:52 zxpo 阅读(7094) 评论(0) 推荐(0) 编辑