- 博客(9)
- 收藏
- 关注
原创 python笔记-1
这里写自定义目录标题欢迎使用Markdown编辑器新的改变功能快捷键合理的创建标题,有助于目录的生成如何改变文本的样式插入链接与图片如何插入一段漂亮的代码片生成一个适合你的列表创建一个表格设定内容居中、居左、居右SmartyPants创建一个自定义列表如何创建一个注脚注释也是必不可少的KaTeX数学公式新的甘特图功能,丰富你的文章UML 图表FLowchart流程图导出与导入导出导入欢迎使用Markdown编辑器你好! 这是你第一次使用 Markdown编辑器 所展示的欢迎页。如果你想学习如何使用Mar
2022-04-25 16:58:29
655
原创 Git学习笔记
https://www.liaoxuefeng.com/wiki/896043488029600 廖雪峰git教程https://liaoxuefeng.gitee.io/resource.liaoxuefeng.com/git/git-cheat-sheet.pdf git命令集合pdf1、git安装,在windows/linux/macOS都可以安装2、创建版本库,初始化一个Git仓库,使用命令。git init3、添加文件到Git仓库,分两步:使用命令,注意..
2021-07-01 19:34:38
178
原创 验证进程一些结论
1、验证在挂起队列中,没有相同信号。//验证挂起队列中没有相同信号#include <stdio.h>#include <stdlib.h>#include <signal.h>#include <sys/types.h>#include <sys/wait.h>#include <unistd.h>void parent_fun(int sig){ printf("catch sig: %d\n", sig
2020-11-05 23:21:44
389
原创 父子进程阻塞和响应
1、编写一段程序,使用系统调用函数fork( )创建两个子进程,再用系统调用函数signal( )让父进程捕捉信号SIGINT(用kill命令来触发),当捕捉到中断信号后,父进程用系统调用函数kill( )向两个子进程发出信号,子进程捕捉到父进程发来的信号后,分别输出下列信息后终止: Child process 1 is killed by parent! Child process 2 is killed by parent! 或者...
2020-11-04 17:25:23
940
1
原创 父子进程(进程扇、进程链)
1、用进程相关API函数编程一个程序,使之产生一个进程扇:父进程产生一系列子进程,每个子进程打印自己的PID然后退出。要求父进程最后打印PID。#include <stdio.h>#include <stdlib.h>#include <unistd.h>#include <sys/types.h>#include <sys/wait.h>int main(int argc, char const *argv[]){ pi
2020-11-03 12:54:35
2102
原创 开发板电子相册滑动切换、递归目录(c语言)
/*实现电子相册功能硬件需求:在GEC6818开发板展示电子图片,LCD显示屏,触摸屏,U盘,软件功能需求:1)点击/滑动触摸屏,控制LCD显示屏显示图片,2)自动筛选某个目录下的ebm图片文件,*//* ******************头文件*************************** */#include <stdio.h>#include <stdlib.h>#include <stdbool.h>#includ...
2020-10-19 19:42:27
7299
原创 【C语言】在LCD(/dev/fb0)上点击触摸屏(/dev/input/event0)切换显示图片
#include <stdio.h>#include <stdlib.h>#include <stdbool.h>#include <string.h>#include <strings.h>#include <errno.h>#include <sys/types.h>#include <sys/mman.h>#include <fcntl.h>#include <unist
2020-10-17 13:03:01
6809
1
原创 用C语言、系统IO实现文件复制(带进度条)
#include <stdio.h>#include <sys/types.h>#include <sys/stat.h>#include <fcntl.h>#include <unistd.h>#include <strings.h>#include <string.h>#include <stdlib.h>#define SIZE 50 //堆或者数组buffer的大小#de...
2020-10-13 14:34:28
1516
1
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人