现代C ++的参数解析器-C/C++开发

时间:2021-05-26 22:24:56
【文件属性】:
文件名称:现代C ++的参数解析器-C/C++开发
文件大小:88KB
文件格式:ZIP
更新时间:2021-05-26 22:24:56
C/C++ CLI 亮点单个头文件需要C ++ 17 MIT许可证快速入门只要包含argparse.hpp,您就可以开始使用。 #include 开始解析命令行ar亮点单个头文件需要C ++ 17 MIT许可证快速入门只要包含argparse.hpp,您就可以开始了。 #包括 要开始解析命令行参数,请创建一个ArgumentParser。 argparse :: ArgumentParser程序(“程序名称”); 注意:ArgumentParser有一个可选的第二个参数,它是程序版本。 示例:argparse :: ArgumentParser程序(“ libfoo”,“ 1.9.0”); 要添加新参数,只需调用.add_argument(...)。 你可以
【文件预览】:
argparse-master
----.travis.yml(844B)
----tools()
--------build.bat(195B)
--------build.sh(103B)
----test()
--------test_value_semantics.cpp(3KB)
--------test_scan.cpp(11KB)
--------test_compound_arguments.cpp(4KB)
--------test_positional_arguments.cpp(5KB)
--------test_append.cpp(1KB)
--------test_parent_parsers.cpp(1KB)
--------test_version.cpp(368B)
--------doctest.hpp(260KB)
--------test_issue_37.cpp(1KB)
--------test_help.cpp(2KB)
--------test_is_used.cpp(717B)
--------test_actions.cpp(4KB)
--------main.cpp(23B)
--------test_utility.hpp(397B)
--------test_repr.cpp(2KB)
--------.gitignore(19B)
--------test_required_arguments.cpp(2KB)
--------test_invalid_arguments.cpp(1KB)
--------CMakeLists.txt(2KB)
--------test_container_arguments.cpp(3KB)
--------test_optional_arguments.cpp(4KB)
--------README.md(292B)
--------test_parse_args.cpp(8KB)
--------test_negative_numbers.cpp(10KB)
----include()
--------argparse()
----LICENSE(1KB)
----CONTRIBUTING.md(314B)
----.clang-format(3KB)
----conanfile.py(232B)
----.gitignore(4KB)
----CMakeLists.txt(843B)
----README.md(21KB)

网友评论