title: Difference between code object and executable file
body: <p>I'm a C++ beginner and I'm studying the basics of the language. There is a topic in my book about the compiler and my problem is that I can not understand what the text wants to say: </p>
  
  <blockquote>
    <p>C++ is a compiled language so you need to translate the source code in
    a file that the computer can execute. This file is generated by the
    compiler and is called the object code ( .obj ), but a program like
    the "hello world" program is composed by a part that we wrote and a part
    of the C++ library. The linker links these two parts of a program and
    produces an executable file ( .exe ).</p>
  </blockquote>
  
  <p>Why does my book tell that the file that is executed by the computer is the one with the <em>obj</em> suffix (the object code) and then say that it is the one with the <em>exe</em> suffix?</p>