delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1996/10/16/02:16:16

From: "John M. Aldrich" <fighteer AT cs DOT com>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Inline ASM help.
Date: Wed, 16 Oct 1996 01:07:07 -0700
Organization: Three pounds of chaos and a pinch of salt
Lines: 17
Message-ID: <326497AB.64F7@cs.com>
References: <326425F1 DOT 10C1 AT agt DOT net> <3264419F DOT 1E4B AT agt DOT net>
Reply-To: fighteer AT cs DOT com
NNTP-Posting-Host: ppp108.cs.com
Mime-Version: 1.0
To: Marshall <MarshallK AT agt DOT net>
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

Marshall wrote:
> 
> I figured this one out myself.

Good for you.  Now, can we use correct C please?

> void main(void)

That's not correct according to ANSI.  Try "int main(void) {... return
0;}", and you'll be a better programmer.

-- 
---------------------------------------------------------------------
| John M. Aldrich, aka Fighteer I  |        fighteer AT cs DOT com         |
| Plan:  To find ANYONE willing to |   http://www.cs.com/fighteer   |
| play Descent 2 on DWANGO!        | Tagline: <this space for rent> |
---------------------------------------------------------------------

- Raw text -


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