01 2016 档案

摘要:<!-- /* GitHub stylesheet for MarkdownPad (http://markdownpad.com) */ /* Author: Nicolas Hery - http://nicolashery.com */ /* Version: b13fe65ca28d2e56 阅读全文
posted @ 2016-01-31 17:24 sjdang 阅读(314) 评论(0) 推荐(0) 编辑
摘要:<!-- /* GitHub stylesheet for MarkdownPad (http://markdownpad.com) */ /* Author: Nicolas Hery - http://nicolashery.com */ /* Version: b13fe65ca28d2e56 阅读全文
posted @ 2016-01-31 01:33 sjdang 阅读(172) 评论(0) 推荐(0) 编辑
摘要:转:非常有用的方法,调式神器SMP IRQ AffinityBackground:Whenever a piece of hardware, such as disk controller or ethernetcard,needs attention from the CPU, it throws... 阅读全文
posted @ 2016-01-03 23:18 sjdang 阅读(374) 评论(0) 推荐(0) 编辑
摘要:pointer to const:指向常量的指针(被指向的对象是常量)const pointer:常量指针(指针本身是常量) [对被指向对象的修饰] * [指针本身的修饰]====================================================指向常量的指针:被指向的... 阅读全文
posted @ 2016-01-02 00:10 sjdang 阅读(187) 评论(0) 推荐(0) 编辑
摘要:用途一:定义一种类型的别名,而不只是简单的宏替换。可以用作同时声明指针型的多个对象。用途二:用在旧的C的代码中(具体多旧没有查),帮助struct。用途三:用typedef来定义与平台无关的类型。用途四:为复杂的声明定义一个新的简单的别名。------------------------------... 阅读全文
posted @ 2016-01-01 02:10 sjdang 阅读(163) 评论(0) 推荐(0) 编辑
摘要:非原创,感觉作者写的很有意思,特拿来记录一番。int a,int *a,第一行代码:a是int型第二行代码:*a是int型, a是int型指针同理int (*p)(int)(*p)(int) 是int型,后面带一个(int),则(*p)是函数,那么p是函数指针。那么函数指针的指针呢?int *(*p... 阅读全文
posted @ 2016-01-01 01:07 sjdang 阅读(158) 评论(0) 推荐(0) 编辑