Date: Sun, 24 Jan 1999 11:10:50 +0200 (IST) From: Eli Zaretskii X-Sender: eliz AT is To: Benjamin Cutler cc: djgpp AT delorie DOT com Subject: Re: Floating Point Problems... HELP In-Reply-To: <36AAA3C3.6DB3459F@ibm.net> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Reply-To: djgpp AT delorie DOT com On Sat, 23 Jan 1999, Benjamin Cutler wrote: > I trying to write a program. It's supposed to draw two triangles on the > screen, and then move them back and forth. It draws them once, but then > once it tries to redraw the moved triangles it crashes with a > "floating-point exception". Can anybody offer any help? Your program probably does something invalid, like dividing by zero. Section 12.2 of the DJGPP FAQ list explains how to debug such problems using the crash traceback as a starting point. > Do I need to go into more detail here? If the FAQ doesn't help you, you definitely need to post more info. For starters, find out where exactly does the program crash (use the `symify' utility, like the FAQ explains, for that), and post the code near that place. It is also a good idea to post the exact crash message, complete with registers' dump and stack traceback, when reporting crashes. People who know how to read that info can find some crucial hints therein.