Boost 程序选项示例
在在线 boost 教程中了解程序选项: http: //www.boost.org/doc/libs/1_39_0/doc/html/program_options/tutorial.html#id2891824
它说完整的代码示例可以在“BOOST_ROOT/libs/program_options/example”目录中找到。 我不知道这是哪里。 谁能帮我找到例子吗?
In the boost tutorials online for program options : http://www.boost.org/doc/libs/1_39_0/doc/html/program_options/tutorial.html#id2891824
It says that the complete code examples can be found at "BOOST_ROOT/libs/program_options/example" directory. I could not figure out where is this. Can anyone help me finding the examples?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
在 Debian 系统上,您可以在
/usr/share/doc/libboost-doc/examples/libs/program_options
中找到它。否则,我建议从 boost.org 下载存档并在那里查看。
On Debian systems, you find it in
/usr/share/doc/libboost-doc/examples/libs/program_options
.Otherwise, I suggest to download the archive from boost.org and have a look there.
这些示例在线位于
https://www.boost.org/doc/libs/1_83_0 /libs/program_options/example/
对于不同版本的 boost,请更改链接中的数字。
The examples are online at
https://www.boost.org/doc/libs/1_83_0/libs/program_options/example/
For a different version of boost, change the number in the link.
截至今天,示例如下:
https://www.boost.org/doc/libs/
As of today, the examples are here:
https://www.boost.org/doc/libs/