说明: #include using namespace std; class Tree { public: Tree( int age ) ; void Grow( int years ) ; int Age() const { cout<<ages; return ages;} private: int ages; }; Tree::Tree( int age ) { ages=age; } Tree::Grow( int years ) { ages+=years; } int m <wj453155304> 在 上传 | 大小:349