How to handin.
Points : 40
Weight : 3%
Due : Wednesday May 26, 2004 @11:00 PM
Note : Late assignments will be accepted only with the instructor's pre-approval.
With her help, you have designed a dotToDot class which can be found in $L/dotToDot.design. You are to implement the dotToDot class following the design.
Since you do not know how many points there will be in the puzzle, you will need to use a dynamic array of points as a data member. Of course, you realize as you implement the class, that, since it uses dynamic memory, you will need to provide a copy constructor, destructor and overload the assignment operator.
Use the program puzzle.cc, found in $L/puzzle.cc, to test your class.
You are not allowed to change this test program so study it carefully to ensure that you have called your class and functions by the correct names.
You are NOT allowed to use a vector to implement this class, you must use a dynamic array.
Modify the client program so that it makes use of the overloaded functions.
University of Lethbridge Home Page