honeyhhhh / honeyhhhh.github.io

0 stars 0 forks source link

C++学习笔记--复合类型 | Zion #32

Open honeyhhhh opened 5 years ago

honeyhhhh commented 5 years ago

https://zionlove.site/C-4/

结构1234567891011struct inflatable//结构 堡垒类基石{ string name;//将name指定为string对象 float volume; double price; union { int id_num; char id_char[20]; };//匿名共用体,视