A modern scientific calculator built with C, using the Windows API and the tinyexpr library for expression parsing and evaluation.
It supports arithmetic, trigonometric, logarithmic, exponential, and power operations — all through a clean graphical interface.
- ✅ Basic operations:
+,-,×,÷,^ - 🧮 Trigonometric functions in degrees:
sin,cos,tan,asin,acos,atan - 🧠 Scientific functions:
sqrt,log,ln,exp,10^x - 🎯 Constants support:
pi,e - 🖱️ Interactive GUI buttons with color-coded design:
- 🔸 Orange for numbers
- ⚫ Black for scientific functions
- 🟩 Green for clear/delete
- 🔘 Gray for operators
Using MinGW:
gcc calculator.c tinyexpr.c -o calc.exe -lgdi32.\calc.exe- C compiler (tested with GCC/MinGW)
tinyexpr.candtinyexpr.h(included)- Windows OS (uses Win32 API)
This is the main calculator window showing the button layout and user-friendly interface.

Demonstrates matrix-related functionalities like determinant and cofactor calculations.

Displays calculator handling complex numbers in algebraic form using the 'i' notation.

├── calc.c # Main source code
├── tinyexpr.c/.h # Expression parsing library
└── README.md # Project documentation
This project is licensed under the MIT License.