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