MinGW is a port of GCC to Windows. It is the compiler we recommend for this book.
You can obtain MinGW from http://www.mingw.org/. Find the download link on that page and download and run the MinGW Installation Manager (mingw-get).
The MinGW Installation Manager is a GUI tool for installing MinGW. It's shown in the following screenshot:
Click Install. Then, click Continue. Wait while some files download, and then click Continue once again.
At this point, the tool will give you a list of packages that you can install. You need to mark mingw32-base-bin, msys-base-bin, and mingw32-gcc-g++-bin for installation. This is shown in the following screenshot:
You will also want to select the mingw32-libz-dev package. It is listed under the MinGW Libraries section. The following screenshot shows this selection:
The g++ and libz packages we&apos...