A clean, from-scratch calculator built in C on Linux. Daily learning journey in C, Linux, and systems programming.
A lightweight, terminal-based advanced scientific calculator written in C.
- Core Math: Addition, Subtraction, Multiplication, Division with division-by-zero protection.
- Advanced Math: Powers, Square Roots, Absolute Values.
- Trigonometry & Rounding: Supports Sine, Cosine, Tangent (Degrees/Radians/Gradians), and custom rounding methods.
- History Memory: Dynamically allocates memory slots so you can view past operations safely.
Make sure you have a C compiler (like gcc) installed.
# Clone the repository
git clone [https://github.com/ayobamidele4/neocal.git](https://github.com/ayobamidele4/neocal.git)
cd neocal
# Compile the code
gcc src/main.c -o build/neocal -lm
# Run the calculator
./build/neocal
## License and Terms
Copyright (c) 2026 Baasit (Ayobamidele4). All rights reserved.
This repository is publicly visible for educational and demonstration purposes only. Copying, modifying, distributing, or using this software in any project without explicit permission from the author is strictly prohibited.