Skip to content

Basic calculator which can evaluate multiple operations and PEMDAS.

Notifications You must be signed in to change notification settings

Fish-Sticks/BasicCalculator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

BasicCalculator

Basic calculator which can evaluate multiple operations and PEMDAS.

Test one

Test two

What is the point of this release?

To provide a basic calculator with PEMDAS implemented for people who would like to use it in their projects.

It is also for the purpose of teaching beginners an easy way to get into compiler theory.

How can I import this in my own project?

Just copy the "calculator" folder to wherever you want. Once you have that, include the "calculator.hpp" file and then call calculator_t::calculate with your equation.

Extra

If you need help understanding this project reach out to me for help.