[LC++]getopt-question

Julien Patrick Claassen julien at c-lab.de
Fri Dec 13 00:14:01 UTC 2002


Hello all!
  I want to call a program with some options. But there are some which exclude
one another. I.e.: You use either -r or -s, but not both. How can I do it
nicely with using getopt_long?
  Thanks for any help!
  Kindest regards
         Julien

Julien Patrick Claassen
jclaassen at gmx.de
julien at c-lab.de
http://www.geocities.com/jjs_home

SBS C-LAB
Fuerstenallee 11
33102 Paderborn

Phone: (+49) 5251 60 6060
Fax: (+49) 5251 60 6065

www.c-lab.de




More information about the tuxCPProgramming mailing list