53 #include <visp3/core/vpDebug.h> 54 #include <visp3/io/vpParseArgv.h> 60 main(
int argc,
const char ** argv)
68 double d_val = 3.1415;
71 vpParseArgv::vpArgvInfo argTable[] =
89 cout <<
"Your parameters: " << endl;
90 cout <<
" Integer value: " << i_val << endl;
91 cout <<
" Float value: " << f_val << endl;
92 cout <<
" Double value: " << d_val << endl << endl;
93 cout <<
" Flag : " << flag << endl << endl;
95 cout <<
"Call " << argv[0]
96 <<
" -h to see how to change these parameters." << endl;
101 std::cout <<
"Catch a ViSP exception: " << e << std::endl;
error that can be emited by ViSP classes.
Command line argument parsing.