SOLVE_THIS is a program that accepts mathematical expressions in infix or postfix notation and allows for both solving them and converting between the two notations. This program is the result of a practical activity in the Data Structures course of the Department of Computer Science at UFMG.
SOLVE_THIS can be compiled with the following command:
$ ./run --build
To run the program, execute the following command:
$ ./run --exec
In this way, the program will start. Type HELP
and press enter
to view the list of possible commands.
Or execution by passing a file containing the desired sequence of commands:
$ ./run --exec --exec_args --file path/to/file
Or, once the binary has already been compiled:
$ bin/program --file path/to/file
NOTE: The file should be structured so that there is one command per line. See some examples in src/tests/inputs.
The first version of the documentation, as well as the task statement for this project, can be found here.