说明: class Derived : public Base { private: int d_number; public: // constructor, initializer used to initialize the base part of a Derived object. Derived( int i, int j ) : Base(i), d_number(j) { }; // a new member function that overrides the print( ) f
<charlie527> 上传 | 大小:26kb