getopt 的用法c,c 程式捕獲main引數,getopt被用來解析命令列選項引數。就不用自己寫東東處理argv了。 include extern char optarg 選項的引數指標.
確定! 回上一頁