I am getting an assertion failure with my binary search tree.
1 2 3 4 5 6 7 8 9
Debug Assertion Failed!
Program: U:\Visual Studio 2010\Projects\C++ Headers\Debug\C++ Headers.exe
File: f:\dd\vctools\crt_bld\self_x86\crt\src\dbgdel.cpp
Line: 52
Expression: _BLOCK_TYPE_IS_VALID(pHead->nBlockUse)
For information on how your program can cause an assertion failure, see the Visual C++ documentation on asserts.
Thanks ahead of time, especially if anyone is willing to go through my code :'(
I dont even know what the issue is or where it is, if its a problem with stack overflow etc, never run into an assertion problem before and it does not give a credible error line
if you include something like "windows.h" it will pull in a lot of libraries that you didn't use. Your links to your code aren't very useful and don't work. Does the error show up in your code or a release version?
And it asserts because something is invalid that was setup in a library somewhere, which is checking a block of memory is valid.