Library functions for handling command line arguments or options

Discussion in 'C++' started by lovecreatesbea...@gmail.com, Jan 11, 2007.

  1. Guest

    Are there some standard library functions for handling command line
    arguments or options? Thank you.
     
    , Jan 11, 2007
    #1
    1. Advertising

  2. mlimber Guest

    mlimber, Jan 11, 2007
    #2
    1. Advertising

  3. On 2007-01-11 17:42, wrote:
    > Are there some standard library functions for handling command line
    > arguments or options? Thank you.
    >


    If you are on a POSIX-compatible platform you might be interested in
    getopt*, used on many unix/linuxes.

    * http://www.opengroup.org/onlinepubs/000095399/functions/getopt.html)

    --
    Erik Wikström
     
    =?ISO-8859-1?Q?Erik_Wikstr=F6m?=, Jan 11, 2007
    #3
  4. On 11 Jan 2007 08:42:44 -0800, lovecreatesbeauty wrote:
    >Are there some standard library functions for handling command line
    >arguments or options? Thank you.


    Not Standard but this looks nice:
    http://www.codeproject.com/useritems/SimpleOpt.asp

    Good luck,
    Roland Pibinger
     
    Roland Pibinger, Jan 11, 2007
    #4
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Replies:
    8
    Views:
    387
    Fabio Fracassi
    May 4, 2005
  2. hue

    Parse command line options

    hue, Apr 18, 2005, in forum: Python
    Replies:
    5
    Views:
    396
  3. Replies:
    4
    Views:
    1,722
    Terry Hancock
    Apr 23, 2005
  4. oldyork90
    Replies:
    10
    Views:
    348
    Jorge
    Sep 27, 2008
  5. Peter Otten
    Replies:
    0
    Views:
    173
    Peter Otten
    Sep 16, 2012
Loading...

Share This Page