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?

manlio
  • 18,345
  • 14
  • 76
  • 126
rayimag
  • 893
  • 3
  • 10
  • 18

3 Answers3

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.

ypnos
  • 50,202
  • 14
  • 95
  • 141
21

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

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

kaveish
  • 1,296
  • 12
  • 21
0

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

HBizzle
  • 31
  • 1
  • 9