上QQ阅读APP看书,第一时间看更新
Parsing command-line arguments
Command-line arguments to the main function define different parameters for user applications. The main function declaration always looks like this:
The argc
and argv
arguments form a string array containing the application name and other necessary arguments. OSG provides a fast and safe osg::ArgumentParser
to read and make use of them.