[C++ 소스] 구성 관계(Composition Relation), 사람과 눈 //Eye.h#pragma once#include #include using namespace std; class Eye{ bool isopened; bool left;public: Eye(bool left); void Close(); void Open(); void See(); bool IsOpened()const; }; //Eye.cpp#include "Eye.h" Eye::Eye(bool left){ this->left = left; isopened = false;} void Eye::Close(){ if(isopened) { if(left) { cout