thankz frobozz, that helped alot. now im learning about classes. theres just an example in the tutorial that seems crazy. ill post it
Code:
class Dog {
public:
void setAge(int age);
int getAge();
void setWeight(int weight);
int getWeight();
void speak();
private:
int age;
int weight;
};
i got this tutorial from polonyman and its been great. what ticks me is that the tutorial never explained about void. what is it? how does it work? and what does it do? i understand public and private so don't worry about that just explain