Skip to content

A C implementation of the classic infix expression calculator.

Notifications You must be signed in to change notification settings

jaw653/Infix-Expression-Calculator

Repository files navigation

Infix-Expression-Calculator

C implementation of an infix expression calculator. Matilda.c is the file to be executed once compiled.

Used previously created dynamic structure "classes" such as stack, queue, dynamic array, and circular dynamic array to implement the calculator.

All files needed to utilize this project are found in the repository and can be used as shown below.

Command Line examples:
~$ make
~$ ./matilda -i -p -b file
(takes the infix expression from 'file' and converts to postfix. -i prints input from 'file', -p prints postfix, -b prints binary tree used for storing equation)
~$ make test
(runs program on plethora of tests and uses diff command w/ previously known correct outputs to check correctness)
~$ make clean
(cleans directory of executables for full recompilation)

About

A C implementation of the classic infix expression calculator.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published