基本功
sxc_ujs
这个作者很懒,什么都没留下…
展开
-
关于C语言结构体大小
#include #pragma pack(push) //保存对齐状态 #pragma pack(2) typedef struct{ char s[10]; int a; }MYTYPE; #pragma pack(pop) typedef struct node { int a[100]; char b; }kkk; MYTYPE x; void main() { kk原创 2014-09-17 13:50:04 · 515 阅读 · 0 评论 -
变长数组与sizeof
C语言变长数组(zz) 1、变长数组必须在程序块的范围内定义,不能在文件范围内定义变长数组; 2、变长数组不能用static或者extern修饰; 3、变长数组不能作为结构体或者联合的成员,只能以独立的数组形式存在; 4、变长数组的作用域为块的范围,对应地,变长数组的生存时间为当函数执行流退出变长数组所在块的时候;原创 2015-03-12 19:02:48 · 926 阅读 · 0 评论 -
WINDBG !stacks
!stacks 可以用来追踪卡住的内核对象。 !stacks 2 [string] 可以详细的查看包含相应字串的驱动中的对像信息原创 2015-07-12 16:21:45 · 501 阅读 · 0 评论 -
学习资料
http://blog.csdn.net/column/details/jacky-cocos2dx.html http://blog.csdn.net/jackystudio/article/details/11720325 http://nadeausoftware.com/articles/2012/05/c_c_tip_how_copy_memory_quickly原创 2015-12-25 14:54:47 · 334 阅读 · 0 评论 -
reference and dereference of pointer
http://stackoverflow.com/questions/4955198/what-does-dereferencing-a-pointer-mean When you want to access the data/value in the memory that the pointer points to - the contents of the address wit原创 2017-03-02 16:57:05 · 483 阅读 · 0 评论 -
git pro
u http://git-scm.com/book/zh原创 2014-09-26 17:15:23 · 507 阅读 · 0 评论