自定义博客皮肤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)
  • 收藏
  • 关注

原创 acm 第一套输入输出—私有继承

#include using namespace std;class Student{public: void get_value() { cin>>num>>name>>sex; } void display( ) { cout<<"num: "<<num<<endl; cou

2014-06-24 15:21:44 683

原创 acm 第一套比较大小-类模板

#include #include using namespace std;templateclass Compare{public: Compare(numtype a,numtype b); numtype max(); numtype min();private: numtype x,y;};templateCo

2014-06-24 14:58:13 706

原创 acm 第一套抽象基类

#include#includeusing namespace std;class Shape{public: virtual float printArea()=0;};class Circle:public Shape{public: Circle(float r):rad(r){} virtual float printAre

2014-06-24 14:39:14 693

原创 第二套 (1)

#include #include using namespace std;class Rectangle{ private: double long1,high1,long2,high2; public: Rectangle() {} Rectangle(double l1,double h1,double l2,double h

2014-06-17 15:18:52 744

原创 acm (5)

#include#include using namespace std;class Teacher{public: Teacher(string nam,int a,char s,string tit,string ad,string t); void display();protected: string name; int ag

2014-06-17 14:37:21 909

原创 acm第一套题 (4)

#include using namespace std;class Student{public: void get_value() { cin>>num>>name>>sex; } void display( ) { cout<<"num: "<<num<<endl; cou

2014-06-10 14:54:37 866

原创 acm第一套 (2)

//******************** begin ********************#include using namespace std;class A{private: int a,b;public: A(int aa, int bb) { a=aa; b=bb; }

2014-06-10 14:26:32 650

原创 acm第一套 (1)

#include using namespace std;class Rectangle //矩形类{private: int length; //矩形的长和宽 int width;public: Rectangle(); Rectangle(int l,int w); //构造函数,l、w分别代表长和宽 int getArea

2014-06-10 14:21:10 677

原创 【项目1-工资数据的输入】 文件读入工资

/** 程序的版权和版本声明部分* Copyright (c)2014, 烟台大学计算机学院学生* All rightsreserved.* 文件名称: array.cpp* 作    者:  刘江* 完成日期:2013年6月3日* 版本号: v1.0* 输入描述:无* 问题描述:*/#include #include //支持freopen的

2014-06-03 14:43:43 762

原创 15周【项目1-工资数据的输入】

/** 程序的版权和版本声明部分* Copyright (c)2014, 烟台大学计算机学院学生* All rightsreserved.* 文件名称: array.cpp* 作    者:  刘江* 完成日期:2013年6月3日* 版本号: v1.0* 输入描述:无* 问题描述:*/#include using namespace std;in

2014-06-03 14:35:19 683

libXp-1.0.0-8.1.el5.i386.rpm

libXp-1.0.0-8.1.el5.i386.rpm

2023-06-07

空空如也

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

TA关注的人

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