프로그래밍/우분투 ubuntu
[UBUNTU] C언어 사용 환경 구축
복습
2024. 8. 3. 13:23
728x90
Ubuntu 22.04
1. GCC 설치
sudo apt update && sudo apt upgrade
sudo apt install gcc g++ clang gdb
잘 설치 되었는지 확인해보자
gcc --version
2. VS code
VS code 설치는 아래의 글을 확인하자.
https://brush-up.tistory.com/267
[ 우분투 ] 크롬(chrome), Vs code 설치
이전에 명령어를 사용해서 크롬과 Vs code를 설치한 방법을 정리하였었다. https://brush-up.tistory.com/241 [ 우분투 ] 크롬(chrome), Vs code 설치 및 업데이트1. chrome 설치 및 업데이트 1. 터미널 열기: 터
brush-up.tistory.com
2.1 C/C++ 설치
2.2 C/C++ Extension Pack
2.3 Code Runner 설치
3. C언어를 사용할때는 다른 언어 환경(python 등)과 분리하여 새로운 폴더를 만들어 사용한다.
ctrl + shift + b : 빌드, gcc(3번째 선택)
실행 : ctrl + alt + n
728x90