Re: how to write a program that takes arguments from commandline?
- From: rlb@xxxxxxxxxxxxxxxxxxxxxx (Richard Bos)
- Date: Mon, 13 Feb 2006 11:44:30 GMT
Mark McIntyre <markmcintyre@xxxxxxxxxxx> wrote:
On Sun, 12 Feb 2006 15:23:41 +0100, in comp.lang.c , Martin Jørgensen
<unoder.spam@xxxxxxxxxxxx> wrote:
Keith Thompson wrote:
The arguments aren't necessarily space-separated; that depends on the
mechanism (for example, a shell) used to invoke your program.
If the arguments isn't space-separated, how else would they be separated?
colons, tabs, semicolons, slashes, any number of possibities.
Different OSes do different things.
In fact, there's nothing in the Standard that requires the contents of
argv to come from a command line. One could have an implementation on an
all-WIMP environment that pops up a little dialog with an extensible
list of text entry fields each time a program is run.
Richard
.
- 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
- Re: 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: Keith Thompson
- Re: 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: Mark McIntyre
- how to write a program that takes arguments from commandline?
- Prev by Date: Re: code optimization
- Next by Date: Re: _tfopen()
- 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):
Relevant Pages
|