카테고리 없음

How C++ is executed?

minjiwoo 2022. 2. 5. 18:38
728x90

editer(source code) -> source file --(compiler)--> object file ---(linker)--> execute file ---> RUN

source code : high level language

what compiler's do ?

- preprocess : #define variables save , ignores comments

- compile : preprocessed code to assembly code 

- assembler : assembly code to binary code (= machine code that hardware can understand)

what linker's do?

- link library and object file

- execute file created ! 

728x90