getopt和optind:. getopt被用來解析命令行選項參數。 #include <unistd.h> extern char *optarg; //選項的參數指針 extern int optind, //下一次 ...
確定! 回上一頁