From owner-freebsd-chat Sat May 31 21:26:50 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id VAA05085 for chat-outgoing; Sat, 31 May 1997 21:26:50 -0700 (PDT) Received: from genesis.atrad.adelaide.edu.au (genesis.atrad.adelaide.edu.au [129.127.96.120]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id VAA05080 for ; Sat, 31 May 1997 21:26:47 -0700 (PDT) Received: (from msmith@localhost) by genesis.atrad.adelaide.edu.au (8.8.5/8.7.3) id NAA11621; Sun, 1 Jun 1997 13:56:32 +0930 (CST) From: Michael Smith Message-Id: <199706010426.NAA11621@genesis.atrad.adelaide.edu.au> Subject: Re: Borland 16bit bcc vs cc/gcc (float) In-Reply-To: <1790.865112308@time.cdrom.com> from "Jordan K. Hubbard" at "May 31, 97 01:58:28 pm" To: jkh@time.cdrom.com (Jordan K. Hubbard) Date: Sun, 1 Jun 1997 13:56:32 +0930 (CST) Cc: chat@freebsd.org X-Mailer: ELM [version 2.4ME+ PL28 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-chat@freebsd.org X-Loop: FreeBSD.org Precedence: bulk Jordan K. Hubbard stands accused of saying: > > ahhh! :) everyone says this - but exit() never returns, so main > > never returns anything, so IMHO, main should always be type void. > > Uh.. I think you're fundamentally unclear on the concept of main() if > you think exit() is the only way out. :-) ... not to mention missing the fact that Joerg was complaining about passing argc as u_char. > In fact, weren't you also the guy who was unlear on the precedence of > = vs == ? If so, I think you _really_ need to go by a C book and > do some brushing up. ;) > > I recommend Harbison & Steele. I wonder if there would be any chance of shipping K&R 2ed in soft form with the system? It's my favoured reference 8) > Jordan -- ]] Mike Smith, Software Engineer msmith@gsoft.com.au [[ ]] Genesis Software genesis@gsoft.com.au [[ ]] High-speed data acquisition and (GSM mobile) 0411-222-496 [[ ]] realtime instrument control. (ph) +61-8-8267-3493 [[ ]] Unix hardware collector. "Where are your PEZ?" The Tick [[