Implementation of a database of travel records, such as flights, reservations and users in C, using GLib! Developed as a project for the IT Laboratories III (Laboratórios de Informática III) class, part of the second year's curriculum of the Software Engineering bachelor's degree at University of Minho.
This project obtained a final grade of 19/20 💎
The main goal of the project was to implement object-oriented programming principles, such as encapsulation and modularity, while also developing efficient data structures for fast, performant database querying.
The project has two modes: batch, where the program receives the dataset path and an input file with a list of command queries to be executed; and interactive, a GUI-based database querying application.
All commands have to be executed inside the trabalho-pratico
directory.
To build the project:
$ make
To run the project in interactive mode:
$ ./programa-principal
To run the project in batch mode:
$ ./programa-principal <dataset-path> <commands-input>
This project requires GLib and the ncurses library (installation example for a debian based system):
$ sudo apt-get install libglib2.0-dev libncurses-dev
- A104100 Hélder Ricardo Ribeiro Gomes
- A104356 João d'Araújo Dias Lobo
- A104439 Rita da Cunha Camacho