This article gives step-by-step information from software installation to the completion of a Hello World program.
http://tdm-gcc.tdragon.net/download
Choose the 32bit (No -w64 suffix), bundled, sjlj version.
Install it with default options unless you know what you are doing.
You should get something like this in your CMD
C:\>gcc gcc: fatal error: no input files compilation terminated.
Otherwise, you should add appropriate PATH manually.
If you are not sure, download and install the version comes with GTK runtime.
#include <stdio.h> int main( void ) { printf("Hello, World!\n"); return 0; }
#include <iostream> int main( ) { std::cout << "Hello, World!\n" << std::endl; return 0; }