C语言 可变数组 #include<stdio.h> #include<stdlib.h> #include<string.h> typedef struct{ int* array; int size; }Array;
C语言 带参数宏 预编译器 #include<stdio.h> #define PRETYY_PRINT(msg) printf(msg); int main(void){ PRETYY_PRINT("doi with lucky"); return 0; }
Espressif 乐鑫IDF 使用简述 Requirements git clone the IDF.git ./install.sh source export.sh Get-starts cp the Template projects idf.dy set-target [esp32|esp32s3|...] idf.dy menuconfig idf.dy build
Espressif 乐鑫IDF idf.py flash log Log details idf.py -p /dev/ttyUSB0 flash Executing action: flash Running make in directory /home/jacky/esp32/hello_world/build Executing "make -j 14 flash"... [ 0%] Built target memory_ld [ 0%] Built target partition_table_bin [ 0%] Built target custom_bundle
Ubuntu (Debian) Debian packages for ROS 2 {DISTRO_TITLE_FULL} are currently available for Ubuntu Focal.
C++ 预处理器 #define PI 3.1415926 //普通宏定义 #define Max(a,b) ((a>b)?(a):(b)) //带参宏定义 条件编译 #ifdef NULL #define NULL 0 #endif