#include <stdio.h> #include <stdlib.h> typedef struct sf { int n; char c; } fc; //定义结构体sf,给他起个别名fc int main ( int argc, char *argv[] ) { int i = 0; struct sf xx[
结构体数组, 动态申请结构体数组
最新推荐文章于 2024-02-02 19:48:42 发布
#include <stdio.h> #include <stdlib.h> typedef struct sf { int n; char c; } fc; //定义结构体sf,给他起个别名fc int main ( int argc, char *argv[] ) { int i = 0; struct sf xx[