getopt 被用来解析命令行选项参数。 #include <unistd.h>. extern char *optarg; //选项的参数指针. extern int optind, //下一次调用getopt的时,从optind存储的位置处 ...
確定! 回上一頁