Getopt::Long works for me. See The Dynamic Duo --or-- Holy Getopt::Long, Pod::UsageMan! for a comprehensive discussion. Beware, though, that I know nothing of C & my response is based on your text.
Regards,
John Davies
In reply to Re: optional command line arguments
by davies
in thread optional command line arguments
by Molten
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |