SyntaxFix
Write A Post
Hire A Developer
Questions
There's also a C standard built-in library to get command line arguments: getopt
You can check it on Wikipedia or in Argument-parsing helpers for C/Unix.