Skip to content

romanroibu/arithmetic-expression-evaluator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Simple Arithmetic Expression Evaluator

Setup

Dependencies

  • cmake
  • googletest

Usage

To build the executable, run the build.sh script:

$ ./scripts/build.sh

This invokes cmake and make to produce the executable in the build directory.

To invoke the executable, pass the expression to be evaluated as a string:

$ ./build/arithmeticc "3 + 2 * 5"
13

Finally, to build and invoke the testsuit, run the test.sh script:

$ ./scripts/test.sh

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published