摘要: 一、string类 1、构造函数 string实际上是basic_string的一个typedef,同时省略了与内存管理相关的参数。size_type是一个依赖于实现的整型,是在string中定义的。string类将string::npos定义为字符串的最大长度,通常为unsigned int的... 阅读全文
posted @ 2015-08-21 18:58 木缥缈 阅读(1453) 评论(0) 推荐(0) 编辑