摘要: 参考 http://www.cnblogs.com/rocedu/p/6766748.html#SECCLA 在Linux下完成“求命令行传入整数参数的和” 注意C中main: int main(int argc, char *argv[]), 字符串“12” 转为12,可以调用atoi() 求和函 阅读全文
posted @ 2021-11-15 11:27 李业达 阅读(49) 评论(0) 推荐(0) 编辑
摘要: 1.编译运行附件中的代码,提交运行结果截图,并说明程序功能 代码如下: #include <stdio.h> #include <pthread.h> #include <stdlib.h> #include <semaphore.h> #define NUM 5 int queue[NUM]; s 阅读全文
posted @ 2021-11-15 11:20 李业达 阅读(20) 评论(0) 推荐(0) 编辑
摘要: 编译运行如下代码: #include <stdio.h> #include <stdlib.h> #include <pthread.h> #include <ctype.h> struct arg_set { char *fname; int count; }; struct arg_set *m 阅读全文
posted @ 2021-11-15 10:59 李业达 阅读(41) 评论(0) 推荐(0) 编辑
摘要: 提交使用SM3算法计算你的8位学号的摘要的命令和结果的截图 加密sm4(学号) 解密sm4(学号) 加密(随机数) 解密(随机数) 阅读全文
posted @ 2021-11-15 10:24 李业达 阅读(26) 评论(0) 推荐(0) 编辑