Description: To achieve the basic operation of the order form (the final submission .Cpp )
Program requirements:
First, the definition of the type of the order table is given.
The algorithm function definition of the following basic operation of the order table is given.
Construct an empty linear list: InitList_Sq (&L SqList)
Insert the new element e:ListInsert_Sq (&L SqList, I int,, e ElemType, L) before the first I of the sequence table.
Removes the first I element in the sequence table L and returns its value with ListDelete_Sq: e (&L SqList, I int, &e ElemType).
To achieve the following functions defined in the new operation:
Create a sequence table with the help of ListInsert_Sq operations: ListCreate_Sq (?)
Calculate the length of the linear table: ListLength_Sq (?)
All the elements in the print order table: ListPrint_Sq (?)
Among them, please add the appropriate parameter table
Call the function in the main function to test, give the test results screenshot
To Search:
File list (Check if you may need any files):
xianxingbiao.cpp