wget
to download the file at http://cs.longwood.edu/courses/cmsc162/f18/files/lab6.tgz
tar -xvzf lab6.tgz
ls
to see that there is a new directory called lab6
cd lab6
to change directory to the lab6 directory
You have been given a files named list.cpp
and LinkedList.h
which contains some of the code you will need.
double get(int index)
void set(int index,double val)
void remove(int index)
void insert(int index,double val)
-- if index is less than zero insert at front -- if index is less than size insert in val before the index -- otherwise add to end
When you are done you need to hand in your lab. The easiest way is to type make handin
.
You lab is due at 11:59pm Oct. 2nd 2018.