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: pow(x,y), sqrt(x), log(x), exp(x), sin(x), cos(x), tan(x), atan(x), atan2(y,x), abs(x), floor(x), ceil(x)

alt text

About

Parser for mathematical input. Linux version: https://github.com/rdbo/ExpressionParser-GUI-Allegro5

Resources

Stars

Watchers

Forks

Packages

No packages published