Three types of instructions :
1.Machine languages
2.Assembly languages
3.High-level languages
High-Level Languages:
1.Single statements could be written to accomplish substantial tasks.
2.Compilers convert high-level language programs into machine language.
(Assembly languages: single statements could be written to accomplish only one task.)
Interpreters:
An interpreted program can begin executing as soon as it’s downloaded to the client’s machine ,without needing to be complied before it can execute.(the advantage of Interpreters compared with compilers)
Member function(成员函数):
we create a program unit called a class to house the set of functions that perform the class’s task.
Encapsulation:
Information hiding is crucial to good software engineering.
C++ programs typically go through six phases:
- edit 编辑
- preprocess 预处理
- compile 编译
- link 连接
- load 装载
- execute 运行