码迷,mamicode.com
首页 >  
搜索关键字:basic_string    ( 54个结果
c/c++常用代码--string trim
typedef std::basic_string tstring;inline static void trim(tstring& s){ s.erase(0, s.find_first_not_of(_T("\r\t\n "))); s.erase(s.find_last_not_of(_T("...
分类:编程语言   时间:2014-09-28 14:27:52    阅读次数:222
2.堆排序
#include "string"#include "vector"#include "time.h"typedef std::basic_string tstring;typedef std::vector IntVec;// iIndexAdjust 从0计数.... left = 2i+1;r...
分类:其他好文   时间:2014-09-19 19:04:05    阅读次数:182
脑残集(1)把一个字符串内的正整数相加
1 #include "string" 2 typedef std::basic_string tstring; 3 int _tmain(int argc, _TCHAR* argv[]) 4 { 5 6 tstring str= _T("没2有60最脑40残只有100更脑残!...
分类:其他好文   时间:2014-09-15 19:11:49    阅读次数:154
iOS出现 Undefined symbols for architecture armv7 std::basic_string<char, std::char_traits<char>
Undefined symbols for architecturei386:“_OBJC_CLASS_$_XXX”,referenced from:objc-class-ref in XXXld: symbol(s) not found for architecture i386clang: er...
分类:移动开发   时间:2014-06-26 17:28:20    阅读次数:1816
54条   上一页 1 ... 4 5 6
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!