1.线性表接口
namespace DSList { public interface IListDS<T> { int GetLength(); ???????????????//求長度 bool IsEmpty(); ????????????????//判斷線性表是否為空 void Clear(); ??????????????????//清空操作 void Append(T item); ???????????//追加操作 void Insert(int pos, T item); ??//插入操作 T Remove(int pos); ?????????????//刪除操作 T GetElem(int pos); ????????????//取表元 int Locate(T item); ????????????//按值查找 } }
轉載于:https://www.cnblogs.com/anllin/articles/1996642.html
總結
- 上一篇: Linux下编译一个静态链接的程序的注意
- 下一篇: [Win32]一个调试器的实现(六)显示