kiwiloveskiwis / CppExerciseCalculator

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

C++ Exercise Calculator

A Problem Solving assignment by kiwi to calculate a given mathematical expression.

Dependencies

  • make
  • clang

License

MIT (also dwt's homework license)

Build on Mac/Linux

make

Build on Windows

Go home.

Unit test

make unit-test

Run

3 + 2 * 4.5 /(1/2.0)
-3 + -sin(pi*2^8-(pi/2))
ln(e) + log2(4) + sqrt(4)
ans + 2 // ans refers to the previous answer

See unit-test.cpp for more examples.

Special Acknowledgement

About


Languages

Language:C++ 92.4%Language:Makefile 7.6%