[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[avr-gcc-list] life span of #define

From: Marlin Unruh
Subject: [avr-gcc-list] life span of #define
Date: Fri, 16 Aug 2002 16:25:29 -0600


What is the life span of a #define or #include. Is it to the end of the C file that defined or included it?

Is the #define or #include stuff flushed before the next C files is analyzed? Somewhere I read that it is bad programming style to include include files from an include file. Is this TRUE?

Does someone know of a good source of info so I can get a grip on how the preprocessor works? I want to understand how to intellegently use the #define #ifdef #ifndef stuff, instead of tumbling around with it.

Thank You.


avr-gcc-list at http://avr1.org

reply via email to

[Prev in Thread] Current Thread [Next in Thread]