- 博客(17)
- 资源 (8)
- 收藏
- 关注
原创 reference and dereference of pointer
http://stackoverflow.com/questions/4955198/what-does-dereferencing-a-pointer-meanWhen 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
554
原创 学习资料
http://blog.youkuaiyun.com/column/details/jacky-cocos2dx.htmlhttp://blog.youkuaiyun.com/jackystudio/article/details/11720325http://nadeausoftware.com/articles/2012/05/c_c_tip_how_copy_memory_quickly
2015-12-25 14:54:47
388
原创 补码
编程时可以把一个正数取反加一, 得到想要的负数;http://www.cnblogs.com/zhangziqiu/archive/2011/03/30/ComputerCode.htmlhttp://www.ruanyifeng.com/blog/2009/08/twos_complement.html2的补码的本质在回答2的补码为什么能正
2015-12-13 12:55:55
422
原创 WINDBG !stacks
!stacks 可以用来追踪卡住的内核对象。!stacks 2 [string]可以详细的查看包含相应字串的驱动中的对像信息
2015-07-12 16:21:45
553
原创 变长数组与sizeof
C语言变长数组(zz)1、变长数组必须在程序块的范围内定义,不能在文件范围内定义变长数组;2、变长数组不能用static或者extern修饰;3、变长数组不能作为结构体或者联合的成员,只能以独立的数组形式存在;4、变长数组的作用域为块的范围,对应地,变长数组的生存时间为当函数执行流退出变长数组所在块的时候;
2015-03-12 19:02:48
1037
原创 WdfMemoryCreate
status = WdfMemoryCreate(NULL, PagedPool, PoolTag, outputSize, &outputMemoryHandle,
2014-11-27 19:56:31
1149
原创 关于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
548
原创 afxdlgs.h
// Classes declared in this file // CDialog class CCommonDialog; // implementation base class // modeless dialogs class CFindReplaceDialog; // Find/FindReplace dialog // modal dialogs
2012-09-04 09:23:33
2565
原创 代码
//指针清空#define SAFE_RELEASE(x) if((x) != NULL){ delete (x); (x) = NULL; } #define SAFE_RELEASE_ARRAY(x) if((x) != NULL){ delete[] (x); (x) = NULL; }
2012-07-05 14:27:22
474
原创 spd read 当时编的.可能有点问题的..那个AMD的 SMBus 地址貌似可以固定下来.
http://en.wikipedia.org/wiki/Serial_presence_detect SPD ==Serial presence detect其中用到了 DDR2 ,DDR3 , JEDEC 106AA( Manufactures JEDEC ID)http://download.youkuaiyun.com/source/2374958 //by //COP
2010-05-20 16:28:00
2938
原创 clock generator
自已的小程序,還能在INTEL 下正常運行。請大家指教。在优快云 上已經有好多的人寫過關於此的文章了,我只是抄來練習了一下,為使大家不走彎路,但請看官們潛心學習,變成自已的知識。#include#include#include#include//Claude_Shi//2010-4-13#define DEBUG 1#define READ_CLOCK 0
2010-05-03 15:41:00
825
xvidcore 1.3.3
2014-09-10
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人