[ back to toc ]

C qsort program

Date: 2002/04/03 09:55

Q:
Hello Peter,
Thanks for your previous help.The program involved reading a text-file and
sorting(qsort) it and then reading it to another text-file.I got the
program working-no errors or warnings-BUT! When I try to execute the
program(GPprog3), it says "Debug Assertion Failed"-it also states that my
program "caused an exception 03H in module GPprog3.EXE at 0187:0090184b".
It also mentions registers with obscure base-16 code(bytes at CS:EIP
etc.), and a stack dump and "damage: before(null) block #1 at
0x0065FD68-whatever that is.Lastly, the program states "This File Has Been
Modified outside the source editor-Do You Want To Reload It?".This refers
to the 2nd text-file which I want to write information to.I don't know
why, but any program I write using text-files automatically fails, and
uses the same statements as above.It may be because I simply wrote the
info on the text-file and saved it.Maybe that's incorrect.I don't know!
Yours Extremely Puzzled,
*NAME-DELETED* *NAME-DELETED*
A:
It seems for me that there is some more general error on the setup of that
machine. Try to execute your programs on other machines.

regards,
Peter

[ back to toc ]