一、stringl类
1.string构造函数
2.字符串输入
3.使用字符串
(1)比较字符串 比较ASCII码
(2)字符串长度
(3)查找
查找是否包含此字符串,有则返回首字符索引,没有返回 npos
npos表示字符串可存储的最大字符数
二、智能指针模板类
智能指针定义后,离开代码块指针将过期
三、标准模板库
1.string构造函数
2.字符串输入
3.使用字符串
(1)比较字符串 比较ASCII码
(2)字符串长度
(3)查找
查找是否包含此字符串,有则返回首字符索引,没有返回 npos
npos表示字符串可存储的最大字符数
智能指针定义后,离开代码块指针将过期
上一篇:日语五十音图
C++ 模板匹配matchTemplate
C++强大的功能来源于其丰富的类库及库函数资源。C++标准库的实现标准库的大牛们的水平;(4)良好的编程风格:采用行业
1. C++ MultiSets多元集合(MultiSets)和集合(Sets)相像,只不过支
1. C++ MultiMa
C++ Iterators(迭代器)迭代器可被用来访问一个容器类的所包
举报文章
请选择举报类型
补充说明
0/200
上传截图
格式支持JPEG/PNG/JPG,图片不超过1.9M