摘要:
Shape.h#ifndef SHAPE_H#define SHAPE_Hclass CShape{private: int color_; virtual void Draw();};class CRecttangle: public CShape{private: int height_; int width_; void Draw();};#endifShape.cpp#include "StdAfx.h"#include "Shape.h"void CShape::Draw(){ color_ = 0;}void CRecttangle::Dra 阅读全文