极客班GeekBand C++第一周笔记

极客班GeekBand C++第一周笔记 防卫式声明 #ifndef _xxx_ #define _xxx_ (程序段) #endif 做用:不使用防卫式声明会反复include引入相同的头文件,致使重复声明与定义web 构造函数初始化 class complex{ public: complex(double r = 0, double i = 0):re(r), im(i) pri
相关文章
相关标签/搜索