2020年10月28日
Linux 公社 使用Nemiver调试器来调试 C/C++ 程序 V2EX Linux 下有什么好的调试 C 的工具吗? 不过还是需要学习 gdb,被鄙视了。。。……
阅读全文
2020年10月28日
GitChat Linenoise:C 命令行处理工具 知乎 【解锁】Linenoise——C命令行处理工具 GitHub antirez/linenoise……
阅读全文
2020年10月24日
技能列表 二维码 正常的二维码拥有三个定位点 jar 文件的运行 java -jar xxx.jar jar 反编译 工具:jd-gui base64 看到一堆字母,且结尾是 = ,很有可能是 base64 加密后的 unzip 可以解……
阅读全文
2020年10月23日
CSDN C标准库参考指南系列译文(1)assert.h 码农网 C 标准库 - <stdio.h> W3C school C 标准库 – <stdlib.h> 每个函数都有例程 简单教程 C 语言标准库 - <stdio.h> 每个函数都有例程 自……
阅读全文
2020年10月23日
实参和形参 实际参数是具体的值,该值要被赋给作为形式参数的变量。 形参无法改变实参 因为被调函数使用的值是从主调函数中拷贝而来的,所以无论被调函数……
阅读全文
2020年10月23日
OperatingChannelBandwidth 在 GUI 上设置 2.4G 为40MHz,抓包看到 HT Capability Info 显示是 1:Both 20MHz and 40MHz Operation is Supported 是正常的,但是注意,这里是 Operation BW,并不是 Current BW,也就是说,支持设置到……
阅读全文
2020年10月22日
tree liyongjun@Box:~/project/c/app$ ls main.c Makefile Makefile.inc main.c #include <stdio.h>#include <unistd.h>int main(int argc, char *argv[]) { int i = 0; while(1) { printf("hello world %d\n", i++); fflush(stdout); sleep(1); } return 0; } Makefile.inc all: gcc main.c -o main clean: rm main Makefile include Makefile.inc 执行 liyongjun@Box:~/project/c/app$ make gcc main.c -o main liyongjun@Box:~/project/c/app$ ./main hello world 0 hello world 1 hello world 2 ^C liyongjun@Box:~/project/c/app$ make clean rm main liyongjun@Box:~/project/c/app$ Makefile……
阅读全文
2020年10月22日
操作 liyongjun@Box20:~/hugoblog/content/post$ sudo ifconfig enp0s3 192.168.1.2 liyongjun@Box20:~/hugoblog/content/post$ ifconfig enp0s3: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500 inet 192.168.1.2 netmask 255.255.255.0 broadcast 192.168.1.255 inet6 fe80::aaa0:2af8:112b:1e1d prefixlen 64 scopeid 0x20<link> ether 08:00:27:85:f8:ea txqueuelen 1000 (以太网) RX packets 64420 bytes 24432321 (24.4 MB) RX errors 0 dropped 0 overruns 0 frame 0 TX packets 14663 bytes 1764564 (1.7 MB) TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0 lo: flags=73<UP,LOOPBACK,RUNNING>……
阅读全文
2020年10月22日
参考 【Linux应用编程】基于UNIX域套接字的进程间通信……
阅读全文