C语言getopt()函数的使用

getopt(分析命令行参数)     相关函数表头文件         #include<unistd.h> 定义函数         int getopt(int argc,char * const argv[ ],const char * optstring); 函数说明         getopt()用来分析命令行参数。参数argc和argv是由main()传递的参数个数和内容。参数op
相关文章
相关标签/搜索