//house.h //an example of a composite class #ifndef HOUSE_H #define HOUSE_H #include //ostream, cout, endl using namespace std; #include "window.h" #include "door.h" class house { private: window right; window left; door front; door back; public: house(); house(int rw,char fc[ ]); //values for the right window and the front door. ~house(); friend ostream & operator<< (ostream & out, house & h); }; #endif