I am wondering exactly what happens when I have:
Point::Point(int x,int y,char c) : Shape(x,y)
{
m_type = c;
}
What does the ":" do here??
Or what exactly does this code mean?
it's called contractor initializer is used to pass the incoming parameter to the base clase