This repository contains the source code of the Data Management Program for a Fictional Movie Rental Company, developed by:
Ramón Álvarez (ralvarezdev).
Roberto Belmonte (rb6422).
Only C++.
- Clone this repository to your local machine using the following command:
git clone https://github.com/ralvarezdev/ProyectoTeoria_RR
- Change your Current Working Directory to where the Repository was Cloned
- There are Two Ways to Compile the Program:
- With G++ (You must have Installed MinGW Compiler). Use the following command:
Command for Windows
g++ -o bin\Blockbuster.exe src\main.cpp src\lib\namespaces.h src\lib\clients\clientsOp.h src\lib\clients\clientsOp.cpp src\lib\data\dataOp.h src\lib\data\dataOp.cpp src\lib\datatables\output.h src\lib\datatables\output.cpp src\lib\movies\moviesOp.h src\lib\moviesOp.cpp src\lib\terminal\ansiEsc.h src\lib\terminal\ansiEsc.cpp src\lib\terminal\input.cpp src\lib\terminal\input.h
Command for Linux
g++ -o bin/Blockbuster.exe src/main.cpp src/lib/namespaces.h src/lib/clients/clientsOp.h src/lib/clients/clientsOp.cpp src/lib/data/dataOp.h src/lib/data/dataOp.cpp src/lib/datatables/output.h src/lib/datatables/output.cpp src/lib/movies/moviesOp.h src/lib/moviesOp.cpp src/lib/terminal/ansiEsc.h src/lib/terminal/ansiEsc.cpp src/lib/terminal/input.cpp src/lib/terminal/input.h
- With CMake (You must have Installed CMake and Make). First, Get to the
bin
Folder inside the Repository. Use the following commandCommand for Windows
cmake -S ..\ -G "MinGW Makefiles" -B .\ && make
Command for Linux
cmake -S ../ -G "MinGW Makefiles" -B ./ && make
- Run the program by clicking the
Blockbuster.exe
.
For a Better User Experience, Resize the Terminal Window to Fullscreen
This is the Full List of Commands for Each Action in the Program