You need to install the development tools from GNU. I assume you’re on windows, in which case you have two options: cygwin and mingw. The former includes g++ out of the box. I’m less familiar with mingw, but the C++ Standard library appears to, also, be available.
See these installation instructions, I’d recommend starting from step 1, if at all possible.