C++学习
nvn020952
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
内存对齐2
Memory access granularityProgrammers are conditioned to think of memory as a simple array of bytes. Among C and its descendants, char* is ubiquitous as meaning "a block of memory", and even Java转载 2014-07-17 11:21:33 · 492 阅读 · 0 评论 -
内存对齐
首先由一个程序引入话题: 1 //环境:vc6 + windows sp2 2 //程序1 3 #include 4 5 using namespace std; 6 7 struct st1 8 { 9 char a ;10 int b ;11 short c ;12 };13 14 struct st转载 2014-07-17 10:44:32 · 404 阅读 · 0 评论 -
C++ 自动存储、静态存储和动态存储
根据分配内存的方法,原创 2014-07-25 10:45:07 · 565 阅读 · 0 评论 -
C程序编译执行过程
C程序编译执行过程 认识C编译执行过程,是C学习的开端。简单说C语言从编码编译到执行要经历一下过程: C源代码编译---->形成目标代码,目标代码是在目标机器上运行的代码。连接---->将目标代码与C函数库相连接,并将源程序所用的库代码与目标代码合并,并形成最终可执行的二进制机器代码(程序)。执行----->在特定的机器环转载 2014-08-03 11:15:51 · 424 阅读 · 0 评论 -
C++11-lambda表达式详解
转载:http://www.cnblogs.com/brucejia/archive/2009/09/05/1560675.html【本文大部分内容译自Visual C++ Team Blog】http://blogs.msdn.com/vcblog/archive/2008/10/28/lambdas-auto-and-static-assert-c-0x-features-转载 2014-08-10 09:31:43 · 520 阅读 · 0 评论
分享