Chinaunix首页 | 论坛 | 博客
  • 博客访问: 335821
  • 博文数量: 72
  • 博客积分: 2130
  • 博客等级: 大尉
  • 技术积分: 857
  • 用 户 组: 普通用户
  • 注册时间: 2008-09-05 16:10
文章分类

全部博文(72)

文章存档

2010年(5)

2009年(14)

2008年(53)

分类: C/C++

2008-10-06 11:35:48

typedef struct dnode
{
        int data;
        struct dnode *prior;
        struct dnode *next;
}DNode;

void printDNode(DNode *head)
{
        DNode *p = NULL;
        for(p=head->next; p!=NULL; p=p->next)
                printf("%4d",p->data);
        printf("\n");

}

阅读(636) | 评论(0) | 转发(0) |
0

上一篇:双链表的创建

下一篇:双链表的插入

给主人留下些什么吧!~~