Personal repository with c++ code. General purpose repo
Use on Ubuntu to install c++ compiler
sudo apt install build-essential
To compile a c++ source code and link the object output, do as follows:
g++ YOUR_SOURCE_CODE_FILE.cpp -o NAME_OF_COMPILED_FILE.out
To run it:
./NAME_OF_COMPILED_FILE.out