From: Vik Heyndrickx Newsgroups: comp.os.msdos.djgpp Subject: Re: Reading the command line Date: Fri, 24 Oct 1997 11:11:23 +0200 Organization: University of Ghent, Belgium Lines: 15 Message-ID: <3450663B.4202@rug.ac.be> References: <62pk3q$3q$1 AT panther DOT rmplc DOT co DOT uk> <34505783 DOT 3DE3 AT swcp DOT com> NNTP-Posting-Host: eduserv1.rug.ac.be 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 H.W. Stockman wrote: > > void main(char* argv[], int argc) <---is this right? > > {} > > order reversed -- argc first. That should be in just > about any C book... And the return type of main is int, not void. That should be in any text book too. -- +----------------+ | Vik Heyndrickx | +----------------+