| delorie.com/archives/browse.cgi | search |
| From: | "Christopher Nelson" <paradox AT gye DOT satnet DOT net> |
| To: | <djgpp AT delorie DOT com> |
| Subject: | Re: Command Line parameters |
| Date: | Tue, 29 Jun 1999 18:00:35 -0600 |
| Message-ID: | <01bec28b$941688a0$LocalHost@thendren> |
| MIME-Version: | 1.0 |
| 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}=-
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |