What do you mean for debugging? (.net has debugger); how I said in first post debugging I can see all program is exectuted correct but on "return 1" it crash(this with what I mena for debugging); it seems to me some problem with destructor of the vector of vector but I don't understand why. Is this below the stack trace you mean?
> gd.exe!_CrtIsValidHeapPointer(const void * pUserData=0x00321550) Line 1807 C
gd.exe!_free_dbg(void * pUserData=0x00321550, int nBlockUse=1) Line 1132 + 0x9 C
gd.exe!operator delete(void * pUserData=0x00321550) Line 54 + 0x10 C++
gd.exe!std::allocator<Unit>::deallocate(Unit * _Ptr=0x00321550, unsigned int __formal=3) Line 132 + 0x9 C++
gd.exe!std::vector<Unit,std::allocator<Unit> >::_Tidy() Line 797 C++
gd.exe!std::vector<Unit,std::allocator<Unit> >::~vector<Unit,std::allocator<Unit> >() Line 389 C++
gd.exe!main(int argc=1, char * * argv=0x00321600) Line 77 + 0x19 C++
gd.exe!mainCRTStartup() Line 259 + 0x19 C
> gd.exe!_CrtIsValidHeapPointer(const void * pUserData=0x00321550) Line 1807 C
gd.exe!_free_dbg(void * pUserData=0x00321550, int nBlockUse=1) Line 1132 + 0x9 C
gd.exe!operator delete(void * pUserData=0x00321550) Line 54 + 0x10 C++
gd.exe!std::allocator<Unit>::deallocate(Unit * _Ptr=0x00321550, unsigned int __formal=3) Line 132 + 0x9 C++
gd.exe!std::vector<Unit,std::allocator<Unit> >::_Tidy() Line 797 C++
gd.exe!std::vector<Unit,std::allocator<Unit> >::~vector<Unit,std::allocator<Unit> >() Line 389 C++
gd.exe!main(int argc=1, char * * argv=0x00321600) Line 77 + 0x19 C++
gd.exe!mainCRTStartup() Line 259 + 0x19 C
To copy to clipboard, switch view to plain text mode
I attach this small program hoping one more hint.
Bookmarks