/Calculator

This is a Basic Calculator with two versions.

Primary LanguagePythonGNU General Public License v3.0GPL-3.0

Calculator

Simple C version for console: calc.c is the main source code file. Compile it with gcc or other suitable compiler.

It can perform some basic operations on two input numbers and successively on the results of operations also.

A Basic Calculator with two versions:

Screenshot-1


1. A PyQt GUI based version of Calculator.calculator.py is the main source file.It uses simple Stack-based logic and can perform some basic operations as:

Division
Multiplication
Addition
Subtraction


Screenshot-2


2. C++ and Qt Creator based GUI version. main.cpp is the top file in source tree to be executed.

  • Supports numbers up to 16 digits
  • Supports keyboard presses
  • Prevents overflow by displaying the number in floating point format if needed.

License: GPL v3