Skip to content

Latest commit

 

History

History
54 lines (38 loc) · 1.57 KB

README.md

File metadata and controls

54 lines (38 loc) · 1.57 KB

Bistromatic

Warning ⚠️

I want to specify that for this project, we were beginners.
I and David made the program 3 weeks after we start programming,
which explains a rough code and some memory errors.
Despite that we got 100% in the correction and the best project of the class.

Description 🌄

The goal of this project is to write a program that will display the result of an evaluated mathematical expression.
The expression will be composed of infinite integers that can be expressed in any base.
The program must handle the following operators: +-*/%, parentheses, operation priorities and syntax errors,
but not float numbers.

Most of the functions of the lib C were forbidden,
we were allowed to use : write, exit, malloc, free and read

Exemple

Installation 🔎

 git clone https://github.com/Mikatech/Bistromatic.git
 cd Bistromatic
 make

Results 🏆

Label Mark
Syntax Errors 12 / 12
Addition 14 / 14
Substraction 26 / 26
Multiplication 18 / 18
Division 22 / 22
Modulo 22 / 22
Base & operators 12 / 12
Eval Expr 24 / 24

Bonus 📦

As a bonus, we have created a graphical interface using GTK

Bonus


Maintainers 😎