读书人

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

发布时间: 2012-02-26 20:19:45 作者: rapoo

单链表的类型定义中的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类型,不知道对不哈

读书人网 >C++

热点推荐