文件名称:alogo2-1
介绍说明--下载内容均来自于网络,请自行研究使用
一 ..编写一个程序alogo2-1.cpp,实现顺序表的各种基本运算,并在此基础上设计一个主程序完成如下功能:
(1) 初始化顺序表L
(2) 依次采用尾插法插入a,b,c,d,e元素;
(3)输入顺序表L
(4) 输出顺序表L长度;
(5)判断顺序表是否为空;
(6)输出顺序表的底3个元素;
(7)输出元素a的位置;
(8) 在第4个元素位置上插入f元素;
(9)输出顺序表L
(10)删除表的第3个元素;
(11)输出顺序表;
(12)释放顺序表;
-A.Write a program alogo2-1.cpp, a variety of basic operations in the order table, and on this basis to design a main program performs the following functions:
(1) The initialization sequence table L
(2) followed by the end of interpolation into a, b, c, d, and e-elements
(3) The input sequence tables L
(4) The output sequence table L length
(5) to determine whether the sequence table is empty
(6) of the output sequence table of the end of three elements
(7) The output element of a position
(8) into the f elements in the four elements position
(9) the output sequence table L
(10) delete the first three elements
(11) the output sequence table
(12) to release the order table
(1) 初始化顺序表L
(2) 依次采用尾插法插入a,b,c,d,e元素;
(3)输入顺序表L
(4) 输出顺序表L长度;
(5)判断顺序表是否为空;
(6)输出顺序表的底3个元素;
(7)输出元素a的位置;
(8) 在第4个元素位置上插入f元素;
(9)输出顺序表L
(10)删除表的第3个元素;
(11)输出顺序表;
(12)释放顺序表;
-A.Write a program alogo2-1.cpp, a variety of basic operations in the order table, and on this basis to design a main program performs the following functions:
(1) The initialization sequence table L
(2) followed by the end of interpolation into a, b, c, d, and e-elements
(3) The input sequence tables L
(4) The output sequence table L length
(5) to determine whether the sequence table is empty
(6) of the output sequence table of the end of three elements
(7) The output element of a position
(8) into the f elements in the four elements position
(9) the output sequence table L
(10) delete the first three elements
(11) the output sequence table
(12) to release the order table
(系统自动生成,下载前可以参看下载内容)
下载文件列表
alogo2-1.cpp