Re: how to write a program that takes arguments from commandline?
- From: Mark McIntyre <markmcintyre@xxxxxxxxxxx>
- Date: Mon, 13 Feb 2006 00:45:30 +0000
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.
Mark McIntyre
--
"Debugging is twice as hard as writing the code in the first place.
Therefore, if you write the code as cleverly as possible, you are,
by definition, not smart enough to debug it."
--Brian Kernighan
----== Posted via Newsfeeds.Com - Unlimited-Unrestricted-Secure Usenet News==----
http://www.newsfeeds.com The #1 Newsgroup Service in the World! 120,000+ Newsgroups
----= East and West-Coast Server Farms - Total Privacy via Encryption =----
.
- Follow-Ups:
- Re: how to write a program that takes arguments from commandline?
- From: Richard Bos
- 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
- 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
- how to write a program that takes arguments from commandline?
- Prev by Date: Re: Segmentation fault!
- Next by Date: Re: Byte ordering and array access
- 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
|