Main Page   Modules   Class Hierarchy   Alphabetical List   Compound List   File List   Related Pages   Examples  

Command Line Info

This module permits to parse easily the command line of the application :
        int main(int argc, char *argv[ ])
We suppose that the command line is formated like standard GNU application. See http://www.gnu.org for more information about the command line formating.

The following line :

        -label1 param1_1 param1_2 -label2 param2_1 param2_2 -label3
can be represented like a list: Moreover the same label could be used several times:
        -label1 param1 -label1 param2
So the final representation is:
Top of Page
written by Pierre Rebours © 2000-2001. Terms of Use.