C Programming - Having trouble with a cmd line argument

I'm writing a program for my final project in my C Programming course and there's a command line argument I have to read in that can be entered as (-char space int) or (-char int). I need both the char and the int in the functionality of my program. What would be the best way to check if there's a space in the argument and what would be the best way to separate the char from the int for separate storage?
C library has argv array with command line arguments already separated for you.
Topic archived. No new replies allowed.