CS 1620 Assignment #9 Fall 2000

THE LAST ONE

How to handin.
Points : 50
Due: Dec 6, 2000 @ midnight
Note: Late assignments will be accepted only with the instructor's pre-approval.
Marks will be awarded for comments, style, readability, compiling and working correctly.
  1. [20] Dice are used in many games and other applications. You are to write a die class. For purposes of this class, a die must have at least 4 sides and no more than 12. You must implement the following methods:

    Test your class with the dieTest.cc client program provided in $L/dieTest.cc.

    Your header file must be documented so that a potential user of this class will know how each method affects the die.

  2. [30] Write a time class. You must implement the following methods:

    Write a client test program to show that your class works.


Assignment List | Prev | Computer Science 1620
Department of Mathematics & Computer Science
University of Lethbridge Home Page