Created for igcse cie (0478) cs pre-release from paper 2 variant 1 in c++ purely for fun.
Code is a little messy and spagetti as i rarely write in c/c++.
This was built and tested only on linux (Ubuntu 20.4). Uses C++17 (g++ toolchain). You can download, compile and run it if you are using any other unix or linux based systems (mac os, ubuntu, mint, etc..):
$ git clone https://github.com/cryptidv/school-voting-program.cpp.git && cd school-voting-program.cpp && g++ main.cpp -std=c++17 -o program.out && ./program.out
This is a completely useless program and I probably wont use it in the exam, but why not?
Also please note that this was never compiled and tested on windows, and owing to the fact that I used a ton of bash color-codes, it'll probably look like a mess.. (though i have no idea if windows command prompt can properly display bash color-codes..)
If you do want to run this on windows you'll need visual code c++ stuff downloaded..