09 2023 档案
摘要:Meld Visual diff and merge tool Meld helps you compare files, directories, and version controlled projects. It provides two- and three-way comparison
阅读全文
摘要:示例代码 首先看一下测试代码的全貌: mylib:只有一个源文件,编译输出一个动态库; myapp:也只有一个源文件,链接 mylib 动态库,编译输出一个可执行程序; mylib 在mylib目录中,一共有3个文件:mylib.h, mylib.c 以及 CMakeLists.txt,内容分别如下
阅读全文
摘要: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
阅读全文
摘要:新建规则文件,GROUP表示用户组. id 查看用户 ```bash $ id uid=1000(huanhe) gid=1000(huanhe) 组=1000(huanhe) $ cat /etc/udev/rules.d/xxx_printer.rules SUBSYSTEM=="usb", A
阅读全文