getopt
摘要:int getopt(int argc, char * const argv[], const char *optstring);1.getopt() 用来解析命令行参数。程序启动时,argc,argv两个参数传递给运行程序,argv里的参数项以'-'(或'--')开始。循环调用getopt(),将...
阅读全文
posted @ 2014-09-24 17:25
posted @ 2014-09-24 17:25
posted @ 2014-09-17 11:04
posted @ 2014-09-15 18:04
posted @ 2014-09-02 14:44