Quantcast
Channel: MSP 低功耗微控制器论坛 - 最近的话题
Viewing all articles
Browse latest Browse all 3634

C语言宏定义问题求解

$
0
0

#define LCWAIT_VOIDDETECT      (15)
#define LCWAIT_BIDCONFIRM      (100)
#define LCWAIT_INSERTDLY         (200)


#define LCSTAT_INIT      0
#define LCSTAT_ANA     1
#define LCSTAT_BID       2

#define BIDST_THIRD     14
#define BIDST_CONF      15

请问,上述#define的宏定义后边的数字,带括号和不带括号有什么区别,定义的这些数字起到什么作用?


Viewing all articles
Browse latest Browse all 3634

Trending Articles