Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories

URGENT!!Multiple argument and option parsing

Hi there!

I'm trying to do something like this without gengetopt()

./app -g filename fileformat

I have to read the option -g, the argument "filename" so I can create a file with that name and then read "fileformat" to know the extension of another file to be generated.
I have no clue of how to do this without gengetopt().
Note that I'm already using gengetopt() so can't use anything that conflicts with it's parsing.

Can anyone give me a hint?

Tks.

Comments

Sign In or Register to comment.