<getopt.h> library in windows
CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 3 of 3

Thread: <getopt.h> library in windows

  1. #1
    Join Date
    Mar 2004

    Question <getopt.h> library in windows

    Hi all,

    I have encounter some codes that include <getopt.h> library. I guess it is a library under linux enviroment. However, I am using Windows and I want to compile the codes using Visual C++. Is there a counterpart of this library for VC?

    Hope some one can help.

  2. #2
    Join Date
    Jun 2005

    Smile Re: <getopt.h> library in windows

    Here are three solutions:

    1. Argtable
    Argtable is a free ANSI C command line parser for Windows and other platforms by Stewart Heitmann.
    See http://argtable.sourceforge.net/

    2. XGetopt
    XGetopt is a free Unix-compatible getopt() for MFC and Win32 by By Hans Dietrich
    See http://www.thecodeproject.com/cpp/xgetopt.asp

    3. Dev-Cpp/Mingw
    Dev-Cpp/Mingw is a free C/C++ compiler for Windows, which includes getopt().
    See http://www.bloodshed.net

  3. #3
    Join Date
    Mar 2004

    Re: <getopt.h> library in windows

    Thanks alot friend.
    Your suggestions have been very helpful!


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Windows Mobile Development Center

Click Here to Expand Forum to Full Width

This a Codeguru.com survey!

On-Demand Webinars (sponsored)