- 博客(2)
- 收藏
- 关注
原创 作业3.23
#include using namespace std; class cylinder{ private: double r; double h; public: cylinder(double x,double y) { cout<<"construting..."<<endl; r=x; h=y; } ~cylinder() { cout<<"destructing
2015-04-01 19:04:42 283 1
原创 作业3.22
#include using namespace std; class circle{ public: float area(); circle(); circle(float r); public: float radius; }; circle::circle() { radius=1.0; } circle::circle(float r
2015-04-01 19:03:28 328 1
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人