- Editor는 프로그래머가 짠 source code를 입력하고 파일의 형식으로 저장할 수 있게 해줌 - 즉, 컴퓨터가 우리의 source code를 알아들을 수 있게 만들어줌 - 대부분의 editor는 프로그램 언어의 특징에 따라 색을 다르게 표현해 줘 사용자의 편의성을 올려줌
Preprocessor
- Compiler가 source file을 실행시키기 전에 불러오는 것을 의미 - 흔히 "library"라고 부르는 것들이 Preprocessor의 일종 - source code 앞에 "#include" 로 작성해서 불러옴
Compiler
- Compiler는 source code를 target code로 바꿔줌 - Target code는 source language (프로그래밍 언어)가 아닌 machine language (ex. 010101) 또는 다른 source language의 모양
Linker
- Source code 들어오는 library를 의미 - Source code가 compile 되고 난 뒤 추가 되는 내용이므로 machine code의 형태
[위의 내용들을 구조도로 표현한 것]
Debugger
- "De" + " Bug" : bug(= error / 오류)를 없애는 것 - Debugger는 debug를 하는 tool
Profiler
- 시간이 어디서 얼마나 걸리는지 보여주는 tool
Famous Free IDEs and Compiler
- Visual Studio Community - Xcode - Qt Creator
General Structure of C++ Program
- 단순한 c++ 프로그램의 구성에 대한 그림 - "include directives"에 대한 부분이 앞의 설명에서의 preprocessor 역할을 하는 곳 / 즉, source code level 에서 library를 불러오는 단계
Software Development Stage
[Waterfall]
- traditional model - 요즘에는 잘 안쓰는 model - 주로 큰 단위의 project에서 사용