老菜的园子

  博客园 :: 首页 :: 新随笔 :: 联系 :: 订阅 :: 管理 ::

随笔分类 -  C/C++

摘要:Java的语言基础包括:基本数据类型、运算符、表达式、语句、块、控制流、类、接口、继承、IO、异常 阅读全文
posted @ 2014-01-31 23:34 weichsel 阅读(643) 评论(0) 推荐(0)

摘要:决定用继承前,我们要考虑几个问题:1. 是否真的需要使用继承,还是应该用复合 ... 阅读全文
posted @ 2010-11-06 23:07 weichsel 阅读(337) 评论(0) 推荐(0)

摘要:__stdcall, __cdel, __fastcall, extern "c" 阅读全文
posted @ 2010-09-23 18:06 weichsel 阅读(347) 评论(0) 推荐(0)

摘要:throw; catch; set_terminate; set_unexpected; 阅读全文
posted @ 2010-09-23 17:40 weichsel 阅读(157) 评论(0) 推荐(0)

摘要:static const 这样的普通变量才可以在类中初始化; 阅读全文
posted @ 2010-09-23 17:35 weichsel 阅读(293) 评论(0) 推荐(0)

摘要:static_cast, dynamic_cast, const_cast, reinterpret_cast 阅读全文
posted @ 2010-09-23 17:25 weichsel 阅读(144) 评论(0) 推荐(0)

摘要:介绍C/C++语言中的字节对齐概念 阅读全文
posted @ 2010-09-14 21:59 weichsel 阅读(307) 评论(0) 推荐(0)

摘要:为什么需要Container;Container如何支持不同类型;Iterator的实现; 阅读全文
posted @ 2010-09-14 21:57 weichsel 阅读(4861) 评论(2) 推荐(0)

摘要:IO操作的类,以及相关函数,Manipulator 阅读全文
posted @ 2010-09-14 21:56 weichsel 阅读(262) 评论(0) 推荐(0)

摘要:继承关系中要注意:初始化的顺序,修改符号名字时的影响。 阅读全文
posted @ 2010-09-14 21:55 weichsel 阅读(246) 评论(0) 推荐(0)

摘要:Virtual函数的使用要点;Overload函数的选择依据; 阅读全文
posted @ 2010-09-14 21:54 weichsel 阅读(377) 评论(0) 推荐(0)

摘要:new/delete替代malloc/free的好处;使用new/delete的注意事项; 阅读全文
posted @ 2010-09-14 21:54 weichsel 阅读(737) 评论(0) 推荐(0)

摘要:继承关系中,默认构造函数、拷贝构造函数的调用规则;类的sizeof; 阅读全文
posted @ 2010-09-14 21:53 weichsel 阅读(345) 评论(0) 推荐(0)