- J2ME_API_Quick_Check_Guide_V0 J2ME API速查手册:Java is a trademark or registered trademark of Sun Microsystems
- testUSB 使用vc++检测USB设备的程序
- A-survey-of-spectrum-sensing-algorithms-for-cogni The spectrum sensing problem has gained new aspects with cognitive radio and opportunistic spectrum access concepts. It is one of the most challenging issues in cognitive radio systems. In this paper
- MD5 加密解密 算法C++实现
- double-tank-system 对双容水箱从机理建模到电路仿真
- 110325dj9p6ik6j9iniiii STM32实时时钟功能的标准库实现首先是bsp驱动
文件名称:Ex1
-
所属分类:
- 标签属性:
- 上传时间:2012-11-16
-
文件大小:1.87kb
-
已下载:0次
-
提 供 者:
-
相关连接:无下载说明:别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容来自于网络,使用问题请自行百度
public:
List() //构造函数
int size() const //返回链表的长度
bool full() const //返回链表是否已满
bool empty() const //返回链表是否已空
void clear() //清空链表
int retrieve( int position, string &x ) const //获取链表第position位置的元素到x,成功返回0,否则返回-1
int replace( int position, const string &x ) //将链表第position位置的元素换为x,成功返回0,否则返回-1
int remove( int position, string &x ) //获取并删除链表第position位置的元素,成功返回0,否则返回-1
int insert( int position, const string &x ) //将元素x插入到链表第position位置,成功返回0,否则返回-1
protected:
int new_node() //返回链表的数据载体(数组)的可用index,如果链表已满则返回-1
void delete_node( int index) //删除链表数据载体(数组)index位置的元素
int current_position( int index) const //返回链表数据载体(数组)index位置的元素是链表的哪个位置,如果当前位置没有存放数据,则返回-1
int set_position( int position) const //返回链表第position位置的数据所存放的数组index,如果不存在position位置,则返回-1
-public:
List() //构造函数
int size() const //返回链表的长度
bool full() const //返回链表是否已满
bool empty() const //返回链表是否已空
void clear() //清空链表
int retrieve( int position, string &x ) const //获取链表第position位置的元素到x,成功返回0,否则返回-1
int replace( int position, const string &x ) //将链表第position位置的元素换为x,成功返回0,否则返回-1
int remove( int position, string &x ) //获取并删除链表第position位置的元素,成功返回0,否则返回-1
int insert( int position, const string &x ) //将元素x插入到链表第position位置,成功返回0,否则返回-1
protected:
int new_node() //返回链表的数据载体(数组)的可用index,如果链表已满则返回-1
void delete_node( int index) //删除链表数据载体(数组)index位置的元素
int current_position( int index) const //返回链表数据载体(数组)index位置的元素是链表的哪个位置,如果当前位置没有存放数据,则返回-1
int set_position( int position) const //返回链表第position位置的数据所存放的数组index,如果不存在position位置,则返回-1
(系统自动生成,下载前可以参看下载内容)
下载文件列表
Ex1.cpp
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.