自定义博客皮肤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 using namespace std; class ATM{ public: ATM(){q=10000;} void put(long a=123456) {x=a; } void input(long a=123456) {num=a;} long getnum() {return num;} long getx() {return x;} vo

2015-07-04 19:31:53 504

原创 第4题

#include #include using namespace std; class student{ public: void account(); static void account_count_sum_average(); student(string name1,float score1); private:string name; static float totai

2015-04-15 17:53:12 380 1

原创 第3题

#include #include using namespace std; class Location{ public:void show1(); void show2(); void setlocation1(double X1,double Y1) {this->x1=X1;y1=Y1;} double Mathlong(Location&);

2015-04-15 16:36:32 386 1

原创 3.24

#include using namespace std; class Date{ public: void printDate(); void GetYear(); void GetMonth(); void Getday(); void setDate(int Y,int m,int d) {year=Y; month=m; day=d;} private: int year

2015-04-08 18:53:45 396 1

原创 3.23

#include using namespace std; class cylinder{ public: double V() {return 3.14*r*r*h;} void haha(double a,double b) {r=a,h=b;} void show(); private: double r,h; }; void cylinder::show() {cout<<"V

2015-04-08 18:37:31 447 1

原创 3.22

#include using namespace std; class Circle{ public: double area() {return 3.14*r*r;} void radius(double a) {r=a;} void Shows(); private: double r; }; void Circle::Shows() {cout<<"s="<<area()<<en

2015-04-08 18:32:04 369 1

原创 习题2.30

cpp] view plaincopy 01.#include 02.#include 03.using namespace std; 04.double sroot(int m) 05.{ 06. return sqrt(n); 07.} 08.double sroot(long x) 09.{ 10. return sqrt(n); 11.}

2015-04-01 23:54:29 386 1

原创 习题2.29

#include 02.using namespace std; 03.int main() 04.{ 05. int *p=new int[20]; 06. *p=1; 07. *(p+1)=1; 08. cout<<*p<<"\t"<<*(p+1)<<"\t"; 09. p=p+2; 10. for(;*p<=19;p++

2015-04-01 23:52:02 316 1

原创 定义学生类

#include #include using namespace std; class student{ public: student(char *name1,char *place1,float score1); void disp(); private: char *name; char *place; float score;}; student::student(char

2015-04-01 20:39:19 742 1

空空如也

空空如也

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

TA关注的人

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