code::block is cross platform and you can use it in ubuntu too. Install it from software center.

You can also try QCreator!