标题:线性表的实现问题,急???
只看楼主
perfume
Rank: 1
等 级:新手上路
帖 子:51
专家分:7
注 册:2007-7-24
结帖率:25%
 问题点数:0 回复次数:0 
线性表的实现问题,急???
public void Append(GmiddleCode Dot1)
        {
            if (Listcount == 0)
            {
                Head = Dot1;
                Tail = Dot1;
               
               
            }
            else
            {
                Tail.Next = Dot1;
                Dot1.Pre = Tail;
                Tail = Dot1;
               
            }
            Cur = Dot1;
            Listcount++;
        }
这个怎么不对,Head总指向最后一个
搜索更多相关主题的帖子: 线性 
2010-04-27 14:29



参与讨论请移步原网站贴子:https://bbs.bccn.net/thread-304575-1-1.html




关于我们 | 广告合作 | 编程中国 | 清除Cookies | TOP | 手机版

编程中国 版权所有,并保留所有权利。
Powered by Discuz, Processed in 0.289281 second(s), 8 queries.
Copyright©2004-2024, BCCN.NET, All Rights Reserved