IDE란?
Integrated Development Environment의 약자로 개발, 빌드, 디버깅을 할 수 있는 프로그램.
추천하는 Compiler
* 최소 C++17은 지원하는 compiler
- GCC/G++ 7
- Clang++ 8
- Visual Studio 2017 15.7
Visual Studio에서 C++ 개발하기
윈도우 10/11 사용자에게는 Visual Studio 2022 Community를 추천한다.
링크 : https://visualstudio.microsoft.com/downloads/
Download Visual Studio Tools - Install Free for Windows, Mac, Linux
Download Visual Studio IDE or VS Code for free. Try out Visual Studio Professional or Enterprise editions on Windows, Mac.
visualstudio.microsoft.com
C++을 개발하기 위해서는 Workload에서 반드시 [C++를 사용한 데스크톱 개발]을 선택해야 한다.
그리고 Installation details에서 [Windows 10/11 SDK]를 선택하는 것도 잊지 말자.
Code::Blocks
Code::Blocks는 리눅스와 윈도우 모두 지원하며, 리눅스와 윈도우 간의 포팅을 지원한다.
링크 : https://www.codeblocks.org/downloads/binaries/
Binary releases
www.codeblocks.org
반드시 MinGW Bundle이 있는 버전을 설치하는 것을 잊지말자.
설치 파일명에 mingw가 들어간 것을 설치하면 된다.
Linux 사용자는 설치 후 터미널에서 다음 명령어를 실행하자.
# install build-essential package
sudo apt-get install build-essential
Code::Blocks 실행 후 Compilers auto-detection에서 GNU GCC Compiler를 반드시 선택해야 한다.
Reference
[1] https://www.learncpp.com/cpp-tutorial/installing-an-integrated-development-environment-ide/
'C++' 카테고리의 다른 글
build, clean, rebuild, compile, run/start (0) | 2024.02.19 |
---|---|
What is Project and Workspace(or Solution)? (0) | 2024.02.19 |
C, C++ 개발 workflow (0) | 2024.02.19 |
C, C++의 철학과 역사 (0) | 2024.02.18 |
Compiler vs Interpreter (0) | 2024.02.18 |