getopt()在VC ++ [英] getopt() in VC++

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

问题描述

我非常喜欢使用GNU getopt ,在 Linux 下编程时。我理解,getopt()不能在MS VC ++下使用。

I'm quite fond of using GNU getopt, when programming under Linux. I understand, that getopt(), is not available under MS VC++.

注意


  • Win32环境

  • 使用Visual Studio

  • Boost

  • 没有MFC

  • 不关心可移植性

  • Win32 environment
  • using Visual Studio
  • No Boost
  • No MFC
  • Not concerned with portability

问题:


  • )?

    • 移植时应该注意什么指南?

    推荐答案

    许可证要求,但是对GCC库的源是免费提供的。只需从那里抓取getopt()。

    You will have to check out the license requirements, but the source to the GCC libraries is freely available. Just grab getopt() from there.

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

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