This program has 4 different modes:
- Arithmetic calculations (+, -, *, /).
- Trigonometry calculations (sin(), cos(), tg(), ctg())
- Exponential calculations (power(), root())
- Logarithmic calculations (log(), ln())
The program includes error handling for invalid inputs and provides a user-friendly interface for conducting calculations. The code is written in C++ and utilizes object-oriented programming techniques, making it easy to expand and maintain in the future. Using templates as well. Minimal markdown for making the interface user-friendly. Looking forward into the future to add possibility of complex calculations, extra error handling, calculation on different unit measures, etc.
In case you cloned the project to make a commit or to build it, and you are using Microsoft Visual Studio ©, there is a chance that VS will not recognize default include
directories. To include them, go through these steps:
- Open project file
advanced_calculator.sln
. - Enable
Solution Explorer
by pressing combination ofCtrl+Alt+L
, or by going throughView->Solution Explorer
. - Click RMB on
advanced_calculation
solution file in the opened Solution Explorer window. - Scroll down and click on
Properties
. - Go through
Configuration Properties->VC++ Directories->General
and click onInclude Directories
to get a dropdown arrow, click on it and on 'Edit'. - Click the folder image (
New Line (Ctrl-Insert)
) and on three dots afterwards to locate the header directories. - Choose the
Header Files
from the root project folder.
After these steps, the project should build in both Debug
and Releaase
configurations, as well as both on x86
and x64
platforms.
In case everything works, don't change the default solution properties.