- 博客(1)
- 资源 (3)
- 收藏
- 关注
原创 STL解读-rebind的目的就是再定义一个struct (allocator), 这个allocator能分配 _Other类型的元素。
STL源文件: 文件:c:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\include\xmemory 行:103-107 template struct rebind { // convert an allocator to an allocator typedef allocator other; };
2014-12-01 21:42:19 1449
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关注的人