Skip to main content
Ctrl+K
Jörg Faschingbauer - Home Jörg Faschingbauer - Home
  • Training Courses
  • About
  • Blog
  • Training Courses
  • About
  • Blog

Section Navigation

  • Course Descriptions
  • Pricing, Organizational
  • Log Of Past Courses
  • Complete Slide Material
    • Linux
    • Python Programming
    • The C Programming Language
      • Introduction
        • Installation
        • Introduction
        • Hello World
        • Variables and Arithmetic
        • Exercise: A Better Fahrenheit Table
        • for Loops
        • Exercise: Fahrenheit Table Using for
        • Symbolic Constants
        • Exercise: Fahrenheit Table Using Macros
        • Character I/O
        • Exercise: wc For The Poor
        • Arrays
        • Exercise: Character Histogram
        • Functions
        • Exercise: Forward Declaration
        • Character Arrays
        • Exercise: Read Line Into String from stdin
        • Lifetime of Variables
      • Types, Operators, Expressions
      • Program Flow
      • Functions and Program Structure
      • Pointers and Arrays
      • Structures
      • Memory
      • Advanced Language Features
      • Program Sanity
      • Performance
      • Profiling
    • C++ < 11
    • C++ >= 11
    • Design Patterns With C++
    • C++: TODO List
    • C++: Miscellaneous Live-Hacking
    • C++ Code
    • C++ Exercises
    • CMake
    • Is Software A Craft? Software Is A Craft! ⟶ Clean Code
    • Unit Testing With googletest
  • Training Courses
  • Complete Slide Material
  • The C Programming Language
  • Introduction
  • Installation

Installation#

On Windows#

  • https://code.visualstudio.com/docs/cpp/config-mingw

  • https://www.msys2.org/

  • OS specific settings.json. Won’t work. VSCode still has no platform specific settings.

    • microsoft/vscode#5595 (live)

    • microsoft/vscode#17619

  • microsoft/vscode-cmake-tools

$ pacman -S mingw64/mingw-w64-x86_64-cmake
  • C/C++ for Visual Studio Code

    • Especially, install mingw-x64 compiler

  • CMake download

  • Get started with CMake Tools on Linux

  • GTest (optional): https://medium.com/swlh/google-test-installation-guide-for-c-in-windows-for-visual-studio-code-2b2e66352456

On Linux#

  • Install Tools

    As root …#
    # dnf install gcc-c++ cmake gtest
    
  • C/C++ for Visual Studio Code

  • Get started with CMake Tools on Linux

On this page
  • On Windows
  • On Linux

© Copyright 2019-2025 (GPLv3), Jörg Faschingbauer.

Created using Sphinx 8.1.3.

Built with the PyData Sphinx Theme 0.16.1.

Show Source