自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(13)
  • 收藏
  • 关注

原创 7.12

#include #includeclass Matrix { public: Matrix(); //构造函数 friend Matrix operator+(Matrix&,Matrix&); //声明重载运算符"+" friend istream& operator>>(ist

2015-06-27 18:12:46 591

原创 7.11

#include using namespace std;class Date { public: Date(){} Date(int m,int d,int y) { month=m; day=d; year=y; } void print() { cout<<year<<"."<<month<<"."<<day<<endl; } Date

2015-06-27 15:54:17 405

原创 7.10

#include #includeconst int r=2; const int c=3;class A { public: A(); //构造函数 A(int a,int b,int c,int d,int e,int f); void get_A( ); //键盘输入数组的

2015-06-26 18:20:44 422

原创 7.9

#include #includeusing namespace std;const int r=2; const int c=3;class A { public: A(); //构造函数 A(int a,int b,int c,int d,int e,int f); void get

2015-06-26 17:58:12 429

原创 5.18

#include #include using namespace std; class Person //声明基类Person{ public: void input() { cout<<"请输入编号:"; cin>>number; cout<

2015-06-11 01:27:50 441

原创 magic(4*4)

#include#includeusing namespace std;class magic{public: void getdata(int st,int f,int s) { step=st; first=f; sum=s; } void setfirstmagic() { int i,j;

2015-06-04 12:36:41 660

原创 4.22

#include #include using namespace std; class point { private: int x; int y; public: point(int m,int n); //声明构造函数 friend void dist(point &a,point &b);

2015-06-04 11:16:57 387

原创 4.21

#include #include using namespace std; class Student { private: int number; string name; float mark; static float sum; static float aver; static int total;

2015-06-04 00:38:25 375

原创 4.20

#include using namespace std; class book {private: int qu; int price; public: book(int q,int p) { qu=q; price=p; } void print() { cout<<qu*price<<endl; } }

2015-06-04 00:20:32 479

原创 4.19

#include using namespace std; class book {private: int qu; int price; public: book(int q,int p) { qu=q; price=p; } void print() { cout<<qu*price<<endl; } }

2015-06-04 00:09:20 409

原创 4.18

#include using namespace std; int a=1; class Student { int number; float english; public: Student(int n,float e) { number=n;

2015-06-03 17:49:58 440

原创 4.17

#include using namespace std; class Student { int number; float english; float math; float PE; public: Student(int n,float e,float m,float p) { nu

2015-06-03 17:43:07 475

原创 3.24

#includeusing namespace std;class Date{private: int year,y; int month,m; int day,d;public:Date(int y,int m,int d){ year=y; month=m; day=d;}Date(){}void setDate(int o,int p,int q){

2015-06-03 17:35:00 388

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

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