原文 标签 c linux unix getopt ... n = atoi(argv[1]); while ((opt = getopt(argc, argv, "hi:o:")) != ... 这使得getopt返回-1,switch语句永远不会执行。
確定! 回上一頁