windows 实现 getopt 调用
1、linux系统环境下可以调用getopt
2、windwos系统环境下无法调用getopt
3、windows系统环境下模拟实现getopt
//头文件
#include “getopt.h” // 包含头文件
//调用
while ((oc = getopt(argc, argv, “L:pi:C:s:f:W:dqhSF:DU:t:u:”)) != -1)
getop...
原创
2020-04-16 12:07:05 ·
1080 阅读 ·
1 评论