Chinaunix首页 | 论坛 | 博客
  • 博客访问: 163068
  • 博文数量: 25
  • 博客积分: 10
  • 博客等级: 民兵
  • 技术积分: 319
  • 用 户 组: 普通用户
  • 注册时间: 2011-10-12 21:27
文章分类

全部博文(25)

文章存档

2015年(2)

2014年(1)

2013年(22)

我的朋友

发布时间:2013-05-18 15:47:58

#include #define __DEBUG__#ifdef __DEBUG__#define DEBUG(format,...) printf("File: %s, Line: %d, Function: %s: "format"\n", __FILE__,__LINE__,__FUNCTION__, ##__VA_ARGS__)  #else#define DEBUG(format,...)#endifint main(int argc,char *argv[]){    DEBUG("example");.........【阅读全文】

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

发布时间:2013-05-18 14:12:11

#include /* *typedef *typedef只是给一个类型命名一个别名,不是产生一个新的类型 *在这个例子中,是将struct _struct_test这个结构体类型起个别名叫struct_test */typedef struct _struct_test{    int a;    char b;    double c;   .........【阅读全文】

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

登录 注册