C M S C 2 1 4
C o m p u t e r S c i e n c e I I
S p r i n g 2 0 0 4
|
Project #0 Checklist
Posted: January 17, 2004
There may be updates (including makefile, and a few reminders
before submitting).
Changing your finger info means if someone
types in your bt214xxx id they whould
see:
in real life: Sara
Student
where your name would appear there (instead
of Sara's name)
Make certain you got rid of as many warnings or infos as possible. Points
are deducted for these.
Do not put any of your files in a subdirectory before
tarring them.
You must submit the following files:
- .h files - with no changes above the 2nd
"private:" at the bottom of the file
- Node.h
- Vector.h
- Iterator.h
- .cpp files
- Node.cpp
- Vector.cpp
- Iterator.cpp
- main.cpp
- testNode.cpp
- testVector.cpp
- testIterator.cpp
- primary.input
Makefile
- Use macros, please! We should see things like:
CC = cxx
CFLAGS = -w0 -std strict_ansi -c
at the top of your makefile. Read the tutorial (click on
Tutorial on main webpage) for an example.
- Your first target should be p0
- Add testNode.o, testVector.o
and testIterator.o to your dependencies for p0,
but
DON'T LINK THEM TO YOUR EXECUTABLE. Only link the .o files
needed by p0.
- You need to have lines to compile each of these .o files
with the -c options.
- When make p0 is called it creates the executable as
well as testNode.o, testVector.o
and testIterator.o.
- If you haven't written these test classes, then don't
generate the .o files for them. Create only the ones that you
wrote (which compile).
Reminders
- Did you use out main.cpp to get primary.output?
- Did you add the correct comments to the top of each .cpp
file? (See Style Guide)
- Did you test your files?
- Make a temporary directory
- copy your tar file
- untar it
- run make
- copy the primary input and output
- run your program with primary.input
- save the output
- diff the results with our primary.output
- check to see that only blank lines differ, before submitting it.
- Is your executable called p0?
- Does your Makefile create .o files and LINK .o files?
See the class syllabus for policies concerning email
Last Modified:
January 17, 2004
|
|
|
|
|
|
Web Accessibility