0

This question already has an answer here:

Need a good c/c++ compiler for Ubuntu. I like coding or programming.

I used Dev-C++ on Windows. Is there any good compilers like Dev-C++?

I tried code::blocks ide but it seems a little buggy for me.

marked as duplicate by Oli Dec 18 '14 at 9:28

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

  • 2
    Are you looking for a compiler, or an IDE? Dev-C++ is an IDE that uses the mingw compiler. In either case @Nymeria answer is perfect. If you did mean IDE, though, please edit your question. – TheSchwa Aug 11 '14 at 10:39
  • 1
    Geany is a light-weight IDE and gcc & g++ are c & c++ compilers. – Sudheer Aug 15 '14 at 1:01
2

For c++, you can install g++ :

sudo apt-get install g++

For c you can install gcc

sudo apt-get install gcc

If you need an IDE you can install Netbeans

sudo apt-get install netbeans
  • You could add info about clang. – enedil Aug 14 '14 at 23:35
-1

I like very much "Sublime text"

For SUBLIME text2 :

sudo add-apt-repository ppa:webupd8team/sublime-text-2
sudo apt-get update
sudo apt-get install sublime-text

For SUBLIME text3

 sudo add-apt-repository ppa:webupd8team/sublime-text-3
 apt-get update
 sudo apt-get install sublime-text-installer
  • ST is a text editor, not an IDE and certainly not a compiler. – Oli Dec 18 '14 at 9:29
  • @oli you start war ? – Virbhadrasinh Gohil Dec 18 '14 at 9:31

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