Posted on 2009-05-26 17:59
向往 阅读(519)
评论(0) 编辑 收藏 引用 所属分类:
C/C++/Script
转载自:http://www.cnblogs.com/itech/archive/2009/02/19/1394268.html
C++对象模型系列:
本系列是主要是作者经验的总结且同时参考了大量的网络文章,希望能够给C++的学习者有所帮助,但是由于作者水平有限,难免有错,希望大家能够指出,我将虚心地向大家学习,与大家共同进步!本系列的开发环境是Windows 32+VS2008。
文章:
指针和引用
指针与数组
指针与字符串
堆栈与函数调用
sizeof与对象内存布局
单继承与虚函数表
多重继承与虚函数表
虚继承与虚函数表
类型转化
参考:
1) C++对象模型
C++对象模型笔记:http://blog.csdn.net/ZengMuAnSha/archive/2004/10/13/135477.aspx
C++对象内存布局1:http://blog.csdn.net/haoel/archive/2008/10/15/3081328.aspx
C++对象内存布局1:http://blog.csdn.net/haoel/archive/2008/10/15/3081385.aspx
C++虚函数表解析: http://blog.csdn.net/haoel/archive/2007/12/18/1948051.aspx
字节对齐1:http://blog.csdn.net/xuegao007/archive/2007/07/26/1708349.aspx
字节对齐2:http://blog.csdn.net/xuegao007/archive/2007/07/26/1708355.aspx
字节对齐3:http://blog.csdn.net/xuegao007/archive/2007/07/26/1708360.aspx
sizeof : http://blog.csdn.net/xuegao007/archive/2007/08/23/1756047.aspx
C++内存对象大会战1:http://blog.csdn.net/xuegao007/archive/2007/08/03/1723765.aspx
C++内存对象大会战2:http://blog.csdn.net/xuegao007/archive/2007/08/03/1723766.aspx
C++内存管理详解 : http://www.cnblogs.com/dazhong/articles/721704.html
C++内存布局 :http://www.cnblogs.com/len3d/archive/2007/09/26/906899.html
Visual C++ 8.0对象布局的奥秘:虚函数、多继承、虚拟继承 : http://www.cnblogs.com/neoragex2002/archive/2007/11/01/VC8_Object_Layout_Secret.html
关于typeid和RTTI的问答 :http://blog.csdn.net/gxj1680/archive/2009/01/05/3715364.aspx
字符串与数组工具收藏:http://tfzxbookshell.spaces.live.com/blog/cns!EB39D7FA27BCD1A1!902.entry
memset ,memcpy 和strcpy 的根本区别?:http://tfzxbookshell.spaces.live.com/blog/cns!EB39D7FA27BCD1A1!904.entry
函数调用约定和堆栈:http://www.fmddlmyy.cn/text12.html
Win32程序函数调用时堆栈变化情况分析收藏:
http://www.cnblogs.com/hellohuan/archive/2008/07/07/1237371.html
http://blog.csdn.net/wenjie2005/archive/2008/01/09/2031377.aspx
C++ sizeof 使用规则及陷阱分析: http://freeman.cnblogs.com/articles/sizeof.html
What static_cast<> is actually doing:http://www.codeproject.com/KB/cpp/static_cast.aspx
Using generics in C++/CLI:http://www.codeproject.com/KB/mcpp/cppcligenerics.aspx
Type Casting:
http://www.cplusplus.com/doc/tutorial/typecasting.html
http://en.wikipedia.org/wiki/Typeid
type_info:
http://msdn.microsoft.com/zh-cn/library/70ky2y6k(en-us,VS.80).aspx
http://www.cplusplus.com/reference/std/typeinfo/type_info.html
http://www.informit.com/guides/content.aspx?g=cplusplus&seqNum=120
http://www.atnf.csiro.au/computing/software/sol2docs/manuals/c++/prog_guide/RTTI.html
http://www.linuxtopia.org/online_books/programming_books/c++_practical_programming/c++_practical_programming_208.html
http://en.wikibooks.org/wiki/C%2B%2B_Programming/RTTI
http://docs.hp.com/en/B3901-90024/ch06s05.html
各种cast:
http://www.codeproject.com/KB/mcpp/castingbasics.aspx
http://www.cplusplus.com/doc/tutorial/typecasting.html
http://blog.baisi.net/?441896/viewspace-4063
http://blog.csdn.net/singno116/archive/2008/04/18/2304962.aspx
http://blog.chinaunix.net/u2/70445/showart_1357610.html
http://read.newbooks.com.cn/info/50236.html
谢谢!