Код: Выделить всё
#include
using namespace std;
class alpha
{
int a;
public:
alpha () {};
alpha (int c)
{
a = c;
}
void showalpha (void)
{
cout
Подробнее здесь: [url]https://stackoverflow.com/questions/79417316/constructor-for-multi-level-inheritance-in-c[/url]