在windows下getopt [英] getopt under windows

查看:121
本文介绍了在windows下getopt的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

嗨。




windows下有什么机会与* nix'的getopt()类似吗? (它实际上并不是太漂亮,要求是

只是它是稳定的。)


问候,

Markus

解决方案

文章< 5p ************ @ mid.uni-berlin.de> ;,

Markus Mayer< co *********************** @ defx.dewrote:


>嗨。


窗口下有什么机会与* nix'的getopt()类似吗? (它实际上并不是太漂亮,要求只是稳定。)



显而易见的是:谷歌是你的朋友。


/ OT - 我一直在Windows中使用getopts() - 在Cygwin下 - / OT


(我不是不知道是否有原生API - 谷歌[或MSDN]将

告诉你)


Markus Mayer写道:


嗨。


任何可能与* nix'的getopt类似的东西()

windows下? (它实际上并不是太漂亮,要求是

只是它是稳定的。)


问候,

Markus



lcc-win32编译器将getopt()作为其标准

库的一部分。如果有兴趣,我可以给你发消息来源。


-

jacob navia

jacob at jacob point remcomp point fr

logiciels / informatique
http:// www.cs.virginia.edu/~lcc-win32


Markus Mayer< co ************** *********@defx.dewrites:


嗨。


任何可能存在的机会类似于* nix'的getopt()在

windows下? (它实际上不必太漂亮,要求是

只是它是稳定的。)



glib包含类似的访问页面
http://www.gtk.org/


和libapr在该领域也有一些东西:
http://apr.apache.org/docs/apr/1.2/g...r__getopt.html


问候

弗里德里希


-

请删除just-for-news-通过电子邮件回复。


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

解决方案

In article <5p************@mid.uni-berlin.de>,
Markus Mayer <co***********************@defx.dewrote:

>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.)

The obvious thing is: Google is your friend.

/OT - I used getopts() in Windows all the time - under Cygwin - /OT

(I don''t know if there is a "native" API for it - Google [or MSDN] will
tell you)


Markus Mayer wrote:

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

The lcc-win32 compiler has getopt() as part of its standard
library. If interested I can mail you the source.

--
jacob navia
jacob at jacob point remcomp point fr
logiciels/informatique
http://www.cs.virginia.edu/~lcc-win32


Markus Mayer <co***********************@defx.dewrites:

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.)

The glib contains something similiar visit pages below
http://www.gtk.org/

and libapr has something in that area also:
http://apr.apache.org/docs/apr/1.2/g...r__getopt.html

Regards
Friedrich

--
Please remove just-for-news- to reply via e-mail.


这篇关于在windows下getopt的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆