Comp 2673
Spring 2002
Homework 3
Due Monday, April 15
- (4 pts) List 4 unix commands (other than editors) for viewing the
contents of files.
- (6 pts) Do problem 1 on page 159 of the unix book.
- (20 pts) Write a declaration for a class Matrix. (The matrix should be of
variable size.) Implement the destructor, the copy constructor, the
assignment operator, the == operator, the + operator and the += operator.
Pay special attention to dynamic memory allocation/deallocation.
- (20 pts) Turn in a declaration for all the classes for your programming
project. Include a one-page (or so) description of the design of your program
which explains how your classes interact, and how the important functions will
work. If you are working with another person, then tell me who that person
is, and explain how you have agreed to divide the work.