- 博客(1)
- 收藏
- 关注
原创 明晰argc -= optind, argv += optind为什么是跳过已读取的参数
写一个要使用到命令行的程序test.c #include <stdio.h> #include <unistd.h> int main(int argc, char* args[]) { int thick = 0; int count = 0; char ch; while ((ch = getopt(argc, args, "t"))...
2019-02-15 11:37:40
1486
1
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人
RSS订阅