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?
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.