class Car { public: Truck truck; Car() { // do nothing basically } }
Car car;
class Car { public: Truck* truck; Car() { // do nothing basically } }
Truck
truck
int
char
Car
truck = new Truck();
Wheel *wheel;
wheel
malloc
new
NULL
new Wheel();
int i(17)
int i = 17;
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)