当前位置:
首页 >
1.线性表接口
发布时间:2025/7/14
42
豆豆
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]一个调试器的实现(六)显示