C++ linking works by using Linker to combine object files into single
exe file.
Does each .cpp file compile to a single .obj file?
If the .cpp code called functions in some library (.lib) does the
Linker will extract the required .obj object file from the library and
link together with other .obj file to form a EXE?
So the EXE file can be think of a code file that merged all the .cpp
(compiled to object) files together?
exe file.
Does each .cpp file compile to a single .obj file?
If the .cpp code called functions in some library (.lib) does the
Linker will extract the required .obj object file from the library and
link together with other .obj file to form a EXE?
So the EXE file can be think of a code file that merged all the .cpp
(compiled to object) files together?
Comment