Copying files over
Back to the new layout with directories. You'll need to copy over
the
include
and the
src
directories over,
as well as
makefile
. These commands will get you what
you need.
UNIX Command
UNIX> mkdir bin obj
UNIX> cp ~jplank/cs140/Labs/Lab8/makefile .
UNIX> cp -r ~jplank/cs140/Labs/Lab8/include .
UNIX> cp -r ~jplank/cs140/Labs/Lab8/src .
Notice how they aren't written in the lab writeup anymore. This was
intentional. I think you all should understand, by now, how to copy
files over.
Additional Asset (dlist.cpp)
Here's a template file for your code. It outlines the overall
structure of the functions you need to implement.
I also reorder
the functions based on a suggested implementation order in the
notes I linked to above. It compiles by default. Obviously, you
just have to implement the functions from there.
To grab it, either get it from
my server
or from the following command on Hydra/Tesla:
UNIX Command
UNIX> cp ~ssmit285/public/code/dlist_template.cpp src/dlist.cpp