A simple desktop calculator application built with a graphical interface, handling the four basic arithmetic operations โ addition, subtraction, multiplication, and division.
A clean, functional calculator that works just like the one built into Windows.
1 + 3 + 5 or 2 * 5 + 5, just as you would on a real calculatorThis was a school assignment focused on building a graphical desktop application from scratch. The goal was to understand how a calculator actually works under the hood โ managing state between button presses, handling user input safely, and dealing with the edge cases that real software has to get right.
A calculator looks simple on the surface, but getting it to behave correctly takes real thought. I had to consider what happens when a user presses = multiple times in a row, how to prevent invalid input, and how to handle numbers that exceed what the underlying data type can hold โ all while keeping the experience intuitive. It was a good lesson in thinking from the user's perspective, not just the code's.
Complete โ submitted as part of a school assignment.