会员
周边
捐助
新闻
博问
闪存
赞助商
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
yexuannan
博客园
首页
新随笔
联系
管理
订阅
2014年3月22日
20130322 内联函数 宏定义
摘要: 1、在什么情况下必须用宏(比如想知道某种内置类型的有符号还是无符号) //比如想知道某种内置类型的是不是有符号类型#include#define ISUNSGINED(type) ((type)0-1>0) void main(){ printf("%d\n",ISUNSGINED(int)); printf("%d\n",ISUNSGINED(unsigned i...
阅读全文
posted @ 2014-03-22 20:45 yexuannan
阅读(224)
评论(0)
推荐(0)
编辑
公告