Skip to content

Pupler/CPP-Calculator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🧮 C++ Calculator

A simple console calculator with professional code structure.

📸 Preview

image image

✨ Features

  • ➕➖✖️➗ Basic arithmetic operations
  • ♾️ Division by zero returns infinity
  • 🔄 Continuous operation loop
  • 🛡️ Input validation & error handling
  • 🧹 Clean console interface

🚀 Getting started

# Clone the repository
git clone https://github.com/Pupler/Cpp-Calculator.git
cd Cpp-Calculator

# Build with CMake
mkdir build && cd build
cmake ..
make

# Run the calculator
./calculator

📄 License

This project is licensed under the MIT License - see the LICENSE file for details.