STL
文章平均质量分 70
zhyi0000
这个作者很懒,什么都没留下…
展开
-
STL 笔记
map wordmap;bool NotNeed(char c){ return ispunct(c);}bool NotDigtilAndNotDouble(const std::pair& word){ const char* p = word.first.c_str(); while(*p!='\0') { if (*p >='0'原创 2013-12-17 02:42:52 · 479 阅读 · 0 评论 -
C++ 字符串删除匹配括号及括号里的内容
typedef pair CHARPOSITION;std::string RemoveBracketsAndContents(std::string Input){ stack staCheak; for (size_t i = 0; i < Input.length(); i++) { char ch = Input[i]; swi原创 2013-12-23 00:53:26 · 3856 阅读 · 0 评论