Why won't this work?
Why isn't the above code the same as this one (that works):
Rome did not create a great empire by having meetings, they did it by
killing all those who opposed them.
- janvier -
Code:
class Base
{
public:
Base()
{
}
Base(const char* msg)
{
}
} ;
class Sub : pulic Base
{
Sub()
{
}
Sub(const char* msg)
{
Base::Base(msg) ;
}
} ;
Why isn't the above code the same as this one (that works):
Code:
class Base
{
public:
Base()
{
}
Base(const char* msg)
{
}
} ;
class Sub : pulic Base
{
Sub()
{
}
Sub(const char* msg) : Base(msg)
{
}
} ;
Rome did not create a great empire by having meetings, they did it by
killing all those who opposed them.
- janvier -