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.

Name: Anonymous 2010-10-29 6:31

>>10

Would you mind linking to a page detailing this issue, or point me in the right direction? I am a *gulp* beginner programmer.

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