The programming process: Calculator example
EXAMPLE: Calculator
Specification:
A calculator is a program that allows the user to perform simple arithmetic operations with the help of a computer.
When the program is run, it zeros the result. Then, it prompts the user for a specific operation and a number to be processed. After performing the operation, the result is updated and displayed.
Please download the programming examples from the contributions page.
This resource contains several C++ examples including the makefile for compilation and linkage.
Refer specifically to the calculator example for this excercise.
My reference for this tutorial was Practical C++ programming, by O’Reilly.