2013年5月7日

摘要: #include using namespace std;class Product{public: Product(int m,int q,float p):num(m),quantity(q),price(p){}; void total(); static float average(); s... 阅读全文
posted @ 2013-05-07 21:55 程序+爱=人生 阅读(178) 评论(0) 推荐(0) 编辑
 
摘要: #include using namespace std;class Student{public: Student(int n,int s):num(n),score(s){}; void display(); int num; int score;};void Student::display(... 阅读全文
posted @ 2013-05-07 21:52 程序+爱=人生 阅读(284) 评论(0) 推荐(0) 编辑
 
摘要: #include using namespace std;class Student{public: Student(int n,int s):num(n),score(s){}; void display();private: int num; int score;};void Student::... 阅读全文
posted @ 2013-05-07 21:49 程序+爱=人生 阅读(569) 评论(1) 推荐(1) 编辑