RS> KK> class MathCalc
RS> KK> {
RS> KK> private:
RS> KK> int iVar1, iVar2, iResult;
RS> Why do you code the private keyword when the data is
RS> private by default. Is this considered good style?
I don't know, really. It's just something I picked up.
I always put the public functions at the top of the class
and then put in the private members later, which means I
have to specify that they are private.
I suppose I could save a line of source text by putting
the private data first and using the default, but having
the public functions listed first just seems to be more
user friendly when I want to look them up.
> ] Cold pizza is Nature's most perfect food....................
---
---------------
* Origin: *YOPS ]I[* 3.1 GIG * RA/FD/FE RADist * Milwaukee, WI (1:154/750)
|