[quoted text, click to view] "Diego" <Gibe@newsgroups.nospam> wrote in message
news:7A0F33AE-783A-484E-BDFD-623AD6D78207@microsoft.com...
> Hello,
> I have a code base used in VS.NET 2003 and VS 6.0 environments. I have to
#ifdef the inclusion of (for example) "iostream.h" or "iostream" based on
the compiler version because I want to ensure backward compatibility.
[quoted text, click to view] > How can I do it? Is there any predefined macro for the compiler version?
>
> Thank you
>
> Diego
>
I have a question and a suggestion...
Question: As <iostream> (without the .h) is supported in VS 6 as well as
VS.NET 2003 (which no longer supports iostream.h). Why do you need to do
this?
Suggestion: If you don't find what you need here, posting your question in:
microsoft.public.dotnet.languages.vc
will probably get you more feedback faster, as your question is C++
specific.
--
Peter [MVP Visual Developer]
Jack of all trades, master of none.