摘要: 阅读全文
posted @ 2021-12-09 14:10 20191208孙汇阳 阅读(51) 评论(0) 推荐(0)
摘要: 注册,登录 发送文件给admin 登录admin 下载查看 阅读全文
posted @ 2021-12-09 13:53 20191208孙汇阳 阅读(8) 评论(0) 推荐(0)
摘要: ![](https://img2020.cnblogs.com/blog/1812331/202112/1812331-20211209170242324-64645652.png) ![](https://img2020.cnblogs.com/blog/1812331/202112/1812331-20211209170247504-44488603.png) 阅读全文
posted @ 2021-12-09 13:43 20191208孙汇阳 阅读(53) 评论(0) 推荐(0)
摘要: OpenEuler 中C与汇编的混合编程 1.下载gcc32位库 sudo apt-get install gcc-multilib g++-multilib module-assistant 2.c代码转汇编语言 c代码 #include<stdio.h> extern int B(); int 阅读全文
posted @ 2021-12-03 16:24 20191208孙汇阳 阅读(45) 评论(0) 推荐(0)
摘要: 代码 main.c 1 #include<stdio.h> 2 #include<stdlib.h> //定义此头文件,里面包含一些宏和通用工具函数,包含atoi()函数 3 int sum(int N,int arr[]); //声明sum函数 4 int main(int argc,char * 阅读全文
posted @ 2021-11-15 11:34 20191208孙汇阳 阅读(69) 评论(0) 推荐(0)
摘要: 代码 1 #include <stdio.h> 2 #include <pthread.h> 3 #include <stdlib.h> 4 #include <semaphore.h> 5 6 #define NUM 5 7 int queue[NUM]; 8 sem_t blank_number 阅读全文
posted @ 2021-11-15 11:19 20191208孙汇阳 阅读(31) 评论(0) 推荐(0)
摘要: 1.代码 #include <stdio.h> #include <stdlib.h> #include <pthread.h> #include <ctype.h> struct arg_set { char *fname; int count; }; struct arg_set *mailbo 阅读全文
posted @ 2021-11-15 11:04 20191208孙汇阳 阅读(35) 评论(0) 推荐(0)
摘要: 1. 2. 先创建txt文件 3.解密 4.随机数加密 5.随机数解密 阅读全文
posted @ 2021-11-15 10:29 20191208孙汇阳 阅读(14) 评论(0) 推荐(0)
摘要: stat命令的实现-mysate(必做)学习使用stat(1),并用C语言实现 1. 提交学习stat(1)的截图 2. man -k ,grep -r的使用 3. 伪代码 4. 产品代码 mystate.c,提交码云链接 5. 测试代码,mystat 与stat(1)对比,提交截图 用man st 阅读全文
posted @ 2021-11-04 14:54 20191208孙汇阳 阅读(96) 评论(0) 推荐(0)
摘要: 1.实验环境在华为云上故无需此步骤 2.安装ssl 测试代码 3.第三章实验 3.2代码 运行结果 gdb调试 3.3代码 运行结果 3.4代码 运行结果 3.5代码 测试结果 阅读全文
posted @ 2021-10-30 19:56 20191208孙汇阳 阅读(61) 评论(0) 推荐(0)