王颖的专栏

弄潮儿...将理性升华的更高,用真切来面对!

16.3类更改出生年月日

#include #include using namespace std; class BirthDate { public: BirthDate(int,int,int); void display(); void setbirthday(int,int,int);...

2014-06-10 22:29:12

阅读数:632

评论数:0

16.2

/* C++ДњТы */ #include using namespace std; class Student { public: void get_value() { cin>>num>>name>>sex; } ...

2014-06-10 22:22:05

阅读数:654

评论数:0

16.1

#include using namespace std; class Matrix { public: Matrix(); friend Matrix operator+(Matrix &,Matrix &); friend ostream&am...

2014-06-10 22:17:51

阅读数:553

评论数:0

15.3.1

#include #include #include #include using namespace std; class Word { public: void set(string e,string c,string w); int compare(string k); ...

2014-06-10 22:12:45

阅读数:545

评论数:0

15.2.3

#include #include #include #include using namespace std; class Student { public: Student() {}; ~Student(); double get_total(); stati...

2014-06-10 22:10:44

阅读数:552

评论数:0

15.2.2

#include #include #include #include using namespace std; //定义学生类 class Student { public: Student() {}; ~Student(); double get_total(); ...

2014-06-10 22:08:11

阅读数:528

评论数:0

15.2.1

#include #include using namespace std; class Student { public: int gets1()//声明必要的成员函数 { return cpp; } int gets2() { ...

2014-06-10 22:06:46

阅读数:479

评论数:0

15.1

#include #include //支持freopen的头文件 using namespace std; int main( ) { double salarys[500]; int t,n=0; freopen("s2.txt","...

2014-06-10 22:04:50

阅读数:543

评论数:0

提示
确定要删除当前文章?
取消 删除
关闭
关闭