文件名称:1-1
介绍说明--下载内容均来自于网络,请自行研究使用
逆转顺序表的函数
主函数中定义了一个表mylist01。我们要调用l_def01.cpp中的相关函数对其进行
初始化,
插入10个元素,
然后打印表中各个元素的值,
接下来调用rev_list()函数来逆转之。
最后再次打印表中各个元素的值,以做比较-Reverse the order of the table function main function defines a table mylist01. We want to call l_def01.cpp the correlation function to initialize, insert 10 elements, and then print the value of each element in the table, the next call rev_list () function to reverse it. Finally print again the value of each element in the table, in order to compare
主函数中定义了一个表mylist01。我们要调用l_def01.cpp中的相关函数对其进行
初始化,
插入10个元素,
然后打印表中各个元素的值,
接下来调用rev_list()函数来逆转之。
最后再次打印表中各个元素的值,以做比较-Reverse the order of the table function main function defines a table mylist01. We want to call l_def01.cpp the correlation function to initialize, insert 10 elements, and then print the value of each element in the table, the next call rev_list () function to reverse it. Finally print again the value of each element in the table, in order to compare
(系统自动生成,下载前可以参看下载内容)
下载文件列表
1-1.cpp