Example of use
#include <iostream.h>
#include “linearList.h”
void main()
{
linearList <int> L(5);
L.insert(0,2);
L.insert(1,6);
int z;
L.find(1,z);
cout << “First element is ” << z << endl;
L.delete(1,z);
cout << “Deleted element is ” << z << endl;
}
Previous slide
Back to first slide
View graphic version