[lug] C++ question, without buying expensive doc.s
Paul E Condon
pecondon at mesanetworks.net
Mon Jan 10 20:03:30 MST 2005
On Mon, Jan 10, 2005 at 05:38:20PM -0700, David Anselmi wrote:
> 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).
Six out of ten. I'm for a higher score than that.
>
> Maybe those are close enough, otherwise I'd say check with your compiler
> vendor.
>
Well, I Googled GCC, and MS, and C++ and found some clues, but not a flat out answer.
Then I asked on this list, you two have pretty much confirmed that the answer to
my question is not provided in documents for the 'typical user'.
Thanks
And don't hesitate to reopen this thread if you come up with some new info.
--
Paul E Condon
pecondon at mesanetworks.net
More information about the LUG
mailing list