-
Clone this repository using
git clone <REPO_URL>
-
cd
to repository and open it usingcode .
-
Ensure that you have a C++ compiler. (clang++/g++ for MAC, not sure for Windows.)
-
Ensure all C++ files are included in compilation by:
VSCode Instructions: Include the following
args
intasks.json
to ensure all C++ files are compiled on build:"tasks": [ { "args": [ "-g", "-Wall", "-Wextra", "-Wpedantic", "${fileDirname}/*.cpp", "-o", "${fileDirname}/${fileBasenameNoExtension}", "-std=c++11" ], } ]
-
Select
run build task
with themain.cpp
file selected and select your C++ Compiler. -
After compilation open a new terminal,
cd
tosrc
folder using the commandcd src
-
Run code using
./main
.
- There should be some warnings, but for now it can be ignored, it should not affect the compilation.
- If the compilation is successful, that should be the following user input prompt:
Select Block Size (Enter 1 or 2):
- Upon selecting a block size, something like this template will be printed (May differ based on Block Size Selected)
===================================================================
Experiment 1 Results
===================================================================
The number of blocks used is: 42813
The database size (in B) based on blocks is: 21406500
The database size (in B) based on records is: 21406360
The database size (in MB) based on blocks is: 21.4065
The database size (in MB) based on records is: 21.4064
Name | Github Profile |
---|---|
Joshua | suenalaba |
Gregory | ProcessedCarbon |
Ryan | raiseu |
Joei | jyzy-here |
Chee Yang | sleepy-pan-da |