g++ isn't necessarily better than MS Visual Studio 2005, I just like it better, that's all.
I've never used NetBeans before, so I can't suggest anything besides Google, which I'm sure you've already tried. http://www.google.ca/search?hl=en&q=...G=Search&meta=
Are you using Vista?