FROM : Steve Checkoway
DATE : Tue Apr 26 07:04:04 2005
On Apr 21, 2005, at 7:37 PM, Michael Rothwell wrote:
> More parentheses!
>
>> #define SET_ENTRY( (m),(r),(c),(e)) (m[(r)*4+(c)] = (e))
>
Too many parentheses.
#define SET_ENTRY(m,r,c,e) ((m)[(r)*4+(c)]=(e))
- Steve
DATE : Tue Apr 26 07:04:04 2005
On Apr 21, 2005, at 7:37 PM, Michael Rothwell wrote:
> More parentheses!
>
>> #define SET_ENTRY( (m),(r),(c),(e)) (m[(r)*4+(c)] = (e))
>
Too many parentheses.
#define SET_ENTRY(m,r,c,e) ((m)[(r)*4+(c)]=(e))
- Steve
| Related mails | Author | Date |
|---|---|---|
| Aaron Boothello | Apr 16, 09:44 | |
| Justin Spahr-Summe… | Apr 16, 10:09 | |
| Aaron Boothello | Apr 16, 10:13 | |
| p3consulting | Apr 16, 10:25 | |
| Aaron Boothello | Apr 16, 10:35 | |
| Justin Spahr-Summe… | Apr 16, 11:10 | |
| Aaron Boothello | Apr 16, 12:58 | |
| Cameron Hayne | Apr 17, 06:47 | |
| Andrew White | Apr 18, 05:54 | |
| Michael Rothwell | Apr 22, 04:37 | |
| Steve Checkoway | Apr 26, 07:04 |






Cocoa mail archive

