摘要: Given a string, find the length of the longest substring without repeating characters. Examples: Given "abcabcbb", the answer is "abc", which the leng 阅读全文
posted @ 2017-11-16 21:45 Lincy*_* 阅读(108) 评论(0) 推荐(0) 编辑
摘要: string类的大部分函数:begin 得到指向字符串开头的Iteratorend 得到指向字符串结尾的Iteratorrbegin 得到指向反向字符串开头的Iteratorrend 得到指向反向字符串结尾的Iteratorsize 得到字符串的大小length 和size函数功能相同max_siz 阅读全文
posted @ 2017-11-16 15:47 Lincy*_* 阅读(348) 评论(0) 推荐(0) 编辑