www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/09/09/21:15:20

From: loki AT nectar DOT com DOT au-remove (loki)
Newsgroups: comp.os.msdos.djgpp
Subject: Re: problems reading from keyboard
References: <Pine DOT SUN DOT 3 DOT 91 DOT 980909192724 DOT 2901M-100000 AT is>
Message-ID: <slrn6ve88p.4d.loki@anima.nectar.com.au>
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

Eli Zaretskii <eliz AT is DOT elta DOT co DOT il> 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!

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019