[lug] C++ question, without buying expensive doc.s

David Anselmi anselmi at anselmi.us
Mon Jan 10 17:38:20 MST 2005


Paul E Condon wrote:
> I'm looking for information about predefined names in C++.

Well, the preprocessor is the same for C and C++, isn't it?  In that 
case google suggests:

http://gcc.gnu.org/onlinedocs/cpp/Standard-Predefined-Macros.html

which of course includes gcc specific stuff.  Or you could look here:

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vclang/html/_predir_predefined_macros.asp

which says there are 10 ANSI C macros (but only lists 6).

Maybe those are close enough, otherwise I'd say check with your compiler 
vendor.

Dave



More information about the LUG mailing list