57 #include <visp/vpDebug.h>
58 #include <visp/vpParseArgv.h>
64 main(
int argc,
const char ** argv)
72 double d_val = 3.1415;
74 vpParseArgv::vpArgvInfo argTable[] =
90 cout <<
"Your parameters: " << endl;
91 cout <<
" Integer value: " << i_val << endl;
92 cout <<
" Float value: " << f_val << endl;
93 cout <<
" Double value: " << d_val << endl << endl;
94 cout <<
"Call " << argv[0]
95 <<
" -h to see how to change these parameters." << endl;
100 std::cout <<
"Catch a ViSP exception: " << e << std::endl;
error that can be emited by ViSP classes.
Command line argument parsing.