数据结构学习(C++)——双向链表[3]

[入库:2005年8月18日] [更新:2007年3月25日]

本文简介:选择自 happycock 的 blog

              if (pget() != null) return &pget()->data.data;

              else return null;

       }

 

       type *next()

       {

              pnext();

              return get();

       }

 

       type *prior()

       {

              if (pgetprior != null)

              {

                     put(pgetprior());

                     putprior( (node< node<type> >*)pget()->data.link);

                     return get();

              }

              return null;

本文关键:数据结构 C++ 双向链表
  相关方案
Google
 

本站最佳浏览方式为 分辨率 1024x768 IE 6.0(或更高版本的 IE浏览器)

go top