getopt 會解析argc, argv 從patten "c:rs" 後面帶參數要加":", 傳回值為抓到的參數字元,無則傳回EOF,並將參數值存在global 參數optarg, 再使用 ...
確定! 回上一頁