Infix Calculator


Jun 2020 - Jul 2020


Terminal-based calculator supporting infix and postfix (Reverse Polish Notation) type expressions. Allows variable declarations, nested expressions, etc. Honors project for CS 2433 - C/C++ programming.

Project Overview

Exploration of terminal-based user input and command-line instructions.

Objectives:

  • Infix calculator support. Use parenthesis for all expressions - implementing PEMDAS out of project scope.
  • Postfix calculator support.
  • Intuitive and robust error-handling for CLI.
  • Support common functions - primitive operations, exponentiation, trigonometric functions, variable declarations, negation, etc.