I'm very new to classes and don't understand the problem I'm having here. I can write other code with classes and they run fine. I'm getting 4 errors; Circle not declared in this scope, circOne not declared in this scope, Square not declared in this scope, sqOne not declared in this scope. What am I missing here?
I'm not sure I understand your advice. It's like main isn't seeing the class name and label.
I call to the functions to get the variables. The variables are private and the functions are public. I've tried everything I can find.This is my first foray with classes.
I'm baffled. It's probably something really simple that I don't get!
I could call the functions just fine that way before I created the classes. The entire program worked fine before I created the classes. All function calls worked great just as they are written. There is some problem with how I named the classes, or declared them. Or possibly the three different files. I'm baffled!