- 博客(4)
- 收藏
- 关注
原创 c++第三次作业
3.#include using namespace std; class Date { public: Date(int=1,int=1,int=2005); void display(); private: int month; int day; int year; }; Date::Date(int m
2015-06-02 18:54:48 286
原创 c++第四次作业
1.#include using namespace std; class Complex{ public: Complex() { real=0; imag=0; } Complex(double r,double i) { real=r
2015-06-02 18:54:35 163
原创 c++第一次作业
7. #include using namespace std; int main() { int max(int a,int b,int c=0); int a,b,c; cin>>a>>b>>c; cout<<"max(a,b,c)="<<a<<endl; cout<<"max=(a,b)="<<a<<en
2015-06-02 18:45:32 164
原创 c++第二次作业
4.#include using namespace std;class Student{public: Student() {} Student(int g, int n):grade(g),number(n){} void get() { cin>>grade>>number; } int GetGrade()
2015-04-20 21:39:17 166
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人