Code Blocks is a pretty good IDE that works in both Linux and Windows.
I understand you're used to Visual Studio in Windows. You're unlikely to prefer Code Blocks to Visual Studio. But the fact that the same IDE is available on both can be a significant advantage compared to a Windows only IDE on Windows and a Linux only IDE on Linux.
The install of Code Blocks on Linux doesn't actually install everything you'll need to use Code Blocks. You need to install other packages as well and on line resources that I know of are pretty bad at explaining that. I think that is generally true of Linux IDEs, not specific to Code Blocks. I don't recall enough details to save you the trouble, so you may need to ask about specific things that don't work and then someone will tell you what extra package you need to install.
Any IDE has some seriously counter intuitive behaviors. You may have already forgotten some initial frustration you had with Visual Studio, before you got used to its quirks. Code Blocks also has some serious quirks you need to get used to. But once you're used to it, it will have been worth the trouble.
For simple C++ programs, you could get up to speed faster using any simple text editor and compiling directly with g++. Many programmers permanently prefer that mode. I can't understand how they can stand debugging directly with gdb, but it seems many programmers are OK with that.
So my opinion only (not a statement of generally agreed facts): It is worth the initial extra effort to start with Code Blocks (vs. a text editor and g++) so that you can grow more smoothly into more complicated projects.
There are a bewildering number of other choices available. There are GUI wrappers for gdb, that are separate from IDEs, so if gdb were the primary objection to using a text editor instead of an IDE, it isn't enough reason on its own. There is no right answer to which of those alternatives is best. I've tried many (but probably a small fraction of what is out there) and prefer Code Blocks. I expect you'll hear opposite opinions from others. Make a guess and try it (rather than wait for a convincing "best" answer to get posted).
After you choose an IDE (or non IDE) it should not be hard to find an online C++ tutorial that uses the same one.
Last edited by johnsfine; 08-15-2011 at 02:06 PM.