Date: Wed, 13 Aug 1997 22:23:05 -0500 (CDT) From: Andrew Deren To: Stanley Tsang cc: djgpp AT delorie DOT com Subject: Re: Integer variables In-Reply-To: <9707138715.AA871517558@bcslgt.bcsl.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Precedence: bulk Some example code would be nice. On Wed, 13 Aug 1997, Stanley Tsang wrote: > Hi, I'm having problems with my integer variables. My program > compliles fine and there are no errors but it just doesn't work right. > I cut my code down to the bare minimum before I found a problem with > my integer variables. For some reason, when I assign it to any value > (i.e. 0 or 1) and then do a search in using an if loop to test for a > certain value, it just doesn't work. It seems like the condition is > true every time. I'm only good at programming so I don't have any > idea what the problem is. I'm programming in C and I've installed all > the required programs as required and everything is setup as described > in the faq. Is there anything I'm missing here? > > Thanks, > > STan > > ,,, (0 0) +-------------oOO----(_)-------------------+ | Andrew Deren | | aderen AT eecs DOT uic DOT edu | | www.eecs.uic.edu/~aderen/ader/main.html | +-------------------------oOO--------------+ || || ooO Ooo