delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/06/19/15:22:15

From: Jeff Weeks <pweeks AT execulink DOT com>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: inline asm
Date: Thu, 19 Jun 1997 10:34:15 -0400
Organization: Code X Software
Lines: 21
Message-ID: <33A94367.652A6E97@execulink.com>
References: <33A75BFE DOT 8D02A0A7 AT bitsmart DOT com> <Pine DOT GSO DOT 3 DOT 96 DOT 970619111009 DOT 3264A-100000 AT saule> <33A8EB8A DOT E7D AT cs DOT com>
NNTP-Posting-Host: ppp9.mercury.execulink.com
Mime-Version: 1.0
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

John M. Aldrich wrote:
> 
> Martynas Kunigelis wrote:
> >
> > void main()
> 
> I'm gonna sound like a broken record, but please use int main( void ) in
> examples.  Don't promote bad programming habits.

I agree!  Infact, I didn't think gcc would even allow a void main
function!?  It breaks ANSI does it not?

Jeff

--------------------------------------------
            - Code X Software -
       Programming to a Higher Power
  
  email: mailto:pweeks AT execulink DOT com
  web:	 http://www.execulink.com/~pweeks/
--------------------------------------------

- Raw text -


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