If you're after an IDE Microsoft offers a free version of Visual Studio for download. Eclipse is also very good and also free, you can get this from IBM. A Google search should turn up both of those.
If you're literally just after a compiler and a text editor, can't go wrong with gcc and vim...not advisable for the beginner though.