Compile and link multiple source code files into an executable binary

g++

g++ -c {{path/to/source_1.cpp path/to/source_2.cpp ...}} && g++ -o {{path/to/output_executable}} {{path/to/source_1.o path/to/source_2.o ...}}

click the source code to copy install g++ on any operating system with command-not-found.com