我的程式碼使用getopt從命令列獲取引數。我希望能夠接受三個必需的引數和一個可選的第四個 ... int c; int n; while ((c = getopt(argc,argv,"n:"))!
確定! 回上一頁