B
Bill Cunningham
I want to do some things that look complicated with the command line for
example.
int main(int argc, char *argv[])
This is the only other main based parameter I know of other than int
main(void). Now if I wanted to use switches at the command line such as :
real 14 54 -help
-help would display help but I want -help to be recognized anywhere in the
command line input.
real -help 14
real 14 -help
Would this coding involve using argc or *argv[] ?
Bill
example.
int main(int argc, char *argv[])
This is the only other main based parameter I know of other than int
main(void). Now if I wanted to use switches at the command line such as :
real 14 54 -help
-help would display help but I want -help to be recognized anywhere in the
command line input.
real -help 14
real 14 -help
Would this coding involve using argc or *argv[] ?
Bill