Project
P3-Multiple_Count (Tom)
Overview of project
- Author: Tom Browning
- Indices on this project:
- Design Issue-Gen-Spec
- Example Of-C++ Programming
- Complexity of this project: Low
- What you will have when you're done:
The result of this project is a Multiple_Count that can increment, decrement,
and reset itself, and add/subtract another Multiple_Count to/from it. As a
part of this project, an Integer_Count_With_Base class is created to help
form the series of individual digits which make up a Multiple_Count.
- Strategy for this problem: This problem is being solved by reusing Coad & Nicola's
IntegerCount code (C++ version), and developing Integer_Count_With_Base
(a subclass of IntegerCount) and Multiple_Count. "Dynamic Arrays" (of
Integer_Count_With_Bases') are used in Multiple_Count to allow
for the number of digits in an instance of Multiple_Count to be specified
at run-time.
Quote from Tom: "I heard you to say in class that our special integer counts
(which I call Integer_Count_With_Base) should handle from
base 2 to 37, i.e. 0-9 A-Z. My case makes reference to this
range of the base when appropriate (such as in the problem
statement)."
Steps in this project
Representations of this project
Concepts used in this project