0 LIKES LikeUnLike
Ok so I have a bit of experience in C++ (Just a High School programming class last year) and I recently decided to get back into it. So I found an E-book online and it was talking about how to compile to an executable and what it said was that once you have your source file you then compile it to an object file (.obj) then link separate object files to get your executableSo the build process is like this:.cpp -> .obj -> .exeHowever I was always taught that you compile your source directly to an executable removing the step where you link these object files.Making the steps to build to an executable like this:.cpp -> .exe Can anyone elaborate on this step of linking object files to make an executable for me? I was using Dev-Cpp to compile my source code last year so maybe Dev-Cpp automatically does this for you and the E-Book I am reading is just speaking of different compilers?
Tags:
Report (0) (0) | earlier
Latest activity: earlier. This question has 1 answers.