1. getopt介绍getopt函数主要用来解析命令行参数,getopt族的函数原型如下:#include ... a.out -c optarg is NULL. optind=2. allan@ubuntu:temp$ .
確定! 回上一頁