Below I show a picture of the basic C++ compilation process:
The compiler takes the source code (.cpp) files as input, and creates object (.obj) files, written in assembly language. The linker then takes the object files as input, and creates an executable file.