Share your repls and programming experiences

← Back to all posts
Shape Calculator: Classes and Dynamic Arrays
vilo5386 (1)

Takes input from user for shape type and dimensions and gives area and perimeter.

Demonstration of class definition, operator overloading, dynamic arrays implemented in classes, and separate compilation and namespaces.