Maybe you should look for the questions about DevCpp or CodeBlocks...
This IDEs are using MinGW as compiler...
BTW, if you really want to code with Notepad (or something similar), all right, it's your choise...

But I really suggest you to use Code::Blocks !!!
It's totaly free and uses MinGW (beside many others, but MinGW is installed by default) - and be sure to use the nightly builds !!!
