Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

Scanning for Options in C

Name: Anonymous 2010-10-29 4:12

Hi guys. I was wondering what the most common way to check for options, declared with '-' at the command line, is in C. For example: prog -a filename would run the program prog with the -a option. I assume it involves scanning with getopt. Thanks.

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List