Skip to content

Input an expression and this code changes it to postfix notation and then evaluates it. This is using the shunting algorithm.

Notifications You must be signed in to change notification settings

SentientSam/InfixToPostfixEval

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

InfixToPostfixEval

Input an expression and this code changes it to postfix notation and then evaluates it. This is using the shunting algorithm.

The file test.cpp creates an executable that tests the Stack class to see if it is functioning correctly.

TestParenChecker.cpp tests my paren checker function and was used as a bit of a tester file.

stack.h is my class header file and stack.hpp is a definition file for the functions.

in2post.cpp is the driver file that performs the functions using the stack class created.

About

Input an expression and this code changes it to postfix notation and then evaluates it. This is using the shunting algorithm.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published