I am trying to learn about how to use classes with private and public variables in c++. I've got a conversion program that I would like to use as a prop.
If I was to add a class to this program, what I think I know is...
(Just to say, this is still fresh and I don't have a full grasp of all the concepts yet)
I know that to start a class, you must first declare it like for example...
class Conversion
{
private:
int inches;
int foot;
public:
void conversion(int happen);
};
Attachment:- class example 2.zip