首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 开发语言 > C++ >

单链表的类型定义中的node是什么?解决办法

2012-02-26 
单链表的类型定义中的node是什么?#includestdio.h typedefintElemTypetypedefintnode{ElemTypedatastr

单链表的类型定义中的node是什么?
#include   "stdio.h "
typedef   int   ElemType;
typedef   int   node{
                                          ElemType   data;
                                          struct   node   *next;

                                  }slink;
在上面C语言定义的单链表的类型中node是结构体名还是记录名.还是什么?
请示各位大鸟帮帮忙.

[解决办法]
node是结构体名,struct node *next这个node是表示*next返回node类型,不知道对不哈

热点排行