Date: Wed, 20 Oct 1999 13:03:56 +0200 From: Hans-Bernhard Broeker Message-Id: <199910201103.NAA01688@acp3bf.physik.rwth-aachen.de> To: Vasile AT IName DOT com (James Vasile) Cc: djgpp AT delorie DOT com Subject: Re: Program crashes once, runs once, crashes, runs, crashes, runs, etc. Newsgroups: comp.os.msdos.djgpp Organization: RWTH Aachen, III. physikalisches Institut B X-Newsreader: TIN [version 1.2 PL2] Reply-To: djgpp AT delorie DOT com In article you wrote: > Sometimes crash, sometimes not. I'm a little confused that same code > and inputs would only sometimes crash. This isn't complicated stuff, This is the telltale sign of a particular type of bug in your program: use of uninitialized variables. Sometimes their value will be OK, at other times, the contents will be garbage confusing the wits out of your program. To find out more, the type of crash and its details (the traceback, after application of 'symify') are needed. That will show you where in the program your crash happens, and how (floating point exception? segfault?) -- Hans-Bernhard Broeker (broeker AT physik DOT rwth-aachen DOT de) Even if all the snow were burnt, ashes would remain.