This lab shows the obvious differences between Java and C++. And, it ensures that you are comfortable using the tools for compiling C++ programs. Finally, it introduces some elementary C++ language features.
~cs342/bin/lab1. That will copy several files to a new
lab1subdirectory. You don't need the java (they are used for the Alternate Lab 1, so you can remove them). Then, copy over your CS 241 Lab 2 or Lab 3 files.
NOTE: If you're a CEC Unix machine, you must
java_1.2. (Or maybe java2, but we haven't tested
out.javafor the Java Skip List implementation.
out.c++for your C++ implementation.
java skiplist > out.java
readme. List how extensively the original implementation needed to be changed and point out what the most troublesome parts were. These files will be submitted automatically when you execute the command:
All the appropriate files (including readme - with your written description) will be automatically sent to the cs342 graders account.
NOTE: We require that you test what it will actually send. There is a Makefile target that allows you to test what you are going to turn in:
It places the output that will be turned in into the
TEST_TURNIN directory. Please use
test_turnin, and verify that the files that you will submit are