. . . . . . . . . ( end of section Reference) <<Contents | End>>
cd cs201
mkdir lab08
cd lab08
Download each of the following. [ plot.h ] [ plot.cpp ] [ graph.cpp ] [ makefile ] into your cs201/lab08
make
gedit graph.cpp &or remotely (or if you are doing a CSE major) you should try out the 'vi' editor I use in class. First run this command
Q noviceand then you can edit files like this
vi graph.cppand tapping the letter 'q' will compile and run the program...
You can edit a makefile just like any other file.
Add some recipes to this lab's makefile. Hint -- copy the examples already there and change the names of the files.
Test the program and makefile.
. . . . . . . . . ( end of section Process) <<Contents | End>>