正在自学数据结构,有很多问题不懂,望高手们能赐教
设计单链表的结点结构:typedef int elementype;
typedef structnode
{
elemtype data;
struct noda next;
}linklist;
不明白为什么要这一步:typedef int elementype;
定义data的时候不能直接这样嘛:int data;
我才刚学,很菜的,多多指导哦!先谢啦!
2010-03-14 12:27
这样只是为了更形象啊
2010-03-14 14:20
2010-03-14 14:45
2010-03-14 18:35
2010-03-15 12:23
2010-03-16 22:07
2010-03-16 23:06
2010-03-22 19:09
2010-03-23 22:43
2010-03-24 20:52