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