Description: Define an int type elements posed by the linear form class LinearList, it has the following member functions: bool insert (int x, int pos) // at position pos should be inserted after an element x.// pos is 0, the first element inserted before.// Operation successful returns true, otherwise returns false. bool remove (int & x, int pos) // Remove the element at position pos.// Operation successful returns true, otherwise returns false. int element (int pos) const // return the element at position pos. int search (int x) const // Find the element value of x, returns the element position (the location of the first element is 1). Not found returns 0. int length () const // return number of elements.
To Search:
File list (Check if you may need any files):
o1\Debug\o1.exe
..\.....\o1.ilk
..\.....\o1.obj
..\.....\o1.pch
..\.....\o1.pdb
..\.....\vc60.idb
..\.....\vc60.pdb
..\o1.cpp
..\o1.dsp
..\o1.dsw
..\o1.ncb
..\o1.opt
..\o1.plg
..\Debug
o1