www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/11/04/04:15:35

Date: Wed, 4 Nov 1998 11:15:05 +0200 (IST)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
X-Sender: eliz AT is
To: Erik Max Francis <max AT alcyone DOT com>
cc: djgpp AT delorie DOT com
Subject: Re: hope iam in the right place
In-Reply-To: <363F7C8B.6EB959CA@alcyone.com>
Message-ID: <Pine.SUN.3.91.981104111446.25255S-100000@is>
MIME-Version: 1.0
Reply-To: djgpp AT delorie DOT com

On Tue, 3 Nov 1998, Erik Max Francis wrote:

> >         int main (int argc, char **argv);
> 
> Nope.  ANSI C 5.1.2.2.1 dictates that the declaration for main must be
> either 
> 
>     int main(void);
> 
> or 
> 
>     int main(int argc, char *argv[]);

I don't have the official ANSI standard.  I was quoting from Plauger's
books, which are usually very accurate, and they insist on **argv.

- Raw text -


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