windows install cpp compiler - Posted on Jun 12, 2024 - See https://learn.microsoft.com/en-us/cpp - Logs Home - d0023
Install visual studio c++ compiler
Visual Studio Home:
Download => Click => Install => Use
Install msys2 c++ compiler
MSYS2 Home:
Download => Click => Install => Use
Then open msys2 terminal mingw64 :
pacman -Ss gcc # search mingw64 gcc c++ compiler name pacman -Si <gcc-pack-name-here> # Select the correct name
#include <iostream> int main() { std::cout << "Hello c++!" << std::endl; }