July 25th, 2007, 12:16 pm
if you are really forced to use VC6. as i recall it has functions called std::cpp_min and std::cpp_max instead of std::min and std::max, so if you're happy with writing code that will never compile on any other compiler you can use these instead.or you could say...#ifdef MSVC_6#define max cpp_max#define min cpp_min#endifso that it should compile on other systems also; but this is ugly & will probably cause you all sorts of other problems later on. Ideally, just get the 2005 express edition.
Last edited by
samyonez on July 24th, 2007, 10:00 pm, edited 1 time in total.