Siemano
Utworzyłem projekt w VC++ 6.0 (wszystko działa nienagannie) kiedy przekonwertowuje projekt do VS2008 Professional po skompilowaniu programu (kompiluje sie w porządku) i uruchomieniu go (okno konsolowe) wyskakuje mi następujący bład
Debug Assertion Failed!
Program: <path and="and" filename="filename" here="here">
File: <path the="the" vector="vector" include="include" file="file">
Line: 163
Expression: ("_Myptr + Off <= ((_Myvec
*)(this->_Getmycont()))->_Mylast && _Myptr + _Off >= ((Myvec
*)(this->_Getmycont()))->_Myfirst", 0)
Kompilator wskazuje mi linijke:
_Myt& operator+=(difference_type _Off)
{ // increment by integer
_SCL_SECURE_VALIDATE(this->_Has_container());
--------------------> _SCL_SECURE_VALIDATE_RANGE(
_Myptr + _Off <= ((_Myvec *)(this->_Getmycont()))->_Mylast &&
_Myptr + _Off >= ((_Myvec *)(this->_Getmycont()))->_Myfirst);
_Myptr += _Off;
return (*this);
}
Co robić?? :(