Home  >  Article  >  What are the meanings of source program, target program and executable program?

What are the meanings of source program, target program and executable program?

青灯夜游
青灯夜游Original
2021-04-22 13:50:4637487browse

Source program: refers to an uncompiled text file written in accordance with certain programming language specifications. Target program: refers to a collection of machine codes (binary codes) that can be directly run by the computer after the source program has been compiled, with the extension ".obj". Executable program: The target program is connected with the library function to form a complete program that can be executed independently under the operating system.

What are the meanings of source program, target program and executable program?

The operating environment of this tutorial: Windows 7 system, Dell G3 computer.

Source program:

Source program refers to an uncompiled text file written in accordance with certain programming language specifications. It is a series of human-readable computer language instructions.

The source program cannot be executed directly on the computer. You need to use a "compiler" to compile the source program into binary form of code.

Target program:

The binary code obtained by compiling the source program through the "compiler" is called the target program

The target program refers to the source program after Compile a collection of machine codes that can be directly run by the computer. The computer file has .obj as the extension

executable program

executable Program: Connect and assemble all the compiled target modules, and then connect them with the function library to form a whole to generate a target program that can be executed by the computer and become an executable program.

Simply put, an executable program is a complete program that can be independently executed under the operating system by connecting the target program and the library function.

The extension of the executable program is ".exe ” (in dos/windows environment).

For more programming related knowledge, please visit: Programming Video! !

The above is the detailed content of What are the meanings of source program, target program and executable program?. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn