自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

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

原创 4.22

#include  #include  using namespace std;  class dot{  public:      dot(float a,float b)      {          x=a;          y=b;      }      void show(dot& j,dot& k)      {          cout"A点的坐标为:("","")"    

2015-07-01 11:07:27 230

原创 4.21

#include  #include  using namespace std;  class student{  public:      student(string number,string name,float score);      void show();      void show_count_sum_ave();  private:      string number;  

2015-07-01 11:06:52 254

原创 4.20

#include  using namespace std;  class book{  public:      book(int a)      {          qu=a;          price=a*10;      }      void display();  private:      int qu;      int price;  };    void book::di

2015-07-01 11:06:14 262

原创 4.18

#include  #include  using namespace std;  class student{  private:    public:  int number,math;   void  stu(int num,int m)  {     number=num;     math=m;  }      };  void max(student *p)  {  int i,j; 

2015-07-01 11:05:03 339

原创 4.17

#includeusing namespace std;class student{ public:  void setstudent(int num,int eng)  {   number=num;   english=eng;  }  void disp()  {   cout  } private:   int number;

2015-07-01 11:03:43 275

原创 3.24

#include using 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-04-01 19:05:05 306 1

原创 3.23

#include using namespace std;class cylinder {double r;double h;double v; public:void radius_input(){cout<<"请输入圆柱体的半径r:";cin>>r;}void high_input(){cout<<"请输入圆柱体的高度h:";cin>>h;}voi

2015-04-01 19:03:29 307 1

原创 2.30

#includeusing namespace std;int sroot(int i) {return sqrt(i); } long sroot(long l) {return sqrt(l); } double sroot(double d) {return sqrt(d); } int main() {int i=16;long l=2500;do

2015-04-01 19:02:29 308 1

原创 2.29

#include using namespace std; int main() {int *p=new int[20];int i;*p=1;*(p+1)=1;for (i=2;i<=20;i++){*(p+i)=*(p+i-1)+*(p+i-2);}for(i=0;i<20;i++){cout<<*(p+i)<<endl;}return 0; }

2015-04-01 19:01:22 297 1

原创 3.22

#include using namespace std;const double PI = 3.1415926;class Circle{public: Circle() : Radius(0) {} Circle(double Radius) : Radius(Radius) {} ~Circle() {} void SetRadius(double Radius

2015-04-01 15:15:49 331 1

空空如也

空空如也

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

TA关注的人

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