July 25th, 2007, 12:35 pm
The reason max and min are causing trouble is because MS decided that its customers wanted a min and max macro more than they wanted a functional STL library. Hey a lot of newbie programmers love the min and max macros. You can insert something moronically nonstandard likeint c = std::_cpp_max(a,b);But I wouldn't bother. I have to echo DCFC's comments. VC6's STL support is a total pile of garbage. Run away before it corrupts you. You will learn only bad things from it and your code will be unportable and broken. Get the free express version instead.