/* show how inheritance works using direct references * and protected class sections */ #include using namespace std; class parent { protected: int mine; public: parent(int x = 0) { mine = x; cout << endl << "create parent "<< mine << endl; } ~parent() { cout << endl << "Destroy parent " << mine << endl;} void show_all(void) {cout <