添加ReadMe.txt

This commit is contained in:
2024-10-15 00:02:46 +08:00
parent 3cfec2f3eb
commit e2d76585f2

7
ReadMe.txt Normal file
View File

@@ -0,0 +1,7 @@
2024.10.14
c_cpp_properties.json 中
"intelliSenseMode": "linux-gcc-x86",时 sizeof(long)==4
"intelliSenseMode": "linux-gcc-x64",时 sizeof(long)==8
代码分析可以识别数组对齐 #pragma pack(1) 注释这个之后 sizeof 的结构体会按未1字节对齐的来计算