会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
友哥
博客园
首页
新随笔
联系
管理
订阅
上一页
1
2
3
4
5
6
7
8
9
···
28
下一页
2018年10月16日
名不正,则言不顺
摘要: 写文章、写程序都这样
阅读全文
posted @ 2018-10-16 17:04 友哥
阅读(127)
评论(0)
推荐(0)
2018年10月10日
c++编译器处理 函数返回值
摘要: X bar() { X xx; return xx; } // compiler generated temporary X __temp0; ( bar( __temp0 ), __temp0 ).memfunc();
阅读全文
posted @ 2018-10-10 17:00 友哥
阅读(166)
评论(0)
推荐(0)
2018年10月7日
oracle join method
摘要: nested loop, hash, and sort merge joins
阅读全文
posted @ 2018-10-07 17:48 友哥
阅读(117)
评论(0)
推荐(0)
2018年10月3日
c++中的stack实现
摘要: 通用、类型安全、模板 简直就是巧夺天工的例子
阅读全文
posted @ 2018-10-03 15:55 友哥
阅读(227)
评论(0)
推荐(0)
2018年10月2日
非虚函数是静态绑定
摘要: 只重新定义虚函数
阅读全文
posted @ 2018-10-02 21:34 友哥
阅读(133)
评论(0)
推荐(0)
函数返回const,以便控制访问
摘要: #include class const_out_parameter{ private: const int array[20]; public: int* const_out_parameter_test(){ return array; } }; int main(){ const_out_parameter* const_out_parameter_insta...
阅读全文
posted @ 2018-10-02 19:52 友哥
阅读(227)
评论(0)
推荐(0)
2018年9月30日
析构函数为虚函数
摘要: 否则调用基类指针时,派生类的析构函数没有被使用
阅读全文
posted @ 2018-09-30 11:52 友哥
阅读(187)
评论(0)
推荐(0)
c++中初始化列表顺序和声明顺序一致
摘要: a
阅读全文
posted @ 2018-09-30 11:31 友哥
阅读(338)
评论(0)
推荐(0)
define的误用
摘要: #define LIGHT_SPEED 3e8 // m/sec (in a vacuum)
阅读全文
posted @ 2018-09-30 10:51 友哥
阅读(145)
评论(0)
推荐(0)
模板就是让编译器帮你写代码
摘要: 赞
阅读全文
posted @ 2018-09-30 10:42 友哥
阅读(245)
评论(0)
推荐(0)
上一页
1
2
3
4
5
6
7
8
9
···
28
下一页
公告