[C]C++程序设计第三版第九章 对象数组

9.6  输入三个立方体体积,用对象数组的方法  #include<iostream> using namespace std; class Box { public: Box(int h =10,int w =12,int len = 15 ):height(h),width(w),length(len){} int volume(); private: int height; int widt
相关文章
相关标签/搜索