欢迎来到CTHRVAD的博客

人生三从境界:昨夜西风凋碧树,独上高楼,望尽天涯路。 衣带渐宽终不悔,为伊消得人憔悴。 众里寻他千百度,蓦然回首,那人却在灯火阑珊处。
扩大
缩小

随笔分类 -  C/C++

queue函数dui
摘要:队列是比较重要的一个函数 stl 也比较的重要,书写于此。 cpp include include using namespace std; int main() { queue q; for(int i=0;i 阅读全文

posted @ 2018-11-08 20:40 cthrvad 阅读(188) 评论(0) 推荐(0)

map 函数
摘要:map 函数的使用方法 比较好使用 关键词 键值对 大小 第一个 最后一个 map cpp include include include using namespace std; int main() { map m;// create the map m 键值对 string int m["he 阅读全文

posted @ 2018-11-07 22:07 cthrvad 阅读(298) 评论(0) 推荐(0)

set的使用方法
摘要:``` include include using namespace std; int main() { set s;//set 函数中的没有重复的数字 且是从大到小排列 s.insert(1); cout 阅读全文

posted @ 2018-11-06 21:13 cthrvad 阅读(269) 评论(0) 推荐(0)

C++ vector push_back() 用法
摘要:```cpp include include using namespace std; int main() { vector a; cout 阅读全文

posted @ 2018-11-05 21:00 cthrvad 阅读(6476) 评论(0) 推荐(0)

导航