Advertisement

Assertion Failure

Started by June 27, 2000 08:01 PM
1 comment, last by Shannon Barber 24 years, 5 months ago
Whay typically causes an Assertion Failure? I''m getting one when I try to delete a node in a threaded tree... and it''s not a null pointer... I''ve used this same code before... not with windows though
- The trade-off between price and quality does not exist in Japan. Rather, the idea that high quality brings on cost reduction is widely accepted.-- Tajima & Matsubara
quote: Original post by Magmai Kai Holmlor

Whay typically causes an Assertion Failure?

I''m getting one when I try to delete a node in a threaded tree...
and it''s not a null pointer...
I''ve used this same code before... not with windows though


What kind of ''assertion failure''? Does it say something like "DAMAGE after normal block" or something similar? That would be the MSVC memory deallocation routine telling you that you''re deleting something you shouldn''t.
Advertisement
Thanks, I was trying to delete something off the stack


I thought it was a compiler error...
- The trade-off between price and quality does not exist in Japan. Rather, the idea that high quality brings on cost reduction is widely accepted.-- Tajima & Matsubara

This topic is closed to new replies.

Advertisement