添加存储和修改变量

发现要处理结构体相关数据的存储,
还是要存储原始byte数据要好处理一些
是否需要把所有变量的存储都改为存储原始byte数据
浮点数好像不好处理
This commit is contained in:
ranchuan
2024-12-03 17:23:22 +08:00
parent dac9dad45d
commit eaf0de74cc
5 changed files with 222 additions and 28 deletions

15
main.c
View File

@@ -1,6 +1,8 @@
// #include "limits.h"
// 行注释
struct _struct_a;
@@ -13,8 +15,6 @@ struct _struct_a /* 块注释 */ {
};
enum _enum_a;
enum _enum_a {
@@ -22,13 +22,14 @@ enum _enum_a {
Enum1,
Enum2,
};
int a = sizeof(enum _enum_a);
// 暂不支持匿名枚举类型
// enum {
// Enumb0=0,
// Enumb1,
// Enumb2,
// };
enum _enum_b{
Enumb0=0,
Enumb1,
Enumb2,
};
union _union_a {