C語言getopt()函數的使用

getopt(分析命令行參數)     相關函數表頭文件         #include<unistd.h> 定義函數         int getopt(int argc,char * const argv[ ],const char * optstring); 函數說明         getopt()用來分析命令行參數。參數argc和argv是由main()傳遞的參數個數和內容。參數op
相關文章
相關標籤/搜索