自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(2)
  • 资源 (3)
  • 收藏
  • 关注

原创 sizeof ptr

struct LocalParam { LocalParam(size_t s) : size_(s) {} size_t size_;};template <class T>size_t size(const T&) { return sizeof(T);}template <>size_t size(const LocalParam& l) { return l.size_;}template <class T>.

2020-09-23 19:23:11 359

原创 宏定义 do while(false)

#define _STL_VERIFY(cond, mesg) \ do \ { \ if (cond) ...

2020-09-22 09:43:28 477

VC 利用ADO连接Sqlserver2005数据库示例

简单介绍VC使用ADO连接Sqlserver2005数据库的方法。参考VC++深入详解.pdf里面的示例(教程上的数据库对sqlserver2005不适用)。

2012-12-04

顶嵌杯-初赛-代码 “顶嵌杯”全国嵌入式系统C语言编程大赛

顶嵌杯”全国嵌入式系统C语言编程大赛 Problem A 位操作.c , Problem B 破译密码.c , Problem C 小孩报数问题.c , Problem D 时间日期格式转换.C , Problem E 字母旋转游戏.c http://www.top-e.org/page/cslc/ http://acm.pku.edu.cn/JudgeOnline/showcontest?contest_id=1345

2010-01-10

Inside C++ Object Model

深入了解c++机制 Inside the C++ Object Model focuses on the underlying mechanisms that support object-oriented programming within C++: constructor semantics, temporary generation, support for encapsulation, inheritance, and "the virtuals"-virtual functions and virtual inheritance. This book shows how your understanding the underlying implementation models can help you code more efficiently and with greater confidence. Lippman dispells the misinformation and myths about the overhead and complexity associated with C++, while pointing out areas in which costs and trade offs, sometimes hidden, do exist. He then explains how the various implementation models arose, points out areas in which they are likely to evolve, and why they are what they are. He covers the semantic implications of the C++ object model and how that model affects your programs. Highlights Explores the program behavior implicit in the C++ Object Model's support of object-oriented programming. Explains the basic implementation of the object-oriented features and the trade offs implicit in those features. Examines the impact on performance in terms of program transformation. Provides abundant program examples, diagrams, and performance measurements to relate object-oriented concepts to the underlying object model. If you are a C++ programmer who desires a fuller understanding of what is going on "under the hood," then Inside the C++ Object Model is for you!

2008-09-28

空空如也

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

TA关注的人

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