自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

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

原创 C++中类模板的友元声明,

C++中的类模板中可以使用3种友

2014-05-03 09:26:54 528

原创 C++指针类的使用

C++语言中指针的使用和智能智能的用法

2014-04-27 13:44:06 671

原创 链表结构的实现

//链表结构的定义及实现#include "stdafx.h"#include using namespace std;template class link{public:T data;      //结点的数据域link *next;   //结点的指针域,指向下一个结点link();link(T value,link *p);};templ

2014-03-30 15:10:26 430

原创 数据结构与算法练习

//顺序栈结构的实现#include using namespace std;template class arrStack0{private:int mSize;     //栈中最多可存放的元素个数int top;T *st;public: arrStack(const int size);  //构造函数,创建一个指定长度的顺序栈arrStac

2014-03-23 22:33:46 430

原创 类的学习——4

类的组合程序代码  #include #include using namespace std;//点类的声明与定义class Point {int x,y;public:Point(int xx=0,int yy=0);Point(Point &a);void set(int,int);void get(int &,int &);};P

2013-10-14 07:33:14 438

原创 类中简单构造函数的使用

#include using namespace std;class Time{int second,minute,hour;public:Time();    Time(int,int,int);void set_time(int,int,int);void print_smh();void print_hms();};Time::Time()

2013-10-09 21:41:25 393

原创 类的开始

#include using namespace std;class Ellipse{int a,b,x,y;float area;public:void set_Ellipse(int ,int ,int ,int);void fuc_area();};void Ellipse::set_Ellipse(int a1,int b1,int x1,int y

2013-10-08 22:25:34 340

原创 开始吧,少年,现在也一点也晚

重头来,利用埋在心底的那点剩余的勇气与热情,收拾旧山河!!!!#include #include using namespace std;class Dog{char name[20];int age;char sex;float weight;public:void set_dog(char *a,int,char,float);void show

2013-10-08 22:24:36 534

空空如也

空空如也

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

TA关注的人

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