what is getopt() ?

Discussion in 'C++' started by onkar, Jul 8, 2006.

  1. onkar

    onkar Guest

    A small example please .....
    onkar, Jul 8, 2006
    #1
    1. Advertising

  2. onkar

    Ian Collins Guest

    onkar wrote:
    > A small example please .....
    >

    Read your man pages (if you have then), or google "getopt example",
    there's plenty of hits to follow.

    --
    Ian Collins.
    Ian Collins, Jul 8, 2006
    #2
    1. Advertising

  3. onkar

    Ron Natalie Guest

    onkar wrote:
    > A small example please .....
    >

    getopt() is a not part of the standard C or C++ libraries
    and is off-topic here. It is a common UNIX function to
    retrieve command line arguments and part of the POSIX
    standard I believe. You'll have to look it up on whatever
    machine you are working with.
    Ron Natalie, Jul 8, 2006
    #3
    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. Arvind Kumar

    Problem with Getopt

    Arvind Kumar, Nov 3, 2003, in forum: Perl
    Replies:
    1
    Views:
    555
    Jim Gibson
    Nov 3, 2003
  2. dima
    Replies:
    9
    Views:
    680
    llewelly
    Sep 5, 2003
  3. Ramiro Rodriguez

    getopt

    Ramiro Rodriguez, Oct 14, 2003, in forum: C++
    Replies:
    6
    Views:
    3,986
    Lorenzo Bettini
    Oct 17, 2003
  4. Jem Berkes

    Re: Dealing with fragmented getopt parameters

    Jem Berkes, Oct 30, 2003, in forum: C Programming
    Replies:
    2
    Views:
    325
    Jem Berkes
    Oct 30, 2003
  5. Spartan815

    getopt

    Spartan815, Jan 25, 2004, in forum: C Programming
    Replies:
    2
    Views:
    1,059
    Peter Nilsson
    Jan 26, 2004
Loading...

Share This Page