解析命令行参数中的选项,选项是以'-'开头的字符。 与getopt相关的重要的全局变量. extern char* optarg;用来保存选项的参数 extern int optind;用来记录 ...
確定! 回上一頁