Wow, thanks everyone
>>There is something you can define before including windows.h - NO_DEFINE_MIN_MAX or something like that
>>float nearest = (std::numeric_limits<float>::max)();
#define max(a,b) (((a) > (b)) ? (a) : (b))
That worked too
I just ran a quick test, this compiles fine:
It also works if I define asdf as a const int and "cout << asdf". So I'm not sure what you mean..
#define asdf(a,b) (a+b)