Original Post
I'm trying to use min() and max(), which I believe are defined in algorithm. Even when including algorithm, both Dev C++ and MSVC doesn't seem to find min() or max().
#include <algorithm>
int main()
{
int test = min(1, 0);
return 0;
}
Am I missing something?
In MSVC I get "error C2065: 'min' : undeclared identifier"
[edited by - Shard on April 19, 2004 12:01:00 PM]