C++高级语法
C++高级语法
联合体
1 | union infounion{ |
enum枚举类型
1 | enum fourseasons={spring=1,summer,automn,winter}; |
显式转换
1 |
|
指针
1 | int i,*p; |
OOP
1 |
|
1 |
|
1 |
|
1 |
|
1 |
|
1 |
|
1 |
|
1 |
|
1 |
|
本博客所有文章除特别声明外,均采用 CC BY-NC-SA 4.0 许可协议。转载请注明来自 The Blog of Monoceros406!
1 | union infounion{ |
1 | enum fourseasons={spring=1,summer,automn,winter}; |
1 |
|
1 | int i,*p; |
1 |
|
1 |
|
1 |
|
1 |
|
1 |
|
1 |
|
1 |
|
1 |
|
1 |
|