IMO, at least if you’re on Windows, your best bet is to bite the bullet, go to http://www.microsoft.com/express/vc/, register, and use Visual C++ 2008 Express. Pretty much every serious C++ developer uses Visual Studio, except for the truly adventurous, and most projects/examples that you see will have been developed and tested in Visual Studio, so you’re going to be much better supported there in general. College is probably the one exception to this rule, since a lot of profs are pretty serious about always choosing unencumbered/crippled tools, but even there you’re probably going to have fewer headaches overall, even with the express edition of Visual C++.
If you run Linux or really don’t want to do the whole Microsoft thing, some people suggest Code::Blocks as an alternative; I’ve never used it, so I can’t comment. On OS X, you’re plain screwed - my advice there is, sadly, to boot Windows when you code C++ (that’s what I do). XCode can get the job done, minimally, but it’s kind of annoying to use if you’re not doing Objective C, it’s slow to compile and test large projects, and nobody ever provides XCode project files for projects anyways, so you’re either stuck figuring out how to set up the projects yourself from source every time or praying that there is a makefile that actually works.
One of the best things Java has going for it is the high bar set for free cross-platform development tools - the early successes of Eclipse and Netbeans ensured that Microsoft couldn’t lock development efforts down in Windows, and that’s a great thing. It’s just too bad that those don’t function very well as C++ development tools - even if you buy (or “liberate,” not that I endorse any such action) the non-crippleware (and expensive!) versions of Visual Studio, you’re going to miss a lot of the ease of development that comes standard with Eclipse/Netbeans/IntelliJ (lack of decent Subversion support really pisses me off, in particular).
It’s too bad, too, because C++ is actually a fairly pleasant language apart from the dismal IDE landscape…