Let's say I am creating a tree, and I have a class of Node and a class of Cars.
class Cars : public Node{
....
};
If I have an object all ready defined as a Node, but I now want it to make it a Car as well, how would I do it?
Thank you !