473,379 Members | 1,187 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,379 software developers and data experts.

getopt and getopt_long for Windows?

Does anyone know of a port of getopt and getopt_long for Windows, especially one that compiles and links with VC++?
Mar 3 '06 #1
1 8441
Angel Tsankov wrote:
Does anyone know of a port of getopt and getopt_long for Windows, especially
one that compiles and links with VC++?


I don't, but you might try asking in a Microsoft specific group (see
http://www.parashift.com/c++-faq-lit....html#faq-5.9). Also,
as an alternate, you might try Boost's Program Options library
(http://boost.org/doc/html/program_options.html).

Cheers! --M

Mar 3 '06 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

6
by: David Bear | last post by:
I'm stumped. Trying to follow the docs and .. failure. here's the args >>> args '-Middwb@mainex1.asu.edu -AKHAAM@prlinux+898 -CA --D2003-08-20-09:28:13.417 -Ff -Hprlinux...
6
by: Ramiro Rodriguez | last post by:
In C there is a function to easily parse command line arguments called getopt. Is there such a function in c++ RR
2
by: Karthik | last post by:
hi everyone, I am using getopt_long() in one of my programs to parse out the command line arguments. The library call returns a character code of "1" which i am not sure whether it is a errno...
14
by: José de Paula | last post by:
Is getopt() and its companions, commonly found in GNU libc and other Unices libc, part of the C standard? Another doubt: I have a switch inside a while loop; is there a way to break out of the...
2
by: jenea | last post by:
HI! I write a little test program. In witch I use getopt_long function... I included unstd.h , optget.h , stdio.h and stdlib.h when i try to link the program with gcc -o result main.o ( within...
18
by: k_over_hbarc | last post by:
What is the correct format of getopt() and how does it work? I looked at the man page; it doesn't really clarify things. What's a program that uses it, maybe I could figure it out from that. ...
1
by: Daniel Mark | last post by:
Hello all: I am using getopt package in Python and found a problem that I can not figure out an easy to do . // Correct input D:\>python AddArrowOnImage.py --imageDir=c:/ // Incorrect...
14
by: Markus Mayer | last post by:
Hi. Any chances that there is a similar thing to *nix's getopt() under windows? (It doesn't actually have to be too nifty, the requirement is just that it is stable.) Regards, Markus
6
by: Rishi | last post by:
suppose i have a program in which there are two arguements 'a' and 'b' the program is such that i will work iff -either 'a' or 'b' is present as an option to it -both 'a' and 'b' cant be present...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.