Linux底下有個好用的function叫getopt(),他可以幫住我們來parsing這些參數。 ... //skip the option we read argc -= optind; argv += optind; ...
確定! 回上一頁