Re: how to write a program that takes arguments from commandline?
- From: Martin Jørgensen <unoder.spam@xxxxxxxxxxxx>
- Date: Sun, 12 Feb 2006 00:05:41 +0100
stathis gotsis wrote:
-snip-
Maybe this is relevant:
http://c-faq.com/misc/argv.html
Thanks. That looks exactly like the place to start. Also thanks to the other answers. I assume argc contains the number of (space-separated) arguments.
Med venlig hilsen / Best regards
Martin Jørgensen
--
---------------------------------------------------------------------------
Home of Martin Jørgensen - http://www.martinjoergensen.dk
.
- Follow-Ups:
- Re: how to write a program that takes arguments from commandline?
- From: Keith Thompson
- Re: how to write a program that takes arguments from commandline?
- References:
- how to write a program that takes arguments from commandline?
- From: Martin Jørgensen
- Re: how to write a program that takes arguments from commandline?
- From: stathis gotsis
- how to write a program that takes arguments from commandline?
- Prev by Date: Re: Compile Errors
- Next by Date: Re: size_t and C90/C99
- Previous by thread: Re: how to write a program that takes arguments from commandline?
- Next by thread: Re: how to write a program that takes arguments from commandline?
- Index(es):