自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

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

原创 银行储蓄系统

bank.h #ifndef BANK_H_INCLUDED#define BANK_H_INCLUDED#include using namespace std;const int upNum=2000; //系统最多容纳的用户数class Bank;class User{public:    void setUser(int acc, string

2015-07-18 11:06:24 870

原创 第十四周项目1-小玩文件(2)

/*  * Copyright (c) 2014,烟台大学计算机学院  * All rights reserved.  *文件名称: test.cop  *作者:翟兴雷  *完成日期:2015年6月10日  *版本号:v1.0  *  *问题描述:  *输入描述:  *程序输出:  */#include #include #include

2015-06-10 08:53:29 365

原创 第十四周项目1-小玩文件(1)

#include #include #include // (1)using namespace std;int main(){    fstream file;    file.open("abc.txt", ios::in); // (2)    if(!file) {        cout                exit(1);

2015-06-10 08:41:13 805

原创 第六周项目2 我的数组类

/*  * Copyright (c) 2014,烟台大学计算机学院  * All rights reserved.  *文件名称: test.cop  *作者:翟兴雷  *完成日期:2015年4月15日  *版本号:v1.0  *  *问题描述:我的数组类  *输入描述:  *程序输出:  */#includeusing namespace s

2015-04-15 09:12:35 662 1

原创 第六周项目1 深复制体验

*  * Copyright (c) 2014,烟台大学计算机学院  * All rights reserved.  *文件名称: test.cop  *作者:翟兴雷  *完成日期:2015年4月15日  *版本号:v1.0  *  *问题描述:深复制体验  *输入描述:  *程序输出:  */#include#includeusing na

2015-04-15 08:23:50 491

原创 第五周项目2对象作为数组成员

/*  * Copyright (c) 2014,烟台大学计算机学院  * All rights reserved.  *文件名称: test.cop  *作者:翟兴雷  *完成日期:2015年4月8日  *版本号:v1.0  *  *问题描述:  *输入描述:  *程序输出:  */#include #includeusing namesp

2015-04-08 09:21:24 444

原创 第五周项目1体验常成员函数

/*  * Copyright (c) 2014,烟台大学计算机学院  * All rights reserved.  *文件名称: test.cop  *作者:翟兴雷  *完成日期:2015年4月6日  *版本号:v1.0  *  *问题描述:  *输入描述:  *程序输出:  */#include"iostream"#include"Cmat

2015-04-06 13:29:59 781

原创 第四周项目1三角形类的构造函数(4)

/*  * Copyright (c) 2014,烟台大学计算机学院  * All rights reserved.  *文件名称: test.cop  *作者:翟兴雷  *完成日期:2015年4月1日  *版本号:v1.0  *  *问题描述:  *输入描述:  *程序输出:  */#include #include using names

2015-04-01 09:14:10 516 1

原创 第四周项目1三角形类的构造函数(3)

/*  * Copyright (c) 2014,烟台大学计算机学院  * All rights reserved.  *文件名称: test.cop  *作者:翟兴雷  *完成日期:2015年4月1日  *版本号:v1.0  *  *问题描述:  *输入描述:  *程序输出:  */#include #include using names

2015-04-01 09:09:23 516

原创 第四周项目1三角形类的构造函数

/*  * Copyright (c) 2014,烟台大学计算机学院  * All rights reserved.  *文件名称: test.cop  *作者:翟兴雷  *完成日期:2015年4月1日  *版本号:v1.0  *  *问题描述:  *输入描述:  *程序输出:  */#include #include using names

2015-04-01 08:58:31 340

原创 第四周项目1三角形类的构造函数(2)

/*  * Copyright (c) 2014,烟台大学计算机学院  * All rights reserved.  *文件名称: test.cop  *作者:翟兴雷  *完成日期:2015年4月1日  *版本号:v1.0  *  *问题描述:  *输入描述:  *程序输出:  */#include #include using names

2015-04-01 08:54:49 652

原创 第三周项目2-三角形类2

/*  * Copyright (c) 2014,烟台大学计算机学院  * All rights reserved.  *文件名称: test.cop  *作者:翟兴雷  *完成日期:2015年3月25日  *版本号:v1.0  *  *问题描述:  *输入描述:  *程序输出:  */#include#includeusing namesp

2015-03-25 09:20:13 280

原创 第三周项目1-三角形类型1

/*  * Copyright (c) 2014,烟台大学计算机学院  * All rights reserved.  *文件名称: test.cop  *作者:翟兴雷  *完成日期:2015年3月25日  *版本号:v1.0  *  *问题描述:  *输入描述:  *程序输出:  */#include#include#includeus

2015-03-25 08:51:29 324

原创 第二周项目4 图书馆的书

/*  * Copyright (c) 2014,烟台大学计算机学院  * All rights reserved.  *文件名称: test.cop  *作者:翟兴雷  *完成日期:2015年11月22日  *版本号:v1.0  *  *问题描述:  *输入描述:  *程序输出:  */#include  #include  using

2015-03-22 17:10:43 343

原创 第二周项目三 时间类

/*  * Copyright (c) 2014,烟台大学计算机学院  * All rights reserved.  *文件名称: test.cop  *作者:翟兴雷  *完成日期:2015年11月22日  *版本号:v1.0  *  *问题描述:  *输入描述:  *程序输出:  */#include  using namespace st

2015-03-22 17:06:33 424

原创 第二周项目1(2)长方体

/*  * Copyright (c) 2014,烟台大学计算机学院  * All rights reserved.  *文件名称: test.cop  *作者:翟兴雷  *完成日期:2015年11月22日  *版本号:v1.0  *  *问题描述:  *输入描述:  *程序输出:  */#include  using namespace st

2015-03-22 11:49:10 398

原创 第二周项目 旱冰场造价

/*  * Copyright (c) 2014,烟台大学计算机学院  * All rights reserved.  *文件名称: test.cop  *作者:翟兴雷  *完成日期:2015年3月18日  *版本号:v1.0  *  *问题描述:  *输入描述:  *程序输出:  */#include  using namespace std;

2015-03-18 09:35:52 672

原创 第十五周项目3(1)OJ上玩指针

/*  * Copyright (c) 2014,烟台大学计算机学院  * All rights reserved.  *文件名称: test.cop  *作者:翟兴雷  *完成日期:2014年12月4日  *版本号:v1.0  *  *问题描述:  *输入描述:  *程序输出:  */#include using namespace std;

2014-12-04 17:23:21 461

原创 第十五周项目3(4)OJ上玩指针

/*  * Copyright (c) 2014,烟台大学计算机学院  * All rights reserved.  *文件名称: test.cop  *作者:翟兴雷  *完成日期:2014年12月4日  *版本号:v1.0  *  *问题描述:  *输入描述:  *程序输出:  */#include using namespace std;

2014-12-04 17:15:50 476

原创 第十五周项目3(3)OJ上玩指针

1

2014-12-04 16:33:55 830

原创 第十五周项目3(1)OJ上玩指针

/*  * Copyright (c) 2014,烟台大学计算机学院  * All rights reserved.  *文件名称: test.cop  *作者:翟兴雷  *完成日期:2014年12月4日  *版本号:v1.0  *  *问题描述:  *输入描述:  *程序输出:  */#include using namespace std;

2014-12-04 15:47:12 336

原创 第十五周项目2(2)阅读程序

/*  * Copyright (c) 2014,烟台大学计算机学院  * All rights reserved.  *文件名称: test.cop  *作者:翟兴雷  *完成日期:2014年12月4日  *版本号:v1.0  *  *问题描述:  *输入描述:  *程序输出:  */#include using namespace std;

2014-12-04 14:54:23 285

原创 第十五周项目2(1)阅读程序

*/  * Copyright (c) 2014,烟台大学计算机学院  * All rights reserved.  *文件名称: test.cop  *作者:翟兴雷  *完成日期:2014年12月4日  *版本号:v1.0  *  *问题描述:  *输入描述:  *程序输出:  */#include using namespace std;

2014-12-04 14:47:47 371

原创 第十五周项目1打入“内部”寻“内幕”

/*  * Copyright (c) 2014,烟台大学计算机学院  * All rights reserved.  *文件名称: test.cop  *作者:翟兴雷  *完成日期:2014年12月4日  *版本号:v1.0  *  *问题描述:  *输入描述:  *程序输出:  */#include using namespace std;

2014-12-04 14:39:25 428

原创 14年11月月末总结

不知不觉中,一个月的时间已从我们的指尖悄悄溜走。在这一个月中,对于C++的学习又有了新的认识。在我看来,C++的学习离不开上机实践,也许我们刚写出来的程序会被提示一大堆的错误,它让我们瞬间就抓狂了,但谁不是从错误中一步一步闯出来的,所以,静下心来一一去改正那些错误吧。当然如果实在不行,也会适当参考一下别人的,以人之长补己之短嘛。但学好C++的前提是我们要好好听课,课堂也是我们学习的重中之重。为了我

2014-12-02 11:20:14 515 2

原创 第十四周项目3多可成绩单

/*  * Copyright (c) 2014,烟台大学计算机学院  * All rights reserved.  *文件名称: test.cop  *作者:翟兴雷  *完成日期:2014年12月2日  *版本号:v1.0  *  *问题描述:  *输入描述:  *程序输出:  */  #include#includeusing name

2014-12-02 11:14:37 376

原创 第十四周项目2带姓名的成绩

/*  * Copyright (c) 2014,烟台大学计算机学院  * All rights reserved.  *文件名称: test.cop  *作者:翟兴雷  *完成日期:2014年12月2日  *版本号:v1.0  *  *问题描述:  *输入描述:  *程序输出:  */#include#includeusing namesp

2014-12-02 11:02:52 420

原创 第十四周项目1折腾二维数组

/*  * Copyright (c) 2014,烟台大学计算机学院  * All rights reserved.  *文件名称: test.cop  *作者:翟兴雷  *完成日期:2014年12月2日  *版本号:v1.0  *  *问题描述:  *输入描述:  *程序输出:  */#include #include using name

2014-12-02 10:31:25 356

原创 第十三周项目1(2)数据大折腾

/*  * Copyright (c) 2014,烟台大学计算机学院  * All rights reserved.  *文件名称: test.cop  *作者:翟兴雷  *完成日期:2014年11月24日  *版本号:v1.0  *  *问题描述:  *输入描述:  *程序输出:  */#include using namespace std;

2014-11-24 11:21:40 365

原创 第十三周项目1(1)数据大折腾

/*  * Copyright (c) 2014,烟台大学计算机学院  * All rights reserved.  *文件名称: test.cop  *作者:翟兴雷  *完成日期:2014年11月24日  *版本号:v1.0  *  *问题描述:汉诺塔  *输入描述:  *程序输出:  */#include using namespace s

2014-11-24 10:34:46 355

原创 第十二周项目3(6)汉诺塔问题

/*  * Copyright (c) 2014,烟台大学计算机学院  * All rights reserved.  *文件名称: test.cop  *作者:翟兴雷  *完成日期:2014年11月16日  *版本号:v1.0  *  *问题描述:汉诺塔  *输入描述:  *程序输出:  */  #include   using namespa

2014-11-17 11:00:22 323

原创 第十二周项目3(4)求两书的最大公约数

*  * Copyright (c) 2014,烟台大学计算机学院  * All rights reserved.  *文件名称: test.cop  *作者:翟兴雷  *完成日期:2014年11月13日  *版本号:v1.0  *  *问题描述  *输入描述:  *程序输出:  */#include using namespace std;

2014-11-13 20:59:23 411

原创 第十二周项目3(5)整数换成二进制

/*  * Copyright (c) 2014,烟台大学计算机学院  * All rights reserved.  *文件名称: test.cop  *作者:翟兴雷  *完成日期:2014年11月13日  *版本号:v1.0  *  *问题描述:把整数换成二进制  *输入描述:  *程序输出:  */#include using namesp

2014-11-13 20:52:24 405

原创 第十二周项目3输出Fibnacci序列的地20个数

/*  * Copyright (c) 2014,烟台大学计算机学院  * All rights reserved.  *文件名称: test.cop  *作者:翟兴雷  *完成日期:2014年11月13日  *版本号:v1.0  *  *问题描述:求1*3*...n的递归式  *输入描述:  *程序输出:  */#include using n

2014-11-13 20:19:21 556

原创 第十二周项目3用递归式求1*3*5*....*N

/*  * Copyright (c) 2014,烟台大学计算机学院  * All rights reserved.  *文件名称: test.cop  *作者:翟兴雷  *完成日期:2014年11月13日  *版本号:v1.0  *  *问题描述:求1*3*...n的递归式  *输入描述:  *程序输出:  */#include using n

2014-11-13 20:06:47 492

原创 第十二周项目3求N!

/*  * Copyright (c) 2014,烟台大学计算机学院  * All rights reserved.  *文件名称: test.cop  *作者:翟兴雷  *完成日期:2014年11月13日  *版本号:v1.0  *  *问题描述:求n!  *输入描述:  *程序输出:  */#include using namespace s

2014-11-13 18:51:03 344

原创 第十二周项目1(8)理解函数模板

/*  * Copyright (c) 2014,烟台大学计算机学院  * All rights reserved.  *文件名称: test.cop  *作者:翟兴雷  *完成日期:2014年11月13日  *版本号:v1.0  *  *问题描述:  *输入描述:  *程序输出:  */#include using namespace std;

2014-11-13 18:31:18 353

原创 第十二周项目1(7)理解函数的默认参数

/*  * Copyright (c) 2014,烟台大学计算机学院  * All rights reserved.  *文件名称: test.cop  *作者:翟兴雷  *完成日期:2014年11月13日  *版本号:v1.0  *  *问题描述:  *输入描述:  *程序输出:  */#include using namespace std;

2014-11-13 18:27:11 336

原创 第十二周项目1(6)递归函数

/*  * Copyright (c) 2014,烟台大学计算机学院  * All rights reserved.  *文件名称: test.cop  *作者:翟兴雷  *完成日期:2014年11月13日  *版本号:v1.0  *  *问题描述:  *输入描述:  *程序输出:  */#include using namespace std;

2014-11-13 18:20:45 262

原创 第十二周项目1递归函数的学习应用

/*  * Copyright (c) 2014,烟台大学计算机学院  * All rights reserved.  *文件名称: test.cop  *作者:翟兴雷  *完成日期:2014年11月13日  *版本号:v1.0  *  *问题描述:  *输入描述:  *程序输出:  */  #include using namespace st

2014-11-13 18:15:32 336

空空如也

空空如也

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

TA关注的人

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