Hot Search : Source embeded web remote control p2p game More...
Location : Home Search - program list.l
Search - program list.l - List
DL : 0
单链表的反转 运行此程序后,你可以输入若干个数字,每输入一个数字,系统在链表中开辟一个新的结点,并把新输入的数字插入到链表的表头。运行主函数时,首先调用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.
Date : 2008-10-13 Size : 3.41kb User :

DL : 0
单链表的反转 运行此程序后,你可以输入若干个数字,每输入一个数字,系统在链表中开辟一个新的结点,并把新输入的数字插入到链表的表头。运行主函数时,首先调用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.
Date : 2025-12-16 Size : 3kb User :
CodeBus is one of the largest source code repositories on the Internet!
Contact us :
1999-2046 CodeBus All Rights Reserved.