9 Jun
2006
9 Jun
'06
3:22 p.m.
Pranckevicius, Tadas wrote:
I tried to run this example and I got the same results, it prints 8 on Microsoft Visual studio 2003 (7.1) as well.
I did try to debug it and ended up in "algorithm" file:
After adding cout:
template<class _FwdIt> inline _FwdIt _Max_element(_FwdIt _First, _FwdIt _Last) { // find largest element, using operator< _DEBUG_RANGE(_First, _Last); _FwdIt _Found = _First; cout<<*_Found<
My Visual Studio.Net 2003 does not even have this function anywhere in the include directory. What precise version are you using? Have you replaced your standard library? Sebastian Redl