自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

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

原创 重载流插入和前置与后置自增运算符

/*point类*/#ifndef POINT_H#define POINT_Husing namespace std;class Point{    friend ostream &operator    friend istream &operator>>(istream &,Point &);//重载>>public:        Point(int m

2017-10-27 23:22:13 382

原创 圆心类,点类,组成,成员初始化器

/*点Point类*/#ifndef CIRPOINT_H_INCLUDED#define CIRPOINT_H_INCLUDEDclass Point{    public:        Point(int m,int n);//构造函数        ~Point();//析构函数        void showPoint()const;//显示函数

2017-10-25 02:17:07 380

翻译 重载运算符,Array类

/*main.h*/#include #include #include using namespace std;class Array{    friend ostream &operator    friend istream &operator>>(istream &,Array &);public:    Array (int =10);  

2017-10-23 23:00:59 603

翻译 用函数模板求三整数,浮点数或字母的最大值

/*main.h*/template T maxmum(T value1 ,T value2,T value3){    T maxmumvalue=value1;    if(value2>maxmumvalue)    maxmumvalue=value2;    if(value3>maxmumvalue)    maxmumvalue=value3;

2017-10-23 01:12:15 2240

空空如也

空空如也

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

TA关注的人

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