#include <iostream>
using namespace std;
class Device {
public:
void showType() {
cout << "Generic Device\n";
}
};
class Actuator : private Device
{
public:
void showActuator(void)
{
showType();
printf("Actuator Device\n");
}
};
int main()
{
Actuator a;
a.showActuator(); // should print both lines
return 0;
}