If you're building directly on the RPi, gcc/g++ is available in Debian Squeeze for sure, and it's as good as any other compiler. Vim's a great editor, light enough to run lightning fast on hardware and includes syntax highlighting.
If you -really- want a graphical IDE, code::blocks or eclipse are both pretty OK. I wouldn't run them on the hardware, though.
In my experience with Code::Blocks, it's wonderful on Windows. However, on Linux and especially MacOSX, it is not very good. On Linux, it barely run and just appeared buggy. On MacOSX, it wouldn't even run with the mac binary.
That aside, try and get the MingW gcc/g++ compiler suite. It's the real standard for OpenSource development. There are a few differences between it and the MS compiler - well, quite a few, even in relatively simple things. But it's the best one there is. :)