By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
434,969 Members | 2,422 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 434,969 IT Pros & Developers. It's quick & easy.

Help - Need code example

P: n/a
Do any body have a code example that illustrate the preprocessor of
moving #define macro into the code.
I need to replace all macro call (#define) in my code (file) with the
macro code.
Please help

Moty

Jan 24 '07 #1
Share this Question
Share on Google+
1 Reply


P: n/a

On Jan 24, 10:40 pm, "moty" <mot...@gmail.comwrote:
Do any body have a code example that illustrate the preprocessor of
moving #define macro into the code.
I need to replace all macro call (#define) in my code (file) with the
macro code.

Please help

Moty
It's not very clear what you mean, but if you want to see the
preprocessed code, most compilers have switches that can do that. You
may further need to redirect it to a file or specify an output file
name.

Usually the switch is 'E', but check with your compiler's manual.

Jan 24 '07 #2

This discussion thread is closed

Replies have been disabled for this discussion.