Lab 4
Loading...
Searching...
No Matches
Shape Class Referenceabstract

#include <shape.h>

Inheritance diagram for Shape:
Circle Rectangle

Public Member Functions

virtual int calculateArea ()=0
 
virtual void draw ()=0
 

Member Function Documentation

◆ calculateArea()

virtual int Shape::calculateArea ( )
pure virtual

Implemented in Circle, and Rectangle.

◆ draw()

virtual void Shape::draw ( )
pure virtual

Implemented in Circle, and Rectangle.


The documentation for this class was generated from the following file: