From: "Christopher Nelson" To: Subject: Re: Command Line parameters Date: Tue, 29 Jun 1999 18:00:35 -0600 Message-ID: <01bec28b$941688a0$LocalHost@thendren> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 4.71.1712.3 X-MimeOLE: Produced By Microsoft MimeOLE V4.71.1712.3 Reply-To: djgpp AT delorie DOT com >Could someone show me an example of command line parameters, please. I'm >working on a project that would have input like: > >program_name parameter1 parameter2 parameter3 > one good thing to do is to use getopt() on argv[]. it's probably about the easiest, most error-free way of doing it without writing you're own parser function. -={C}=-