I'm following a guide in a book
Any help will be appreciated!
Run source scripts/bash/init in the root dir, this will also add a var called $ROOT_DIR.
All projects get their own directory with the cpp file named main
Go into a directory with cd (obv) and run g++ main.cpp -o <bin name>.out
or run compile after INIT.
use ./<binname> or run
To remove all bin files (and files not tracked by git) run git clean -xf $ROOT_DIR or clean
Note
IT WAS RECOMMENDED TO COMPILE WITHOUT A FILE EXTENSION SO IT DIDNT GET ADDED TO THE REPO
IF YOU HAVE AN OLDER COMMIT OF THE REPO RUN git clean -xf THEN PULL THE REPO.