摘要: 转自:http://www.cnblogs.com/liuxiaoming/archive/2012/08/15/2640170.html 问题:当计算机启动时,硬件将调用首地址为0的子例程,为了模拟开机启动时的情形,如何设计出一个C语句,以显示调用该子例程。 换个问法:有一段程序存储在起始地址为  阅读全文
posted @ 2016-07-16 14:07 明明是悟空 阅读(648) 评论(0) 推荐(0)
摘要: 转自:http://blog.sina.com.cn/s/blog_6f62c9510101svjz.html 突然间就想到了long和int到底什么区别(发现有很多问题都是突然间想到的),然后百度、google各种查找,各种书籍:《C++ Primer》、《C程序设计语言》查看,终于明白了一些。下 阅读全文
posted @ 2016-07-16 10:56 明明是悟空 阅读(19632) 评论(0) 推荐(6)
摘要: 转自:http://blog.csdn.net/yeyuangen/article/details/6757525 #include <iostream> #include <pthread.h>using namespace std;pthread_t thread;void *fn(void * 阅读全文
posted @ 2016-07-16 10:38 明明是悟空 阅读(17991) 评论(0) 推荐(0)