自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

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

原创 第七单元

1.#include #include using namespace std; void area(float a,float b,float c) {  double s,area;  if(a+b cerr  else if(b+c cerr  else if(a+c cerr  else  {   s=(a+b+c)/2;   area=sqrt(s*(s

2015-06-13 13:36:11 244

原创 用一个异地链表保存学生数据

#include   #include   using namespace std;   class Student   {   public:       virtual void get()=0;       virtual void display()=0;       string name;       string num;   };   class UnderG

2015-06-13 13:31:21 249

原创 第六单元

1. #include   class Point   {public:       Point(float x=0,float y=0);       void setPoint(float,float);       float getX() const       {return x;}       float getY() const       {return y;}

2015-06-13 13:27:10 220

原创 第五章

#include   using namespace std;  class Student{  public:     void get_value()    {cin>>num>>name>>sex;}    void display()     {      cout    cout    cout  }  private:     int num;     char name[10];  

2015-05-21 12:01:21 200

原创 第四章

1. #include    using namespace std;   class Complex {  public:   Complex()     {      real=0;      imag=0;    }      Complex(double r,double i)     {       real=r;   imag=i;  .    }   doub

2015-05-21 11:58:19 170

原创 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 22:24:46 239

原创 C++作业

7 #include using namespace std; int max (int a,int b=0;c=1) { if(a<b) a=b; if(a<c) a=c; return a; } int max(int a,int b) { if(a<b) a=b; else return a; } int main() { int a,b,c,d; cin>>a>>b>>c; d=

2015-04-13 12:35:56 176

空空如也

空空如也

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

TA关注的人

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