Ernest and Dirk,
Thanks for your replies...
SOrry if the quality of the posting wasnt upto the mark ...and I apologize for the incomplete follow-up that I just inadverently posted....I am still learning the ropes and promise to do better.
Here are additional specific details regarding the sample program that I stuff I am trying to do
The code has three parts to it.
A) the main() method
B) the Income_calc method
C) the Month method
Of these, I only have edit priveledges to the Income_calc method.
I can get the code to compile...however, the problem that I am facing is with respect to turning on/turning off the Debug messages.
There are two distinct things that I am grappling with:
i) Trying to toggle the debug messages from the Income_calc method.
ii) Trying to toggle the debug messages from the Month method.
A) The "main()" method :
This simply instantiates the Tax_calc class :
B) The second part is a predefine class of methods called "Month". This class contains a method called debug and its constructor turns on debug_flag.
c) The third part is the class called Income. This class also contains a method