Howto execute a command in C if argv[1] is equal to -A
Hi,
I want to execute a command when the first argument of a C program I am writing, is equal to -A.
Can someone show me how that can be done? I am starting with C and I am unable to achieve this myself.
Thanks
Ben
|