2019年3月21日
摘要: g++ main.cpp -std=c++11 -o a 其中: main.cpp是要编译的源文件 a是编译后的文件名 注意-std=c++11不要写成-std=c11 阅读全文
posted @ 2019-03-21 14:33 一杯明月 阅读(655) 评论(0) 推荐(0)
摘要: myClass()=default;//表示默认存在构造函数 阅读全文
posted @ 2019-03-21 14:03 一杯明月 阅读(2641) 评论(0) 推荐(0)