How to build Compile main.cpp Run g++ main.cpp. This will create a .out file Run .out file Run ./a.out. This will generate a result.ppm file which you can then visualize