12 2013 档案
摘要:http://blog.csdn.net/m_star_jy_sy/article/details/84822021)‘_wcsicmp’在此作用域中尚未声明#ifdef WIN32#define _tcsicmp _wcsicmp#else#define _tcsicmp wcscasecmp#endif2)_stricmp 在此作用域中尚未声明#include 将_stricmp改成strcasecmp3)atoi的wchar版本不存在,#define _ttoi _wtoi改成使用#define _tcstol wcstol4)_atoi6...
阅读全文
摘要:#include #include void test(){ std::string strA="QQQQWWWqqqqqqwwwwwww; //std::string的大小写转换 transform(strA.begin(), strA.end(), strA.begin(), ::toupper); transform(strA.begin(), strA.end(), strA.begin(), ::tolower);}
阅读全文