From: "John M. Aldrich" Newsgroups: comp.os.msdos.djgpp Subject: Re: char **argv vs. char *argv[] Date: Sun, 08 Jun 1997 11:28:13 +0000 Organization: Two pounds of chaos and a pinch of salt Lines: 16 Message-ID: <339A974D.64BE@cs.com> References: <5ndap9$mgd AT freenet-news DOT carleton DOT ca> Reply-To: fighteer AT cs DOT com NNTP-Posting-Host: ppp108.cs.com Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk Paul Derbyshire wrote: > > I've seen char **argv and char *argv[] and am curious which is correct. Or > are either correct? They are both technically correct. I have heard of some compilers that barf when you use char *argv[], although I have never had this happen to me. -- --------------------------------------------------------------------- | John M. Aldrich, aka Fighteer I | mailto:fighteer AT cs DOT com | | * Proud user of DJGPP! * | http://www.cs.com/fighteer | | ObJoke: If Bill Gates were a robber, not only would he | | shoot you, but he'd send you a bill for the bullets. | ---------------------------------------------------------------------