vscode 에 c/c++ compile and run 환경 설정하기

설정 후 ctrl+alt+c 로 컴파일,

ctrl+alt+v 로 실행

https://lucycle.tistory.com/330

 

 

1.vscode 설치

https://code.visualstudio.com/

2. vscode extension 에서 C/C++ install

: 코드 인식 기능만 설치된 상태

3. MinGW 설치 (mingw, mingw64)

4. 시스템 환경 변수 편집

5. 설치 확인 : cmd -> gcc -v 

: 컴파일러 설치 완료 확인

6. vscode 에서 단축키 확인

: File > Preferences > Keyboard Shortcuts 

컴파일 : Ctrl + Alt + C
실행 : Ctrl + Alt + R

 

https://rasino.tistory.com/307

 

우클릭 설정

https://sleepy-it.tistory.com/15

 

[Vscode] 우클릭시 Open with code가 보이지 않을 때

[문제점] Vscode를 설치할 때 "Code(으)로 열기"작업을 Windows 탐색기 파일의 상황에 맞는 메뉴 추가 와 같은 체크박스를 설치하지 않으면 우클릭을 하여도 Open with code가 보이지 않는다. 또한 나의 경

sleepy-it.tistory.com

 

+ Recent posts