Hello Feixy

摘要: 原创文章,转载请正确注明本文原始URL及作者。 介绍 写C/C++程序,我们常常需要把main函数的参数作为选项来传递。在linux中,解析选项有专门的函数可以用。 int getopt(int argc,char * const argv[ ],const char * optstring); g 阅读全文
posted @ 2016-03-16 20:50 飞翔雨 阅读(514) 评论(0) 推荐(0)