摘要: 单向链表实例 链表结构:需要增加数据再增加,不用先定义内存 #include <stdio.h> #include <string.h> #include <stdlib.h> //单向链表,结构体 struct Node //结构体节点 { char Bookname[50]; //书名 int 阅读全文
posted @ 2021-03-02 22:03 包子TT 阅读(239) 评论(0) 推荐(0)
摘要: 结构体 #include <stdio.h> #include <stdlib.h> #include <string.h> int main() { struct GamePlayerInfo //声明一个结构体,例如游戏中的一个结构体例子 { char name[50]; //人物名字 int 阅读全文
posted @ 2021-03-02 00:51 包子TT 阅读(206) 评论(0) 推荐(0)