![](https://img-blog.csdnimg.cn/20201014180756926.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
嵌入式C
choujayyl
linux 3级
展开
-
win10下开发Qt ARM应用
0.安装好mingw环境1.交叉编译mingw板Qt for Embedded。编译命令:^是batch换行符 2.配置好交叉编译器原创 2022-07-12 16:05:03 · 644 阅读 · 1 评论 -
C语言 lamda使用
前提:GNU C语法 实现: 1.定义宏 #define lambda(RType, Body) ({ RType __fn__ Body; __fn__; }) 2.例子 #include <stdio.h> #define lambda(RType, Body) ({ RType __fn__ Body; __fn__; }) void baz(void(*fn)(int),int x) { fn(x); } void fo...原创 2021-11-12 09:33:20 · 908 阅读 · 0 评论