Original Post
delete[] buf; where buf is char *buf = new char[row[0].length()]; the row thing is a vector. gives me a runtime Debug Error: HEAP CORRUPTION DETECTED: after Normal Block (#195) at 0x003D8348. CRT detected that the application wrote to memory after end of heap buffer. -- that makes no sense to me. can anyone at least explain that?