摘要:
调试时经常需要看内存中的一些数据,dump_mem能比较方打印出内存情况。 1 void dump_mem(void *data, int len) 2 { 3 unsigned char *p; 4 int i, n; 5 6 p = data; 7 8 printf(" Address Bytes Characters\n"); 9 printf(" -------- ------------------------------ ----------\n");10 ... 阅读全文
posted @ 2013-04-29 21:24
cmacro
阅读(365)
评论(0)
推荐(0)
摘要:
Eclipse 创建makefile 工程时,在默认情况下不会创建makefile文件。编译工程时就会出现 make: *** No rule to make target `all'. Stop.解决: 本身具有自动创建makefile的功能,只要打开就OK啦。 菜单:project->properties C/C++ Build页面 Makefile generation 开启 Generate Makefiles automatically功能环境: Eclipse Juno IDE for C/C++Developers Win 7 阅读全文
posted @ 2013-04-29 21:10
cmacro
阅读(2903)
评论(0)
推荐(0)

浙公网安备 33010602011771号