自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(20)
  • 资源 (6)
  • 收藏
  • 关注

原创 小项目,木板接小球游戏,(文件IO)实现计分、开始、暂停、退出等。多线程操作,注释里有详细解析和思路。

#include<stdio.h>#include<string.h>#include<stdlib.h>#include<sys/types.h>#include<sys/stat.h>#include<error.h>#include<linux/input.h>#include<unistd.h>#include<sys/mman.h>#include<pthread.h

2021-04-03 13:52:19 1291 3

原创 TIFF文件格式转JBIG压缩图像文件格式

将TIFF格式的文件转换为JBIG压缩文件(后缀为jbg的压缩文件),两者的互相转换。

2023-10-23 10:17:35 71

原创 IP自动化测试工具通用函数记录

消息框自动关闭、文件夹自动创建、遍历目录下指定文件(python)、延时函数、非阻塞延时。

2023-08-11 17:36:58 108 1

原创 QT嵌入套用使用Python脚本,如何一起打包成.exe,混合使用,并且无python环境的电脑也能使用。

QT嵌入套用使用Python脚本,如何一起打包成.exe,混合使用,并且无python环境的电脑也能使用。

2023-07-24 17:36:44 746

原创 QT三方库 Openssl Des 算法实现

QT三方库 Openssl Des 算法实现DECcpp文件#include "DES.h"#include "HEX.h"enum Except{ EXCEP_ZERO,EXCEP_ONE};QDES::QDES(){}//3Des_cbc加密QString QDES::m3Des_cbc_encrypt(char *clText,char *key1,char *key2,char *key3){ int i = 0; int len = 0;

2021-09-10 17:24:29 968 5

原创 使用多路复用完成以下的效果,双向循环链表 1、先显示目录下的第一张图片。 2、这时候 “点击屏幕右边松开手“ 或者 “在终端输入nex

//头文件下一章自取,自己写也可以#include"head.h"struct list_node{ char picname[20]; struct list_node *next; struct list_node *prev;};struct list_node *init_list_head(){ //1. 为头节点申请空间。 struct list_node *head = malloc(sizeof(struct list_node)); //2. 为头节点赋值。

2021-05-10 09:44:59 113

原创 双向循环链表的基本操作

#include <stdio.h>#include <stdlib.h>//设计节点struct list_node{ int data; struct list_node *next; struct list_node *prev;};struct list_node *init_list_head(){ //1. 为头节点申请空间。 struct list_node *head = malloc(sizeof(struct list_node));

2021-05-07 19:53:57 571

原创 vscode背景设置

在这里插入代码片{ "editor.fontSize": 18, "update.enableWindowsBackgroundUpdates": true, "background.customImages": [ "file:///E:/1.png" ], "background.style": { "content": "''", "pointer-events": "none",

2021-04-22 20:07:45 126

原创 双向链表,触控屏切换图片、删除图片。

#include <stdio.h>#include <stdlib.h>#include <string.h>#include <sys/types.h>#include <dirent.h>#include <unistd.h>#include <linux/input.h>#include <sys/stat.h>#include <fcntl.h>#include <s

2021-04-21 15:00:49 334

原创 小玩具,信息管理系统,双向链表,IO。

#include <stdio.h>#include <sys/types.h>#include <sys/stat.h>#include <fcntl.h>#include <dirent.h>#include <error.h>#include <unistd.h>#include <stdlib.h>#include <string.h>/*第一条链表结构体*/struct

2021-04-09 13:58:59 69

原创 映射,实现图片的缩放和位置变换。

#include <stdio.h>#include <error.h>#include <string.h>#include <sys/stat.h>#include <sys/types.h>#include <sys/mman.h>#include <unistd.h>#include <fcntl.h>int showbmp(char *bmppath, int n);int mai

2021-04-02 14:10:19 169

原创 多线程使用,小球和滑动木板,pthread.h(随后加木板接小球)

#include<stdio.h>#include<string.h>#include<stdlib.h>#include<sys/types.h>#include<sys/stat.h>#include<error.h>#include<linux/input.h>#include<unistd.h>#include<sys/mman.h>#include<pthread.h

2021-04-02 08:50:40 243

原创 使用目录IO实现文件的检索,readdir 和 opendir

#include <stdio.h>#include <error.h>#include <string.h>#include <sys/types.h>#include <dirent.h>/*函数的声明*/ //要在哪里检索的路径名字 要检索的文件名字int My_Find_File(char * obj_path, char * obj_file);int main(int argc,

2021-04-02 08:42:00 175

原创 标准IO,实现文件内容拷贝 fread 和 fwrite。

使用fread 和 fwrite实现拷贝#include <stdio.h>#include <error.h>#include <unistd.h>#include <sys/types.h>#include <sys/stat.h>#include <fcntl.h>#include <string.h>#include <stdlib.h>int main(int argc, char

2021-03-31 18:57:21 212

原创 标准IO,实现文件内容字符拷贝 fputc和fgetc fputs和fgets

1、fputc和fgetc#include <stdio.h>#include <error.h>#include <unistd.h>#include <sys/types.h>#include <sys/stat.h>#include <fcntl.h>#include <string.h>#include <stdlib.h>int main(int argc, char *argv[

2021-03-31 18:54:02 89

原创 标准IO,实现文件内容字符拷贝 fwrite和 fread

#include <stdio.h>#include <error.h>#include <unistd.h>#include <sys/types.h>#include <sys/stat.h>#include <fcntl.h>#include <string.h>#include <stdlib.h>int main(int argc, char *argv[]){ if(ar

2021-03-31 18:23:09 101

原创 关于触控屏的相关应用,触控屏幕,分屏显示颜色。

灵活运用压力系数 0 和 1 的区别即可实现在代码中尽量嵌套在同一个循环中,以免发生意料之外的错误。#include<stdio.h>#include<error.h>#include<sys/types.h>#include<sys/stat.h>#include<unistd.h>#include<fcntl.h>#include<linux/input.h>#include<string.h&

2021-03-30 19:56:06 466

原创 关于触控板的相关应用,小木块滑动(注释解开有小球滑动)

#include<stdio.h>#include<error.h>#include<sys/types.h>#include<sys/stat.h>#include<unistd.h>#include<fcntl.h>#include<linux/input.h>#include<string.h>#include<sys/mman.h>#include<math.h>

2021-03-30 19:53:03 135

原创 结构体指针的使用,文件IO实现文件拷贝的操作。

关于结构体指针,文件IO实现文件拷贝的操作。#include<stdio.h>#include<error.h>#include<stdlib.h>#include<string.h>#include<unistd.h> //write 文件#include<sys/types.h> //IO函数文件#include<sys/stat.h>#include<fcntl.h> ///

2021-03-30 10:54:42 135

原创 在背景图上使圆运动,并调整圆运动速度。

**在背景图上使圆运动,并调整圆运动速度(标志位)**代码如下:#include<unistd.h>#include<fcntl.h>#include<string.h>#include<stdio.h>#include<sys/mman.h>#include<math.h>#include<linux/input.h>#include<sys/stat.h>#include<sy

2021-03-30 10:16:15 100

OpenSSL-Win32.zip

适用于qt、c++、c等的第三方加密库,可直接使用接口,有目前较流行的加解密算法Des、sha256、Hex等。

2021-10-09

demo.rar线程池、文件io拷贝

本项目主要功能是实现两个文件之间的拷贝操作,是一款高效、快速、稳定的linux程序。该项目使用了线程池进行多线程文件快速的拷贝,可同时复制不同的文件,在不同情况下和不同文件类型的文件以及多重嵌套的文件,该程序都能完美的进行拷贝。用户在使用时,需要输入两个参数,第一个是必须存在的复制对象,第二个是复制到哪个文件或目录当中的参数。

2021-05-07

航空购票系统阶段项目一未分割.rar

里面有一套较完整的航空购票系统,可直接运行,也可以在ARM开发板上运行,有更多功能。

2021-04-21

arm-linux-gnueabi-4.5.1.tar.bz2

交叉编译工具链4.5.1

2021-04-21

makefile,快速编译代码块文件操作

使用makefile快速编译文件,先将makefile文件放在项目文件目录下(放在最外面),根据makefile里面所定义的各种文件名,创建bin、lib、include、src等文件夹,在include里面放入“xxx.h”文件,在src里面放入分割封装的函数"xxx.c"文件,先执行make clean清除多余文件,再make编译.o文件,然后输入:make bin/project 创建可执行文件,将bin中的project拖出目录,最后将当前文件中lib的.so文件复制到 根目录下 /lib中,就可以./project执行文件,运行代码了·~~

2021-04-21

航空购票小系统.rar

基于ARM的航空购票系统,小小型项目,可供学习参考,功能多,可改代多。有makefile,可执行文件在bin中, ./project

2021-04-20

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除