From: loki AT nectar DOT com DOT au-remove (loki) Newsgroups: comp.os.msdos.djgpp Subject: Re: problems reading from keyboard References: Message-ID: Organization: Nectar Online Services Lines: 20 Date: 10 Sep 98 00:48:40 GMT NNTP-Posting-Host: 203.18.79.30 NNTP-Posting-Date: Thu, 10 Sep 1998 11:03:50 EST To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk Eli Zaretskii wrote: >You forgot about the operator precedence: != binds *before* =, so the Feh. I knew it was something stupid. I normally put copious parentheses everywhere (I dislike relying on operator precedence too much), but have lately decided to try using less of them... trust me to get into trouble when I start doing so. >Btw, compiling with -Wall switch should cause the compiler to emit a >warning for that line. You should always use -Wall, IMHO. Good idea, thanks for the replies guys :) -- loki loki (at) nectar.com.au http://puck.nether.net/~loki/ # Dare I disturb the universe? You bet I do!