How to use probabilities in loops?Hi, suppose i want to run a loop that involves an object(real-life meaning) that chooses two direc...
How to use class object as private member in another class?umm..i got a lot of errors and changed it to this and it compiled.. is this correct? [code]Car::C...
How to use class object as private member in another class?why would i put owner.? wouldn't Person work if it only has one private variable "name"?
How to use class object as private member in another class?oh, so it's exactly like inheritance then? so would i do [code]Car::Car(const Car& object) : Pe...
How to use class object as private member in another class?for example, if i have: [code]class Car{ public: Car(const Car& object); ...
This user does not accept Private Messages