468,253 Members | 1,302 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 468,253 developers. It's quick & easy.

Help - Need code example

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
1 1163

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.

Similar topics

7 posts views Thread by Alan Bashy | last post: by
13 posts views Thread by Chua Wen Ching | last post: by
reply views Thread by Kermitus | last post: by
8 posts views Thread by pamelafluente | last post: by
5 posts views Thread by ibid | last post: by
12 posts views Thread by =?Utf-8?B?ZGdvdw==?= | last post: by
reply views Thread by NPC403 | last post: by
reply views Thread by kermitthefrogpy | last post: by
reply views Thread by zattat | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.