会员
周边
众包
新闻
博问
闪存
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
linux-learn
博客园
首页
新随笔
联系
订阅
管理
1
2
3
4
5
···
12
下一页
2025年6月
printf输出格式
摘要: %d 十进制有符号整数 %u 十进制无符号整数 %f 浮点数 %s 字符串 %c 单个字符 %p 指针的值 %e 指数形式的浮点数 %x, %X 无符号以十六进制表示的整数 %o 无符号以八进制表示的整数 %g 把输出的值按照 %e 或者 %f 类型中输出长度较小的方式输出 %p 输出地址符 %lu
阅读全文
posted @ 2025-06-27 19:07 *^VV^*
阅读(1)
评论(0)
推荐(0)
2025年5月
ESP32 IDF常用命令
摘要: 1、创建工程 idf.py create-project --path <project name> 2、创建组件 idf.py create-component <component name> 3、设置芯片 idf.py --list-targets //命令查看支持的芯片类型 idf.py s
阅读全文
posted @ 2025-05-10 11:12 *^VV^*
阅读(39)
评论(0)
推荐(0)
2025年1月
mplayer播放标准输入音视频
摘要: 播放标准输入视频 cat ftest.mp4 | mplayer -zoom -x 320 -y 240 -vo x11 -cache 3000 - > /dev/null cat test.mp4 将文件内容输出到标准输出,然后通过管道 | 传递给 mplayer,其中 -zoom -x 320
阅读全文
posted @ 2025-01-16 20:08 *^VV^*
阅读(10)
评论(0)
推荐(0)
压力单位换算
摘要: 1MPa = 1000KPa = 1000000Pa 1bar = 0.1Mpa 1MPa相当于100米水压 1bar相当于10米水压
阅读全文
posted @ 2025-01-08 08:04 *^VV^*
阅读(95)
评论(0)
推荐(0)
简易动态进程池
摘要: /************proto.h********************/ #ifndef __PROTO_H__#define __PROTO_H__ #define FORMAT "%ld\n"#define MINIDLEPROCNUM 5#define MAXIDLEPROCNUM
阅读全文
posted @ 2025-01-07 10:37 *^VV^*
阅读(4)
评论(0)
推荐(0)
2024年12月
vim多文件切换快捷键
摘要: 1、打开多个文件 vim * -p 2、文件切换 g+t依次切换
阅读全文
posted @ 2024-12-26 20:55 *^VV^*
阅读(32)
评论(0)
推荐(0)
2024年11月
C语言跨函数安全跳转(setjmp/longjmp)
摘要: #include <stdio.h>#include <stdlib.h>#include <setjmp.h> static jmp_buf env; void d(void){ fprintf(stdout,"%s\n",__func__); fprintf(stdout,"d end\n");
阅读全文
posted @ 2024-11-12 09:55 *^VV^*
阅读(29)
评论(0)
推荐(0)
getopt解析命令行传参
摘要: #include <stdio.h>#include <stdlib.h>#include <unistd.h>#include <string.h>#include <time.h> #define STRLENTH 1024 int main(int argc, char **argv){ in
阅读全文
posted @ 2024-11-12 09:19 *^VV^*
阅读(12)
评论(0)
推荐(0)
2024年10月
AD常用快捷键
摘要: 1、SC选中整条line 2、SN选中整个net 3、SL鼠标左键拖动选择经过的线和器件 4、PCB元器件搜索JC
阅读全文
posted @ 2024-10-24 14:58 *^VV^*
阅读(134)
评论(0)
推荐(0)
2024年9月
QColorDialog创建及指定显示位置
摘要: QColorDialog cdg; int windowWidth = cdg.geometry().width(); int windowHeight = cdg.geometry().height(); cdg.move((screenWidth-windowWidth)/2+150 ,(scr
阅读全文
posted @ 2024-09-13 08:44 *^VV^*
阅读(18)
评论(0)
推荐(0)
1
2
3
4
5
···
12
下一页
公告