Commit c368476 1 parent b5b623a commit c368476 Copy full SHA for c368476
File tree 3 files changed +28
-3
lines changed
3 files changed +28
-3
lines changed Original file line number Diff line number Diff line change 20
20
"ios" : " cpp" ,
21
21
"istream" : " cpp" ,
22
22
"ostream" : " cpp" ,
23
- "xiosbase" : " cpp"
23
+ "xiosbase" : " cpp" ,
24
+ "cctype" : " cpp" ,
25
+ "cmath" : " cpp" ,
26
+ "cstddef" : " cpp" ,
27
+ "cstdint" : " cpp" ,
28
+ "cstdio" : " cpp" ,
29
+ "cstdlib" : " cpp" ,
30
+ "cstring" : " cpp" ,
31
+ "cwchar" : " cpp" ,
32
+ "iostream" : " cpp" ,
33
+ "iterator" : " cpp" ,
34
+ "memory" : " cpp" ,
35
+ "new" : " cpp" ,
36
+ "stdexcept" : " cpp" ,
37
+ "typeinfo" : " cpp" ,
38
+ "xfacet" : " cpp" ,
39
+ "xlocale" : " cpp" ,
40
+ "xlocinfo" : " cpp" ,
41
+ "xlocnum" : " cpp" ,
42
+ "xmemory" : " cpp" ,
43
+ "xmemory0" : " cpp" ,
44
+ "xstddef" : " cpp"
24
45
}
25
46
}
Original file line number Diff line number Diff line change 1
1
#include < iterator>
2
2
#include < iostream>
3
3
#include < vector>
4
- using namespace std ;
4
+ using std::vector ;
5
5
6
6
/* ****************
7
7
Original file line number Diff line number Diff line change 30
30
31
31
## C/C++
32
32
33
- ### const
33
+ < details >< summary > const</ summary >< br >
34
34
35
35
``` cpp
36
36
// 类
@@ -84,6 +84,10 @@ int* const function7(); // 返回一个指向变量的常指针,使用:i
84
84
3. 常量引用,经常用于形参类型,即避免了拷贝,又避免了函数对值的修改;
85
85
4. 修饰成员函数,说明该成员函数内不能修改成员变量。
86
86
87
+
88
+ </details>
89
+
90
+
87
91
### volatile
88
92
89
93
```cpp
You can’t perform that action at this time.
0 commit comments