A
Angus
Hello
I am following the exercises in Accelerated C++ Practical Programming by
Example and when use:
using std::max; I get these compile errors in MS Visual C++ v6
error C2039: 'max' : is not a member of 'std'
error C2873: 'max' : symbol cannot be used in a using-declaration
I have #include'd <algorithm> - but cannot see the function declared in
there.
Is max a fairly new standard library feature? How do I get this to work?
Angus
I am following the exercises in Accelerated C++ Practical Programming by
Example and when use:
using std::max; I get these compile errors in MS Visual C++ v6
error C2039: 'max' : is not a member of 'std'
error C2873: 'max' : symbol cannot be used in a using-declaration
I have #include'd <algorithm> - but cannot see the function declared in
there.
Is max a fairly new standard library feature? How do I get this to work?
Angus