正在加载图片...
待排序数据表的类定义 ifndef datalist h #define datalist h Include <iostream.> const int Defaultsize=100; template <class Type> class datalist i template <class Type> class Element t private: Type keys ∥关键码 field otherdata;∥其它数据成员 public: Element(: keyO), otherdata( NULD#ifndef DATALIST_H #define DATALIST_H #include <iostream.h> const int DefaultSize = 100; template <class Type> class datalist { template <class Type> class Element { private: Type key; //关键码 field otherdata; //其它数据成员 public: Element ( ) : key(0), otherdata(NULL) { }
<<向上翻页向下翻页>>
©2008-现在 cucdc.com 高等教育资讯网 版权所有