The task was to produce a graphical version of the Water Distribution System as described in the book Object-Oriented Programming In Turbo C++ (Robert Lafore, 1991, p.576). First we had to code the generic text version, add a sink to it, understand the code, test it and document it, before doing the same for a graphical version and demonstrating them both to the end user. Our team was the only one to complete the task fully within the allotted time! Object Oriented C++ isn't easy to understand as it is, but when it's mixed with pointers it becomes even harder. The program included things like operator overloading, friends, and pointers to instances of objects. For any student doing the same work
shop: don't follow the diagram on p.577 to literally! There are several
pipes, such a those between valves and tanks, and tank 2 to sink 2, that
do not exist! It doesn't matter if pipes are bending all over the place
either, as long as they connect the correct things. Finally drawing a T
pipe isn't really necessary as putting 2 pipes together makes a T shape
automatically. Just make sure there is one logically in place.
|
|
|
|
|
||
Giga's House |
For Sale |
GigaHex Files |
Rocket Mad |
Cool Links |
E-Mail Me! |