摘要: 上午复习cachelab实验时被一个陌生的函数getopt卡住了,原来是处理命令行选项参数的,故记之。 #1.定义和参数:man getopt() #include<getopt.h> /*所在头文件 */ int getopt(intargc, char * const argv[], const 阅读全文
posted @ 2023-03-20 20:20 Yihoyo 阅读(150) 评论(0) 推荐(0)