Language translation
the compilation process
- have syntax (form) and semantics (meaning)
- Natural language add 5 to a variable
- C language cnt = cnt + 5;
- Assembly language LDA CNT;ADDA#5;STA CNT
- Machine language B62000;8B05;B72000
- For SCO UNIX: “ cc myprog.c -o myprog”
We will use both the TURBO C++ compiler available on the student network and SCO UNIX C compiler for all exercises and assignments. You do not have to use these compilers and you can use any C compiler you wish. However, do not use C++ extensions in your assignments if you use a C++ compiler.