Boost's parse_command_line routine parses the argc and argv arguments.
Boost的parse_command _ line例程解析argc和argv参数。
ArgC How many words were typed at the prompt, by default, Arg C, should always be at least one.
提示符那里默认要输入多少单词,至少需要一个单词。
Note here that the argc variable (argument count) is implicit, because the length of the argv list is known.
请注意这里的argc变量(参数数量)是隐式的,因为argv列表的长度已经知道。
The getopt routine processes the arguments (you must pass it argc and argv) according to a string of accepted option characters.
getopt例程根据接受的选项字符的字符串来处理参数(必须传递给它argc和argv)。
I print F, I backslash N, just to pretty up the screen, ArgC I then iterate from, I equal zero up to Arg C; so Arg C is the convention.
我键入printf,反斜杠n,来使屏幕变得美观点,然后i开始迭代,从i等于0增加到;,所以ArgC是一个约定。
Argc I'm iterating on the outside from I to Arg c, zero to Arg c; I on the inside, I better not use I; otherwise bad things are going to happen.
我从i迭代到Argc,从0迭代到,在里面,我最好不是用,否则坏事情将会发生。
In this definition, argc is the number of arguments passed in (argument count) and argv is an array of strings representing options passed in from the command line (argument vector).
在这个定义中,argc是传递进来的参数的个数(参数数量),而argv是一个字符串数组,代表从命令行传递进来的参数(参数向量)。
In this definition, argc is the number of arguments passed in (argument count) and argv is an array of strings representing options passed in from the command line (argument vector).
在这个定义中,argc是传递进来的参数的个数(参数数量),而argv是一个字符串数组,代表从命令行传递进来的参数(参数向量)。
应用推荐