Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

Got a question related to programming. I was planning to choose one more language, besides Java, and stuck between choosing C or C++. I am planning to create apps specifically for Ubuntu with GUI (Graphical User Interface) like (Wine, bumblebee and etc) so what is your recommendation? Which one should I learn C or C++? If you can, please also explain what language is orientated on what? Thank you very much I appreciate your answers!

share|improve this question
it is esyer to create GUI using java and not c++ nor c –  geoh May 13 '12 at 15:17

1 Answer 1

up vote 1 down vote accepted

My answer will tell you that c++ is just a newer version of c.

C++ is meant to be backwards compatible with C, so you can write c code in your c++. If you are familiar with java, c++ is closer to that than c. Plus I would recommend c++ anyway.

These are just general differences between the languages though. your ability to create gui programs similar to the ones you have mentioned (neither of which i have used before) will have a lot more to do with the libraries / api for the window manager you chose than the language itself.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.