這是我從man 3 getopt抄出來的範例,稍微小改一下讓他變成一個void function,專門用來讀-n和-t。用這個framewaork的main長這樣 int main(int argc, char *argv[]) ...
確定! 回上一頁