debug assertion failed

W

w3r3w0lf

hello!

can anyone explain this to me? I get a "debug assertion failed" msg after
some time in my prog...: file fclose.c, stream!=null


thanks!
 
V

Victor Bazarov

w3r3w0lf said:
can anyone explain this to me? I get a "debug assertion failed" msg after
some time in my prog...: file fclose.c, stream!=null

So, for whatever reason 'stream' is probably equal 'null'. Then
the assertion that it's not null doesn't hold (or, IOW, fails).
 
J

John Harrison

w3r3w0lf said:
hello!

can anyone explain this to me? I get a "debug assertion failed" msg after
some time in my prog...: file fclose.c, stream!=null


thanks!

Probably means you called

fclose(x);

when x == NULL. Use your debugger to find out.

john
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,996
Messages
2,570,238
Members
46,826
Latest member
robinsontor

Latest Threads

Top