command line arguments
Hello,
Does anybody know how to use command line arguments in c to ask the user to enter first name, last name, gender, and age.
Thanks.
Does anybody know how to use command line arguments in c to ask the user to enter first name, last name, gender, and age.
Thanks.
0
Comments
http://goforit.unk.edu/cprogram/c_016.htm
yeah with scanf you would have to run the program and then you could make it prompt for the information
using argv, as Radeon pointed out, you could do it all in one line
executeapp jared atchison M 21
/\ something like that!
good luck and cheers :cheers3: