I am trying to run C++ code on my OS (Windows 10). I installed MSYS2 and followed its instructions (using pacman to install gcc). The problem is after this step, when i type gcc --version i still get "gcc: command not found".
I added "C:\msys64\mingw32\bin" to my user variable's Path and ran the command again and i still get the same error. I am totaly confused here. Does anyone have any suggestion?
Thanks