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... 阅读全文
posted @ 2013-12-31 10:47 Tigmer 阅读(647) 评论(0) 推荐(0) 编辑
摘要:#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);} 阅读全文
posted @ 2013-12-07 10:07 Tigmer 阅读(3948) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示