Skip to content

Converts equations from infix notation to postfix notation.

Notifications You must be signed in to change notification settings

timgarvin/Infix-to-Postfix-Converter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Description

Infix to Postfix Converter is a C++ program that uses a Stack data structure to convert a user-defined equation from infix notation to postfix notation. This program is made-from-scratch and does not utilize the C++ Standard Template Library (STL).

Compilation and Execution

  • Compile: g++ *.cpp
  • Run Program: ./a.out

Program Commands

  • convert <equation>: Converts a user-defined equation from infix notation to postfix notation.
    • Example:
        infix_to_postfix> convert 5*8-4/2
        58*42/-
        
  • quit: Exits the program.

Technologies Used

  • C++
  • Linux
  • PuTTY
  • WinSCP

Data Structures Used

  • Stack

Notes

  • This program should be compiled and executed in a Linux Operating System environment.
  • This program has been tested extensively, without error, through the University of North Texas's Praktomat testing system.

Releases

No releases published

Packages

No packages published

Languages