创建test分支

This commit is contained in:
Menghui Xie 2018-06-19 17:15:53 +08:00
parent b5b623afff
commit c3684763d2
3 changed files with 28 additions and 3 deletions

23
.vscode/settings.json vendored
View File

@ -20,6 +20,27 @@
"ios": "cpp",
"istream": "cpp",
"ostream": "cpp",
"xiosbase": "cpp"
"xiosbase": "cpp",
"cctype": "cpp",
"cmath": "cpp",
"cstddef": "cpp",
"cstdint": "cpp",
"cstdio": "cpp",
"cstdlib": "cpp",
"cstring": "cpp",
"cwchar": "cpp",
"iostream": "cpp",
"iterator": "cpp",
"memory": "cpp",
"new": "cpp",
"stdexcept": "cpp",
"typeinfo": "cpp",
"xfacet": "cpp",
"xlocale": "cpp",
"xlocinfo": "cpp",
"xlocnum": "cpp",
"xmemory": "cpp",
"xmemory0": "cpp",
"xstddef": "cpp"
}
}

View File

@ -1,7 +1,7 @@
#include<iterator>
#include<iostream>
#include<vector>
using namespace std;
using std::vector;
/*****************

View File

@ -30,7 +30,7 @@
## C/C++
### const
<details><summary>const</summary><br>
```cpp
// 类
@ -84,6 +84,10 @@ int* const function7(); // 返回一个指向变量的常指针使用i
3. 常量引用,经常用于形参类型,即避免了拷贝,又避免了函数对值的修改;
4. 修饰成员函数,说明该成员函数内不能修改成员变量。
</details>
### volatile
```cpp