The author has 4 posts.
Font size: Small - 100% (Default)  Content converter: No conversion
 
Clicks Replies
1809 3
【教训】if ((A&0x10)==0)必须打括号!
巨大八爪鱼
武林盟主 二十一级
Reply
Floor 1 Posted at: 7/22/12 22:06
A&0x10必须加上括号,否则出错
巨大八爪鱼
武林盟主 二十一级
Reply
Floor 2 Posted at: 7/22/12 22:06
不能写成if (A&0x10==0)
巨大八爪鱼
武林盟主 二十一级
Reply
Floor 3 Posted at: 7/22/12 22:07
怪不得检测不了独立按键
巨大八爪鱼
武林盟主 二十一级
Reply
Floor 4 Posted at: 5/15/16 18:15
#define BIT(n) (1 << (n))
这个也必须要打上完备的括号,否则写~BIT(n)就会出错
Reply the post
Content:
User: You are currently anonymous.
Captcha:
Unclear? Try another one.
(Shortcut key: Ctrl+Enter)
Post Information
Clicks: 1809 Replies: 3
Author: 巨大八爪鱼
Last reply: 巨大八爪鱼
Last reply time: 5/15/16 18:15
Bar Good Posts
Announcements