diff --git a/.vscode/settings.json b/.vscode/settings.json index 86f533f..8846625 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -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" } } \ No newline at end of file diff --git a/Algorithm/BucketSort.cpp b/Algorithm/BucketSort.cpp index 8b3d36f..8ee2fd4 100644 --- a/Algorithm/BucketSort.cpp +++ b/Algorithm/BucketSort.cpp @@ -1,7 +1,7 @@ #include #include #include -using namespace std; +using std::vector; /***************** diff --git a/README.md b/README.md index 5b106cc..014998c 100644 --- a/README.md +++ b/README.md @@ -30,7 +30,7 @@ ## C/C++ -### const +
const
```cpp // 类 @@ -84,6 +84,10 @@ int* const function7(); // 返回一个指向变量的常指针,使用:i 3. 常量引用,经常用于形参类型,即避免了拷贝,又避免了函数对值的修改; 4. 修饰成员函数,说明该成员函数内不能修改成员变量。 + +
+ + ### volatile ```cpp