【待总结】const * int,const int *,const &问题
来源:互联网 发布:我们如何看待网络用语 编辑:程序博客网 时间:2024/06/07 01:23
待总结1.const
2.关于按位与flags用法问题
3.字符指针传参返回之类的用法及其注意事项。
待总结1.MAM上关于volume point 加载方式的。for循环之类的
100 5
200 10
300 20
2.程序员的自我修养中第10章关于返回值的一段总结
3.高质量C中8.1.2中关于extern C的作用
4.关于虚函数类的内存方面知识库中 一篇文章C++类内存分配通过vs的output看类的内存那块讲解,一篇c++函数的内存分配机制讲到的3,以及
C++多态的实现原理中总结22. 虚表可以继承,如果子类没有重写虚函数,那么子类虚表中仍然会有该函数的地址,只不过这个地址指向的是基类的虚函数实现。如果基类 有3个虚函数,那么基类的虚表中就有三项(虚函数地址),派生类也会有虚表,至少有三项,如果重写了相应的虚函数,那么虚表中的地址就会改变,指向自身的虚函数 实现。如果派生类有自己的虚函数,那么虚表中就会添加该项。
以及有几个链接没来及看http://www.cnblogs.com/feixiang927/p/5048564.html
http://www.cnblogs.com/kubixuesheng/archive/2015/03/20/4353907.html
http://www.cnblogs.com/zhuyp1015/p/3901667.html
http://blog.chinaunix.net/uid-16723279-id-3568748.html
http://blog.csdn.net/haoel/article/details/3081328/
http://blog.csdn.net/haoel/article/details/1948051
待总结:1.MAM中涉及到锁的两种形式的用法
2,多线程总结信号量,锁互斥量,事件等
待总结:1.高质量C 8.2.2关于函数名相同,参数不同时,的隐藏而非覆盖问题
派生类与基类函数名相同,参数不同,隐藏
派生类与基类函数名形态,参数相同,virtual覆盖;非vitrual隐藏。
高质量 8.5.2 内联函数
2. 对象创建时会调用构造函数
拷贝构造函数
1)String a(b) 2) 参数 3)返回值
调拷贝构造和赋值函数
会提供四个默认函数,构造,拷贝构造,析构,赋值
默认的拷贝构造函数所做的工作是将一个对象的全部数据成员赋值另一个对象的数据成员。C++把这种只进行对象数据成员简单赋值,称之为“浅拷贝”
浅拷贝 有指针时两个对象中的指针变量指向同一块内存
深拷贝 需要new一块内存出来,然后拷贝内容
this 指针
待总结: strstr的用法和atoi等的用法,long和点分IP直接的转换(在CLSrv插件中,MtSrvTelnet中)
memset http://blog.csdn.net/my_business/article/details/40537653
初始化表:https://www.cnblogs.com/ljygoodgoodstudydaydayup/p/3873839.html
待总结:Gppsrv common.cpp里的CheckGroup函数
- 【待总结】const * int,const int *,const &问题
- int * const *, const int * const *, const int **
- int *const 与const int *问题
- const int *, int const*, int* const
- const int& | int const& | const int* | int const* | int *const | const int *const的区分
- const int
- const int *const A;
- const int *const
- const int*和int const*
- const int* 和 int const*
- C++ const int * ; int * const
- const int*和int* const
- const int * 与 int *const
- int const * 、const int *、int *const、const char **与char **
- const int a; int const a; const int *a; int * const a; const int * const a;
- 关于const的问题 const int *a; int const *a; int *const a; 的区别
- int const* func(const int&) | const int* func(const int&) | int *func() const区别
- typedef const int * const * SIZE
- UVA-Ancient Cipher
- Java Web实现使用浏览器从服务器下载文件(后台)
- 检测文件被占用
- mackeeper病毒解决方法
- spring+freemarker+springMvc+mybatis+maven整合
- 【待总结】const * int,const int *,const &问题
- java instanceof 关键字
- bzoj1081: [SCOI2005]超级格雷码
- JQuery判断复选框是否选中
- 系统例外
- git图形化统计工具
- 简单实用的双向电平转换电路(非常实用!)
- ubuntu没网环境安装libreoffice和unoconv,用以word转pdf用
- 【Linux\云服务器】CentOS 7.2 64位 可视化桌面的安装与卸载