compile c++ program in ubuntu

I m beginner.
I want to know that how to compile c/c++ programs in linux OS(eg. in UBUNTU)??
Download the GCC compiler through Synaptic Package Manager or through the console, then, if you want an IDE, I would suggest getting Code::Blocks. If you're using v10.10, you can find it in the Software Center.
Thanks
Topic archived. No new replies allowed.