ok..i have been reading the tutorial and i have some questions. How does the following code work:
Code:
po::options_description desc("Allowed Options");
desc.add_options()
("about", "Test made by Collin Doering")
("help", "produce help message")
;
specificaly how is it possable to have
Code:
("about", "Test made by Collin Doering")
("help", "produce help message")
after the call to add_options()??? also how do i go about compiling a file that contains includes to the boost library? I tried
Code:
g++ srcfile.cc `pkg-config --libs --cflags boost-1.33`
but no success
Bookmarks