常量指针
指向常量的指针,指针可变,指的值不能变
const char b='Z';//定义常量b='Z'
const char* a=&b;//其指向的变量为常量,值不可以改变
char const *a=&b; //也可以
*a='G';//错误,a指向的为常量,不能给赋值
const char c='J';//定义常量c='J'
a=&c;//正确,可指向新的常量
指针常量
指针为常量,不可改变,指的值可以变
char b,c;//定义字符型变量
char* const a=&b;//该指针为常量,不可改变
*a='H';//正确
a=&c;//错误,a指向b,a为指针常量不能指向其他地址
指向常量的指针常量
有两个const修饰符,前面的const是在前面的,表示指向的是常量,后面的const实在后边的,表示指针是常量,const int * const b = &a
函数参数
值传递:形参不影响实参
指针和引用传递:区别,https://www.cnblogs.com/zdj8023/p/11692448.html
&三种含义:按位与,取地址(指针),引用(定义时)
wchar_t
https://blog.csdn.net/doutd_y/article/details/81745901
动态和静态绑定
https://blog.csdn.net/chgaowei/article/details/6427731
动态绑定通过虚表实现
https://blog.csdn.net/primeprime/article/details/80776625
int _tmain(int argc, _TCHAR* argv[])
https://zhidao.baidu.com/question/276870111.html
delete 和 delete []的真正区别
https://www.cnblogs.com/wangjian8888/p/7905176.html