I have a few questions for the C++ gurus here.
What does the ... do in functions? Like here:
Code:
void blah(int x, int y, ...);
Why would I need to use virtual functions? I just can't see why I would need to use them.
Is it possible to make a pointer off of a class that is inherited by another class, and then use that to point to a different one? Like this:
Code:
class theclass
{
};
class theotherclass:public theclass
{
};
theclass instance = new theotherclass;
Finally, why would I inherit another class privately?