[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[ale] Arguments question
- Subject: [ale] Arguments question
- From: fletch at phydeaux.org (Fletch)
- Date: 02 May 2001 14:39:00 -0400
>>>>> "Chris" == Chris Fowler <ChrisF at computone.com> writes:
[...]
Chris> if(strncmp(argv[0],"shell") == 0)
Chris> shell(argv);
[...]
Chris> int shell(int argc, char *argv[]) { /*
[...]
Chris> It seems simple, but my program that I am calling from main
Chris> are not getting all the arguments. Maybe I've overlooked
Chris> something.
Like that fact that you're only calling shell with one
argument rather than an argc and argv? :)
--
Fletch | "If you find my answers frightening, __`'/|
fletch at phydeaux.org | Vincent, you should cease askin' \ o.O'
770 933-0600 x211(w) | scary questions." -- Jules =(___)=
| U
--
To unsubscribe: mail majordomo at ale.org with "unsubscribe ale" in message body.