I have just installed g++ using MinGW. When I tried
g++ --version it says, that it is 6.3.0:
g++ (MinGW.org GCC-6.3.0-1) 6.3.0 Copyright (C) 2016 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
How can I get g++ 7 or newer?
Edit: I am using Windows 10 home 32-bit (on x64 CPU, but 2GB RAM) version 1909 OS build 18363.1440