C++构造函数、析构函数小结

一、构造函数ios 拷贝构造函数::程序员  Complex(const Complex & c)         {                 // 将对象c中的数据成员值复制过来                 m_real = c.m_real;                 m_img    = c.m_img;         }    函数 用法::this Complex a
相关文章
相关标签/搜索