Chinaunix首页 | 论坛 | 博客
  • 博客访问: 41666
  • 博文数量: 3
  • 博客积分: 30
  • 博客等级: 民兵
  • 技术积分: 30
  • 用 户 组: 普通用户
  • 注册时间: 2012-01-23 14:16
个人简介

Welecome!

文章分类

全部博文(3)

文章存档

2014年(2)

2012年(1)

发布时间:2014-05-29 15:19:01

转载:http://hi.baidu.com/_kouu/item/f29aa131a6228c4a3075a1d9在之前的一个项目中,通过macro来定义了一组位掩码:#define FLAG_TYPE1    0x0001#define FLAG_TYPE2    0x0002#define FLAG_TYPE3    0x0004#define FLAG_TYPE4    0x000.........【阅读全文】

阅读(2099) | 评论(0) | 转发(0)

发布时间:2014-05-29 15:11:49

转载:http://hi.baidu.com/_kouu/item/7a726014bdb6d78d88a956d0在论坛上看到类似下面的一段代码:a.c:int a[10]={1,2,3,4,5,6,7,8,9,0};int *b = a;b.c:extern int *a;extern int b[];void main(){int x, y;x = a[3];y = b[3];}编译后运行,在main函数中,x和y分别等于什么呢?用gdb对程序进行调试:.........【阅读全文】

阅读(2547) | 评论(0) | 转发(0)
给主人留下些什么吧!~~
留言热议
请登录后留言。

登录 注册