int getopt(int argc, char * const argv[], const char *optstring); ... getopt處理以'-'開頭的命令列引數,如optstring="ab:c::d::", ...
確定! 回上一頁