Boost Program Options Examples
Asked Answered
S

3

34

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?

Sotelo answered 10/8, 2009 at 22:41 Comment(1)
10 years later... boost options "tutorial" still not fixed.Completion
N
25

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.

Nutritionist answered 10/8, 2009 at 22:47 Comment(2)
Got it from the latest boost archive. Thanks a lot.Sotelo
On OSX via macports they are in /opt/local/share/doc/boost/libs/ then spattered in there.Primalia
P
22

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.

Piggott answered 3/11, 2014 at 23:9 Comment(0)
P
0

As of today, the examples are here: https://www.boost.org/doc/libs/

Proper answered 31/8, 2022 at 13:46 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.