c++ - Windows 风格的 getopt/argp

标签 c++ windows

有没有等价于getoptargp的windows可以简化写法 Windows 命令行工具?

它应该包含参数解析和强制执行 Windows 风格的参数语法,并可能为执行程序提供语法帮助。

Windows 命令行工具具有某种风格,让我觉得有这样一个工具。我发现的 SO 问题表明 getopt 的翻译是我最好的选择。

最佳答案

关于c++ - Windows 风格的 getopt/argp,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/16551694/

相关文章:

c++ - 在 DOS 窗口中的任意位置写入

windows - 批处理文件中的 VC++ SetEnv.cmd

python - Windows 上的 Tensorflow 量化

c++ - 分段故障打印文件特征

C++ 访问冲突写入 mql4 中的 dll 中的 0x00000000

c++ - 有没有办法在 QScriptEngine#pushContext/popContext 之外维护 Qt 脚本上下文环境?

c++ - 使用 Visual Studio 构建 JNI dll 时出现链接错误

c# - 从 C# 调用 C++ 时如何最好地处理未使用的指针?

c++ - 如何使用 C++ 将网站设置为 IE、Firefox、Chrome 和 Safari 的主页?

python - 在 IIS7 64 位上安装 Mercurial 时出错 : "DLL Load Failed: %1 is not a valid Win32 application"