JC> Subject: MATHPLAY.CPP
JC> There's a lot more along this line that _could_ be gone
JC> into, but I'll let you work at figuring this out before
JC> I try to go into anything more complex.
We've been bouncing this code back and forth on the Net in
email for a few days now. It's up to 226 lines of code and
employs a parent class and four derived classes, with the
actual calculation defined as a virtual function. :)
For a simple project, it really is taking on some hefty
C++ attributes. I haven't yet figured an interesting way
to incorporate ostream friends or operator overloading,
as they do not lend themselves to this application, but it
is slowly becoming more modular and more C++. :)
> ] OOPS! I guess they DO fall off the edge of the world........
---
---------------
* Origin: *YOPS ]I[* 3.1 GIG * RA/FD/FE RADist * Milwaukee, WI (1:154/750)
|