- 博客(6)
- 收藏
- 关注
原创 git 相关使用问题记录
目录1,权限问题现象:error: insufficient permission for adding an object to repository database .git/objects操作:git add .解决:修改.git权限1,权限问题现象:error: insufficient permission for adding an object to repository database .git/objects操作:git add .username@ll
2021-07-30 09:42:00
326
原创 C++ auto 关键字
auto 可以自动识别类型,简化操作;但是也会破坏可读性。尤其是对于模板使用此关键字特别好使。注意:需要C++11 编译时如果报错,在末尾加上标准解决:g++ my_stack.cpp -std=c++11参考:https://www.cnblogs.com/KunLunSu/p/7861330.html...
2021-07-25 22:43:52
86
2
原创 stack 之 c++ 代码实现
#include <iostream>#include <vector>#include<algorithm>using namespace std;template <class T>class STACK{ public: STACK(unsigned int wMaxTmp = 0):wMax(wMaxTmp){vData.clear();}; ~STACK(){wMax=0; vData.cl.
2021-07-25 22:28:00
175
原创 数据结构——算法
目录一、线性表(Linear List)1,数组(Array):2,链表(List):3,栈(Stack)4,队列(Queue)二、树(Tree)三、图(Graph)1,邻接列表2,邻接矩阵常用图相关算法常用的图结构四、散列表(哈希表)五、堆一、线性表(Linear List)线性表(linear list)是数据结构的一种,一个线性表是n个具有相同特性的数据元素的有限序列。 有两种表示方法:数组和链表。1,数...
2021-07-25 13:14:56
97
1
原创 git 常用命令
目录gitgit help git status git diff git add git commit git pushgit pullgit stashgit showgit log git branchgit checkoutgit configgit remotegitgit help 查看git相关命令git help [options] eg: 查看git...
2021-07-24 17:40:04
96
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人