struct结构体在C/C++中的定义和使用
struct在C/C++中的定义和使用文章目录struct在C/C++中的定义和使用CC++结构体中的三部分, 根据下面123项的有无, 还有区分C/C++分类讨论typedef① struct A②{...}B③;C/** * @file have1_without23.c */#include "stdio.h"int main(){ typedef struct { int x; int y; }; return
原创
2021-03-26 16:42:46 ·
2181 阅读 ·
1 评论