官术网_书友最值得收藏!

The Compiler and the Linker

The text of a program is called its source code. The compiler is the program that translates the source code into target code, and the linker puts several compiled files into an executable file.

Let us say we have a C++ program in the source code file Prog.cpp and a routine used by the program in Routine.cpp. Furthermore, the program calls a function in the standard library. In this case, the compiler translates the source code into object code and the linker joins the code into the executable file Prog.exe.

The Compiler and the Linker

If the compiler reports an error, we refer to it as compile-time error. In the same way, if an error occurs during the execution of the program, we call it a run-time error.

主站蜘蛛池模板: 肥城市| 临澧县| 自贡市| 铁岭市| 元江| 新巴尔虎右旗| 石渠县| 大竹县| 沙坪坝区| 电白县| 株洲县| 齐齐哈尔市| 达孜县| 利川市| 永登县| 蓬安县| 阿拉善左旗| 阿合奇县| 耒阳市| 重庆市| 梨树县| 西贡区| 邳州市| 湘潭市| 屯昌县| 克什克腾旗| 武安市| 栾川县| 临颍县| 宜黄县| 广东省| 松江区| 瓦房店市| 大同市| 贺兰县| 库尔勒市| 汉阴县| 陇南市| 安岳县| 清远市| 东兴市|