Source files, object files and executables

1. Source File

Files stored program code that we edit the code files, known as source code files.

C source file extension voice called ".c". Source code file is relative to the target in terms of files and executables

 General high-level language to write out.

2. Objectives file

After compiling the source code binaries obtained, called the target file.

Extension of the target file named '.obj' (Windows) or ".o" (Linux). Target file is already machine instructions, but still can not run, because the target document also does not solve the problem of function calls.

3. executable file

The linker object code, database files, and system boot code in combination with the standard, the program may be executed independently complete the formation of the operating system, the executable file is called.

Extensions executable file named ".exe" (Windows).

 

Guess you like

Origin www.cnblogs.com/zhaopengpeng/p/12371704.html