Skip to content
#

constructors-and-destructors

Here is 1 public repository matching this topic...

This C++ program demonstrates basic object-oriented programming principles through the implementation of a Fraction class. It includes constructors, destructor, operator overloading, and exception handling for division by zero. Users can input two fractions, and the program will calculate their sum.

  • Updated Sep 29, 2023
  • C++

Improve this page

Add a description, image, and links to the constructors-and-destructors topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the constructors-and-destructors topic, visit your repo's landing page and select "manage topics."

Learn more