Code::Blocks is a cross-platform Integrated Development Environment (IDE). To install Code::Blocks on Ubuntu, simple search Code::Blocks in Ubuntu Software Center, or click this link.
Create Hello World (hello.cpp) using Code::Blocks
Create Hello World Project using Code::Blocks
Hello World Project with multiple files, Code::Blocks