摘要: C语言结构体的多态特性 只需要把结构体的第一个属性做为类型判断即可 //普通用户 Typedef struct user{ char type; Char *name; } //会员 Typedef struct member{ char type; Char *name; } //把上面的结构体作 阅读全文
posted @ 2021-01-17 15:47 方东信 阅读(302) 评论(0) 推荐(0) 编辑