push_back problem [closed]

asked 2013-10-26 15:59:41 -0500

dogucan159 gravatar image

updated 2017-11-14 15:22:07 -0500

http://pastebin.com/DL0iuS6N that is my WallFinder.h file and http://pastebin.com/3H9Hb19F is my WallFinder.cpp file.

My problem is that I would like to insert a new element to lines vector. However When I wrote lines.push_back(Vec4i((*it2)[0],yaxis,xaxis,yaxis)); after calling writeToFile function. I got error message that Assertion Failed! Expression:_CrtIsValidHeapPointer(pUsrData)

How can i insert to new element to my lines vector or What is my problem?

edit retag flag offensive reopen merge delete

Closed for the following reason not a real question by sturkmen
close date 2020-08-16 12:25:03.189038