Click here to Skip to main content
15,881,381 members
Please Sign up or sign in to vote.
4.56/5 (5 votes)
See more:
hi !
i working with c++ on my linux desktop (ubuntu 13.04 64 bit)
so, which should i will use c++ ide (eclipse or netbeans)

*note : i have to install opencv with them

thank !
Posted

Eclipse is an excellent (and my favorite) IDE for java. I wouldn't say the same about it if it comes to C/C++. Instead check out this: http://www.codeblocks.org/[^]. Most of the time I work on windows platform with Visual C++ but when I have to check out a linux bug in crossplatform code I use this stuff edit the source. Its surprisingly good free stuff.

EDIT: another option is running a virtual machine with windows and using Visual C++ in it to edit sources that are on the linux machine in a directory shared with the VM. In this case you have comfortable source editing but you have to compile the code on the linux (host) machine. This solution has the disadvantage of terribly slow and uncomfortable installation and switching between the host/guest wm can be uncomfortable. To circumvent this switching install an ssh client in the windows machine and login to the host. :-) After this you can do all the work inside the windows machine and you can switch with alt+tab between VisualC++ and the ssh client. You can use this trick to get any other windows-only editors on linux. Use VirtualBox[^] as a virtual machine. The virtual machine trick can be used quite well with Windows host and linux guest as well when you have a Windows machine and you keep an ubuntu inside the VM. You edit the source on windows and share your source directory with the linux machine. You log in to the linux machine with an ssh client (cygwin or putty) from the windows one and you can do the compilation. This has a disadvantage with VirtualBox compared to the previous solution: the virtual machine sometimes isn't aware that the files have changed in the shared folder from outside of the VM (by editing them on the windows machine with VS).
 
Share this answer
 
v2
Comments
enhzflep 22-Jul-13 6:58am    
:thumbs-up: CodeBlocks was going to be my suggestion too. Love it with a passion!
Windows, Linux x86/64, Linux Raspberry Pi - runs on all of them just great.

Extensions available to work with Arduino makes it a truly pleasant experience. :D
pasztorpisti 22-Jul-13 7:14am    
Thank you! Compared to eclipse it keeps the advantage of having the same look on all platforms and its better suited for C/C++ and has better "performance"/less laggy.
Eclipse is Good and Stable... But it depends what you have used in past days... If it is eclipse then you must use Eclipse...
Intellij is another great ide...
 
Share this answer
 
I used both of them . I strongly recommend you to use NetBeans IDE. Also our teachers advice us to use that. It easy and friendly on C++.
 
Share this answer
 
Eclipse
NetBens
Code::Blocks
SublimeText (not really a IDE)
IntellliJ with C++ Plugin
QT-Creator
KDevelop
emacs
vim
 
Share this answer
 
Comments
pasztorpisti 22-Aug-13 11:23am    
OP asks for the BEST C++ dev env in your opinion. Do you think these are all the BEST C++ IDEs at the same time?
C3D1 23-Aug-13 4:07am    
Every one of these IDEs has it's pro and cons. I like them all verry much!
pasztorpisti 23-Aug-13 9:32am    
And you use them all for C++ editing? Because the question is about C++. I'm using for example Eclipse because its superb for java but for C/C++ its terrible in my opinion. Since you havent mentioned Xcode I assume you don't develop for Mac so you are using all of these for at most windows and linux like system. How do you decide which of these to use for Window or for Linux when it comes to C++?

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900