Skip to content

rdbo/ExpressionParser-GUI

Repository files navigation

ExpressionParser-GUI

Setting up the solution

  • Download and install DirectX SDK
  • Open the solution on Visual Studio and open the project Properties
  • Go to VC++ Directories -> Include Directories. Click on 'Edit' and select the Include folder
    located on your DirectX SDK installation path. It is generally this one:
    %programfiles(x86)%\Microsoft DirectX SDK (June 2010)\Include\ or %DXSDK_DIR%\Include\
  • Now go to VC++ Directories -> Library Directories. Click on 'Edit' and select the library folder
    located on your DirectX SDK installation path. It is generally this one - choose x86 for 32bit and x64 for 64bit:
    %programfiles(x86)%\Microsoft DirectX SDK (June 2010)\Lib\ or %DXSDK_DIR%\Lib\
  • Done!

How to use

Enter an expression in the input box, like '5*5' or 'sqrt(9)' and then click on 'Parse'. You'll have the result display right after the 'Output:' text

What to input?

Operators: +-*/^%

Math functions: abs, acos, asin, atan, atan2, ceil, cos, cosh, e, exp, fac, floor, ln, log, ncr, npr, pi, pow, root, sin, sinh, sqrt, tan, tanh

alt text

Credits: tinyexpr,Roboto Font