SYSC 2006 Chapter Notes - Chapter 1: High-Level Programming Language, Text Editor, Natural Language
Document Summary
C is a high level language and high level languages are needed to be translated before they can run. This is one of the disadvantage of high level languages. There are two ways to translate a program: interpreting or compiling. Interpreter: a program that reads a high level program and does what it says. In effect, it translates the program line by line alternately reading lines and carrying out commands. Compiler: a program that reads high level program and translates it all at once, before executing any of the commands. Often the program (source code) is complied at as a separate step and the compiled code (object code/executable) is then executed. You write codes in text editor that is nothing but a simple word processor. You save they program in a file named program. c. progra(cid:373) is just a(cid:374) ar(cid:271)itrary (cid:374)a(cid:373)e a(cid:374)d . (cid:272) is a (cid:272)o(cid:374)ve(cid:374)tio(cid:374) that i(cid:374)di(cid:272)ates that the file contains c source code.