info

helpful links

labs

debugging and compiling

For debugging, when printf's just won't do, there's gdb--very handy for tracing through a program. For compiling we use the GNU compiler, gcc. A couple of handy switches for gcc:

Makefiles make life much easier--they will sometimes be provided for the labs. Here's a sample makefile for lab 1. Check out the GNU documentation site at www.gnu.org/manual for info on gdb, gcc and make.

In most labs you will be using Dr. Plank's Dllist, Jval, and JRB-tree libraries. We have provided static libraries for you to link against under ~cs560/lib. Browse around there and see what you can find.

submitting

To submit a lab:

  1. Create a fresh directory and place your source files, makefile and README (if necessary) there.
    DO NOT include .o files, test files, executables or any other extraneous files.
  2. From this directory, run the submit script:
    UNIX> 560_submit
  3. You will be asked if this is the correct directory and then prompted for the section number and lab number. Once you enter these, your directory will be submitted.
  4. You will receive a confirmation email promptly.

Please note...

style guidelines

All lab source code must adhere to the following style guidelines or points will be deducted. Please feel free to see any of the TAs if you have questions or are unsure your source code is conforming properly.

grading guidelines

For maximum credit, your lab should (at least) ...

Late Labs
Try to avoid late labs at all costs--they cost you 10 points per day plus being a pain for me to keep up with. A key to doing well in this course is to start early on lab assignments and stay ahead of the game.

advice