I\'m using two computers, each with a different version of visual studio. On the visual studio 2008 computer my code compiles. On the visual 2010 computer my code doesn\'t compi
In Visual C++, if you #define NOMINMAX before including the standard headers, you will not get a macro max or min.
#define NOMINMAX
max
min