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

原创 ATM

class ATM { public: ATM(Users& er):use(er) { } void Login(); bool check_passwd(char n[],char pwd[]); void change_passwd(); void getmoney(); void savemoney();

2015-07-03 23:15:42 819

原创 4.21

01.#include 02.#include 03.using namespace std; 04.class student 05.{ 06.public: 07. void show() 08. { 09. cout<<"num="<<num<<endl; 10. cout<<"name="<

2015-06-29 23:39:04 192

原创 4.20

01.#include 02.#include 03.using namespace std; 04.class book 05.{ 06.public: 07. book(int a) 08. { qu=a; 09. price=10*a; 10. } 11. void show() 12.

2015-06-29 23:37:45 209

原创 4.19

01.#include 02.#include 03.using namespace std; 04.class book 05.{ 06.public: 07. book(int a) 08. { qu=a; 09. price=10*a; 10. } 11. void show() 12.

2015-06-29 23:36:25 287

原创 4.18

01.#include 02.#include 03.using namespace std; 04.class student 05.{ 06.public: 07. friend void max(student *p,int a); 08. student(string a,double b) 09. { 10.

2015-06-29 23:30:08 317

原创 4.17

01.#include 02.#include 03.using namespace std; 04.class student 05.{ 06.public: 07. void show1(); 08. 09. student (string a,double b) 10. { 11. scor

2015-06-29 23:27:31 277

原创 2.29

01.#include 02.using namespace std; 03.const int M=20; 04.int main() 05.{ 06. int *p=new int[M]; 07. int i; 08. p[0]=p[1]=1; 09. for(i=2;i<M;i++) 10. { 11

2015-06-27 23:43:08 204

原创 2.30

01.#include 02.#include 03.using namespace std; 04.int sroot(int a) 05.{ 06. return sqrt(a); 07.} 08.double sroot(double b) 09.{ 10. return sqrt(b); 11.} 12.lo

2015-06-27 17:12:44 201

原创 3.24

01.#include 02.using namespace std; 03.class Date 04.{ 05.public: 06. void printdate() 07. { 08. cout<<year<<"."<<month<<"."<<day<<endl; 09. } 10. void G

2015-06-27 16:59:09 231

原创 2

01.#include 02.using namespace std; 03.class Circle 04.{ 05.public: 06. Circle(double p) 07. { 08. radius=p; 09. } 10. double area() 11. { 12.

2015-06-27 16:48:09 497

空空如也

空空如也

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

TA关注的人

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