![](https://img-blog.csdnimg.cn/20201014180756926.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
c++
文章平均质量分 77
一旦9912
这个作者很懒,什么都没留下…
展开
-
Make & CMake Tutorial and note
EnvironmentDownload cmake source code from official websitehttps://cmake.org/download/IntroductionCMake is an open-source, cross-platform family of tools designed to build, test and package software. CMake is used to control the software compilation p原创 2021-11-02 20:33:50 · 132 阅读 · 0 评论 -
GDB调试工具全方位记录
简介入门编译时 任意处加上 -g 可以创建GDB symbol,从而用GDB调试显示断点汇编多线程远程调试其它原创 2021-03-08 21:13:09 · 74 阅读 · 0 评论 -
刷题可用的STL笔记
数据结构vector构造函数:vector arrvector arr(5) 初始化为0vector arr(5,1) 初始化为1vector arr = {2,3};遍历:for(auto i = arr.begin();i!=arr.end();++i) cout<<*i<<endl;插入:arr.insert(arr.begin()+1,100) 在第二位插入100创建多级数组vector<vector> dp(n, vector(n, v原创 2021-03-07 09:49:18 · 114 阅读 · 0 评论 -
C++ std library
前言记录一下使用的std库,用法以及使用场景等,不涉及源码。同样只写下自己用过的函数map1.Map是一种关联容器,它按照特定顺序存储由键值Key和映射值Value组合而成的元素。2.在map内部,元素总是按照其键Key使用其内部比较对象(Compare)并遵循指定的严格弱序准则。如不需要排序只是需要字典,用unordered_map//引用#include <map>//创建std::map<std::string,int> map//迭代器遍历for(std原创 2020-10-06 11:33:40 · 338 阅读 · 0 评论