windows安装C和CPP
1.打开网站
1.1 找到Download the installer然后下载exe
Download the installer
2.打开终端 MSYS2 UCRT64
2.1终端里输入:
pacman -S mingw-w64-ucrt-x86_64-gcc
3.更新:
pacman -Syu
4.验证安装是否成功
gcc --version
gcc.exe (Rev3, Built by MSYS2 project) 16.2.0
5.打开安装路径
C:\msys64\ucrt64
浙公网安备 33010602011771号