소소한 개발 공부

vscode c 컴파일 본문

컴퓨터 지식/기타 정보

vscode c 컴파일

이내내 2020. 12. 7. 14:08
{
    "configurations": [
        {
            "name": "Win32",
            "includePath": [
                "${workspaceFolder}/**"
            ],
            "defines": [
                "_DEBUG",
                "UNICODE",
                "_UNICODE"
            ],
            "compilerPath": "C:/MinGW/bin/g++.exe",
            "cStandard": "c17",
            "cppStandard": "c++17",
            "intelliSenseMode": "clang-x64"
        }
    ],
    "version": 4
}

c_cpp_properties.json 파일에 위와 같이 입력

** MinGW를 설치했으며 MinGW의 위치가 C드라이브에 있을 때.