那麼,如果命令行參數是-c,那麼調用getopt_long()將返回字符'c',而此時,optarg是null ... 函數原型:int getopt_long(intargc, char* const argv[],.
確定! 回上一頁