Im trying to run my .exe but the application is crashing
Upon debugging I get the following break in the vector class. It breaks at this->Orphan_all.
Unhandled exception at 0x0562DF58 (msvcp120d.dll) in ExploringSfMExec.exe: 0xC0000005: Access violation reading location 0xCDCDCDD1.
void clear() _NOEXCEPT
{ // erase all
this->_Orphan_all();
_Destroy(this->_Myfirst, this->_Mylast);
this->_Mylast = this->_Myfirst;
}
Any ideas?
Thanks
g++ -Wall -Wextra -gif using GCC...) Then use the debugger (e.g.gdb) and look into the call stack (e.g. withbacktrace) Perhaps the reciever (i.e.this) is null? - Basile Starynkevitch