摘要: getopt被用来解析命令行选项参数#include extern char *optarg;//选项的参数指针extern int optind, //下一次调用getopt的时,从optind存储的位置处重新开始检查选项。extern int opterr,//当opterr=0时,getopt... 阅读全文
posted @ 2014-05-12 08:47 fendou999 阅读(320) 评论(0) 推荐(0)