摘要: 查找(find)语法: size_type find( const basic_string &str, size_type index ); size_type find( const char *str, size_type index ); size_type find( const char *str, size_type index, size_type length ); size_type find( char ch, size_type index ); find()函数: 返回str在字符串中第一次出现的位置(从index开始查找)。如果没找到则返回string::. 阅读全文
posted @ 2013-02-23 12:12 闭关修炼的小孩纸 阅读(345) 评论(0) 推荐(0) 编辑