Iceman2005
Programmer
Hi guys... i need to write cross compiler code....
is there a FLAG that can differentiate vc6 vc7 (vs.net)?
example:.... i wish to be able to write code that does this.....
#ifdef VC7_FLAG
printf("THIS IS COMPILED WITH VS.NET");
#else
printf("THIS IS COMPILED WITH VC6");
#endif
so what is this "VC7_FLAG" that i need to use if i want to compile the same code...but using a different compiler it will compile differently?
thanks.
iceman
is there a FLAG that can differentiate vc6 vc7 (vs.net)?
example:.... i wish to be able to write code that does this.....
#ifdef VC7_FLAG
printf("THIS IS COMPILED WITH VS.NET");
#else
printf("THIS IS COMPILED WITH VC6");
#endif
so what is this "VC7_FLAG" that i need to use if i want to compile the same code...but using a different compiler it will compile differently?
thanks.
iceman