自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

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

原创 程序设计

// atm柜员模拟机程序 #include #include #include class People; //定义全局类class class ATM//ATM类 { private: int times; People& pl; public: ATM(People& p):pl(p){} void DLJM();/

2015-07-15 19:10:53 549

原创 【magic】

#include #include using namespace std; class magic { private: int m[4][4]; int step; int first; int sum; public: void getdata(int f,int p,int s) { first=f; step=p; sum=s; } void s

2015-05-12 07:31:38 417

原创 【4.19】

#include using namespace std; class book { private: int qu; int price; public: book(int q,int p) { qu=q; price=p; } int c() { return qu*price; } }; int main() { book b[5]={

2015-05-12 07:30:34 413

原创 【4.17】

#include using namespace std; class student { private: int id; int grade; public:     void set(int i,int g) { id=i; grade=g; } void show() { cout } }; int main() { stud

2015-05-12 07:28:57 449

原创 【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 setDat

2015-04-01 15:12:45 496 1

原创 【3.23】

#include using namespace std; class cylinder { double r; double h; double v;     public: void radius_input() { cout cin>>r; } void high_input() { cout cin>>h; } void vol_out() {

2015-03-31 14:54:20 471 1

原创 【3.22】

#include using namespace std; class Circle { double r; double a;     public: void radius_input() { cout cin>>r; } void area_out() { a=3.14*r*r; cout } }; int main() { Circl

2015-03-28 18:52:08 486 1

原创 【2.29】

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

2015-03-26 11:23:21 489 1

原创 【2.30】

//sroot #include #include using 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()

2015-03-26 09:12:56 521 1

空空如也

空空如也

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

TA关注的人

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