#pragma once class CPostion { protected: int m_x0; int m_y0; int m_x1; int m_y1; public: void setPosition(int x0, int y0, int x1, int y1); }; #include"position.h" void CPostion::setPosition(int x0, int y0, int x1, int y1) { m_x0=x0; m_y0=y0; m_x1=x1; m_y1=y1; } #pragma once #include"position.h" class CRectangle : public CPostion { private: int m_xpos; int m_ypos; int m_size; public: void setMpos..