|
-
September 1st, 2007, 05:10 AM
#5
Re: Strange macro, valid?
 Originally Posted by Mitsukai
looks fine for me
Why does it appear fine to you
Preprocessing directive are of the form
Code:
# define identifier replacement-list new-line
which defines an object-like macro that causes each subsequent instance of the macro name.
or
Code:
# define identifier lparen identifier-listopt ) replacement-list new-line
which defines a function-like macro with parameters, similar syntactically to a function call.
Last edited by sunnypalsingh; September 1st, 2007 at 05:15 AM.
Appreciate others by rating good posts
"Only buy something that you'd be perfectly happy to hold if the market shut down for 10 years." - Warren Buffett
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|