This is my capstone project for the Udacity C++ Nanodegree Program. This calculator was built using wxWidgets for the graphical user interface. The calculator has two modes, "Standard" or "Scientific". The standard mode will ignore order of operations and performs calculations going from left to right. The scientific mode will perform operations according to the rules of order of operations, including the use of '()' to force precedence on certain calculations. The mode of the calculator can be switched in the file menu under the 'type' submenu by selecting either 'standard' or 'scientific'. The modes are modeled after the 'standard' and 'scientific' modes currently available on the calculator application in Windows 10.
- cmake >= 3.11
- All OSes: click here for installation instructions
- make >= 4.1 (Linux, Mac), 3.81 (Windows)
- Linux: make is installed by default on most Linux distros
- Mac: install Xcode command line tools to get make
- Windows: Click here for installation instructions
- gcc/g++ >= 5.4
- Linux: gcc / g++ is installed by default on most Linux distros
- Mac: same deal as make - install Xcode command line tools
- Windows: recommend using MinGW
- wxWidgets >= 3.0
- Linux:
sudo apt-get install libwxgtk3.0-dev libwxgtk3.0-0v5-dbg - Mac: There is a homebrew installation available.
- Installation instructions can be found here. Some version numbers may need to be changed in instructions to install v3.0 or greater.
- Linux:
- Clone this repo.
- Make a build repo in the top level directory using:
mkdir build && cd build - Compile using:
cmake .. && make - Run using:
./capstone
- The project demonstrates an understanding of C++ functions and control structures -- All Files
- The project accepts user input and processes the input -- app_gui.cpp: 48-52, 76-81
- The project uses Object Oriented Programming techniques -- All Files
- The project uses multithreading -- app_gui.cpp; 100-109 && stack.cpp: 3-15
- A promise and future is used in the project -- app_gui.cpp; 100-109 && stack.cpp: 3-15
- A mutex or lock is used in the project -- app.gui: 77
If you have suggestions or questions, please email me at [email protected]

