Mail Archives: djgpp/1999/04/09/20:11:58
George Foot wrote:
> On 8 Apr 99 at 8:17, Fang wrote:
>
> > Hey, I'm running djgpp under win98 and I had the weirdest thing
> > happen.. I wrote a little program, compiled it, ran it, and it worked
> > fine. Then I made a small change, and it compiled fine. I ran it and
> > my machine rebooted. So I boot back up, and change back what I
> > changed. Now the program keeps crashing. It gives a "This program has
> > executed an illegal operation" or somethnig like that. It gives the
> > error right away, so I assume the program isn't getting very deep in the
> > code :) I played around with the code for a while, but no matter what I
> > do it crashes. I tried multiple reboots, cold boots, etc... any ideas?
> > Any help is greatly appreciated :) Thanks
>
> If the program is very small, perhaps you could post it here.
> If it's not, try making it smaller and smaller while still
> having the bug. Hopefully you'll either find the bug yourself,
> or get the program as small as possible so that you can post it
> here.
>
> --
> George
Thanks a lot man :) I just made each seperate function a self running
program until I found the problem :) It was a stupid oversight on my part..
but thanks for the debugging idea :)
Fang
- Raw text -