Homework 4 Notes
If your code compiles without errors and all functions are implemented, you receive a "no-fault" redo.
If you fail to many tests, or completely crash my test driver you will receive a score of 0.
But you can attempt to fix this with homework five.
And I will post my test driver at that point.
You fix your code to the standard of my test driver.
Your redo submission will be part of homework five.
You should test thoroughly enough to find and remove any errors I have discovered in your code.
Because this is part of homework 5, I will not be providing a test driver until after homework 5 is submitted.
I added to my test file to catch infinite loops
Look
here
If your program crashes and messes up colorization
type
reset
at the command line.
I also ran with the flag --catch_system_errors=1
see
this page
Make sure you check
if (this == &other) { return * this; }
See page 240 of your book.
I ran valgrind with --leak-check=full
I made my CompareLIsts function pass the list by value.
This was to preserve the current pointer.
I suspect many of you did not test your copy constructor so you bombed out on this .
Most of you did not set current to be anything in your copy constructors, this caused your code to crash on my first test.