文件名称:zmknne
介绍说明--下载内容来自于网络,使用问题请自行百度
单链表的反转 运行此程序后,你可以输入若干个数字,每输入一个数字,系统在链表中开辟一个新的结点,并把新输入的数字插入到链表的表头。运行主函数时,首先调用CreateList_L(L,n)函数,建立一个链表,并输入数据,然后最后调用输出函数,显示建立链表后链表内的内容;再调用反转函数,把链表中的数字在此链表中反转,最后调用输出函数,显示反转后的链表内的内容,可以显示出调用反转函数后,链表内的数据都进行了反转。 -reversal run this program, you can import a number of figures, one for each input figures, Linklist system in the opening of a new node, and the number of new Chain inserted into the table first. Running main function, the first call CreateList_L (L, n) function, the establishment of a linked list, and the input data, and then output the final call function, indicated after the establishment List List of contents; another called inversion function, Listless put the figures in this Linklist reversal, the final output function call, showing the flip List the contents, can show called inversion function, the Chain of data for the inversion.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
include.doc
www.dssz.com.txt
www.dssz.com.txt
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.