Here are a few observations.
1: Your class has only public members. You're probably supposed to make the variable members private. (This isn't required by C++, but what's the point of classes if you make the variables public?)
2: You use the word "void" to indicate no arguments, as in GRTax(void). That should be GRTax();
3: You declare only one of your 2 constructors in the class definition. You need to declare them both.
4: The definition of your default constructor begins "GRTax::GRTax(0)". That should be GRTax::GRTax(). What this constructor should do is assign values to the member variables.
Good Luck.
murschech
Junior Poster in Training
60 posts since Dec 2004
Reputation Points: 21
Solved Threads: 1