Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Boost Program Options Examples

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?

like image 414
rayimag Avatar asked Aug 10 '09 22:08

rayimag


2 Answers

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.

like image 119
ypnos Avatar answered Sep 20 '22 15:09

ypnos


The examples are online at https://www.boost.org/doc/libs/1_75_0/libs/program_options/example/

For a different version of boost, change the number in the link.

like image 38
kaveish Avatar answered Sep 19 '22 15:09

kaveish