- 
                Notifications
    
You must be signed in to change notification settings  - Fork 2
 
Home
        Koushik Saha edited this page Sep 27, 2021 
        ·
        1 revision
      
    ✔ Download Winlibs MinGW Compiler ⏬
- C++ Compilers Read
 - 
MSYS2 MingwCompiler Link - 
Winlibs-MinGWCompiler LINK - 
C++ VSCodesetup usingGCCwithMinGW♨ - READ 
✔ VSCode C++ Environment Setup | C++ Path
Inside .vscode/c_cpp_properties.json file in compilerPath section set absolute path
    "compilerPath": "C:/App/Mingw-w64/bin/g++.exe",
    // C++ standard version
    "cppStandard": "c++20",Inside .vscode/launch.json file
- In 
cwdsection set absolute path - In 
miDebuggerPathsection set absolute path - In 
miDebuggerPathsection set relative path but, in this case, we have to setC++ environment variableon system first. 
    "cwd": "${fileDirname}",
    "miDebuggerPath": "C:/App/Mingw-w64/bin/gdb.exe", // Absolute one
    "miDebuggerPath": "gdb.exe", // Relative oneInside .vscode/tasks.json file in command section
- Set compiler's an absolute path.
 - Set relative path but, in this case, we have to set 
C++ environment variableon system first. 
    // For GCC Compiler
    "command": "C:\\App\\Mingw-w64\\bin\\g++.exe", // Absolute one
    "command": "g++.exe" // Relative one
    // For Clang Compiler
    "command": "C:\\App\\Mingw-w64\\bin\\clang++.exe", // Absolute one
    "command": "clang++.exe" // Relative one
    // For Visual Studio Compiler path
    "command": "cl.exe",