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

转载 函数名前加 & 符号的深入理解 C++

#include <iostream> using namespace std; int& test_str() { int a = 1; return a; //通过返回 a 的地址来进行 值的返回(即 a的地址中所储存的值) } int ff(int t) //返回的就是个数 a 的值,a属于局部变量,函数...

2018-12-05 17:24:00 3333

转载 C++常量(const)的使用

#include <iostream> using namespace std; class MyClass { public: int GetValue() const ; int GetValue() { return x + y; } int GetMax() { ...

2018-11-26 21:34:00 123

转载 C++拷贝构造函数 的理解

#include <iostream> using namespace std; //拷贝构造函数的理解 class Point { public: Point(); Point(int X, int Y); ~Point(); Point(Point &p); void setPoint(int X...

2018-11-25 18:41:00 124

转载 //指针的进一步理解

#include "stdio.h" #include "stdlib.h" #define SIZE 4 struct student { int num; struct student *next; }stu[SIZE]; main() { struct student *h=NULL,*q,*tail; int i=0;...

2018-06-29 10:20:00 115

空空如也

空空如也

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

TA关注的人

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