上一页 1 2 3 4 5 6 7 8 ··· 108 下一页
摘要: Meld Visual diff and merge tool Meld helps you compare files, directories, and version controlled projects. It provides two- and three-way comparison 阅读全文
posted @ 2023-09-12 09:34 jiftle 阅读(107) 评论(0) 推荐(0) 编辑
摘要: 示例代码 首先看一下测试代码的全貌: mylib:只有一个源文件,编译输出一个动态库; myapp:也只有一个源文件,链接 mylib 动态库,编译输出一个可执行程序; mylib 在mylib目录中,一共有3个文件:mylib.h, mylib.c 以及 CMakeLists.txt,内容分别如下 阅读全文
posted @ 2023-09-09 17:30 jiftle 阅读(47) 评论(0) 推荐(0) 编辑
摘要: GCC实现多文件编译,静态库,动态库 一 代码 //add.h int add(int a, int b); //add.c int add(int a, int b) { return a+b; } //main.c #include <stdio.h> #include "add.h" void 阅读全文
posted @ 2023-09-02 16:02 jiftle 阅读(134) 评论(0) 推荐(0) 编辑
摘要: 新建规则文件,GROUP表示用户组. id 查看用户 ```bash $ id uid=1000(huanhe) gid=1000(huanhe) 组=1000(huanhe) $ cat /etc/udev/rules.d/xxx_printer.rules SUBSYSTEM=="usb", A 阅读全文
posted @ 2023-09-01 15:11 jiftle 阅读(222) 评论(0) 推荐(0) 编辑
摘要: 云无月 .NET / Unity3D / Python 位图(Bitmap)格式其实并不能说是一种很常见的格式(从我们日常的使用频率上来讲,远不如 .jpg .png .gif 等),因为其数据没有经过压缩,或最多只采用行程长度编码(RLE,run-length encoding)来进行轻度的无损数 阅读全文
posted @ 2023-08-29 18:34 jiftle 阅读(62) 评论(0) 推荐(0) 编辑
摘要: GetLastError的返回值的含义: (0)-操作成功完成。 (1)-功能错误。 (2)- 系统找不到指定的文件。 (3)-系统找不到指定的路径。 (4)-系统无法打开文件。 (5)-拒绝访问。 (6)-句柄无 效。 (7)-存储控制块被损坏。 (8)-存储空间不足,无法处理此命令。 (9)-存 阅读全文
posted @ 2023-08-25 16:58 jiftle 阅读(392) 评论(0) 推荐(0) 编辑
摘要: 资料来源于网络,仅供个人学习使用。1. RGB色彩模式 自然界中绝大部分的可见光谱可以用红、绿和蓝三色光按不同比例和强度的混合来表示。RGB分别代表着3种颜色:R代表红色,G代表绿色、B代表蓝色。RGB模型也称为加色模型,通常用于光照、视频和屏幕图像编辑。 RGB色彩模式使用RGB模型为图像中每一个 阅读全文
posted @ 2023-08-25 14:27 jiftle 阅读(501) 评论(0) 推荐(0) 编辑
摘要: ![](https://img2023.cnblogs.com/blog/137928/202308/137928-20230823182207740-2137674912.png) 仓库地址: https://github.com/go-astilectron-demo-crypt_tools 阅读全文
posted @ 2023-08-23 18:24 jiftle 阅读(72) 评论(0) 推荐(0) 编辑
摘要: 使用windows api调用系统打印机打印图片,基本思路是获得打印机的DC然后在DC上绘制。 ## 好处 - 不需要依赖厂家提供的库 ## 关键点 - 打印机脱机状态判断 - 打印机的纸张尺寸 ## 源码 ```c++ // syscallprinter.cpp : 定义 DLL 的初始化例程。 阅读全文
posted @ 2023-08-22 17:47 jiftle 阅读(38) 评论(0) 推荐(0) 编辑
摘要: 原文: https://www.cnblogs.com/15157737693zsp/p/6015402.html 前言 CImage类是基于GDI+的,但是这里为什么要讲归于GDI? 主要是基于这样的考虑: 在GDI+环境中,我们可以直接使用GDI+ ,没多少必要再使用CImage类 但是,如果再 阅读全文
posted @ 2023-08-16 19:18 jiftle 阅读(8) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 8 ··· 108 下一页