#include <stdio.h> #include <string.h> #include <stdlib.h> #include <malloc.h> /*包含动态内存分配函数的头文件*/ #define N 5/*N为人数*/ typedef struct node { char nam
(1) struct{ int x; int y; }test1; 好,定义了 结构 test1, test1.x 和 test1.y 可以在语句里用了。 (2) struct test {int x; int y; }test1; 好,定义了 结构 test1, test1.x 和 test1.y 可以在语句里用了。 与 1 比,省写 了 test (3) ty
Copyright © 2005-2025 51CTO.COM 版权所有 京ICP证060544号