tags:

views:

393

answers:

10

Which IDE for C++ i should use on Windows?

Is there an IDE with support for editing on SSH(on linux server)?

I have very big C++ project without docs and editing it with text editor very difficult =(

+5  A: 

Have a look at Netbeans 6.8, specifically the Remote Development section:

Use the Development Host Manager in the C/C++ Options windows to define remote hosts. You can then use development tools on those hosts to build and run projects from your client system. Benefit from faster synchronization with the remote host.

I have been very happy using Netbeans remote debugging for a PHP project. Just configure it and on run it will to automatically ssh files to the remote server.

Alternatively, Visual Studio offers arguably the best C++ editor for windows C++ development, and you can script it to upload the files to a linux server.

Finally, you may want to look into Eclipse CDT as well.

Justin Ethier
+2  A: 

On Windows I prefer:

Visual Studio + WinSCP

Also take a look at E Text Editor

hkda150
+5  A: 

Eclipse is very powerful editor for both C++ and many other languages. It sounds like you're looking to develop from a Windows system for Linux?

WinSCP will make it possible for you edit files via SSH.

If your project is being stored in CVS, Subversion, Git, Mercurial, et al--Eclipse has plugins to integrate with these as well...

Buckwad
My standard eclipse Galileo distribution has support for remote systems, including remote shells / ssh terminials etc.
crowne
Unless you create s/w with a GUI, then I have to agree. Eclipse is a great editor, use dat many companies, with great features and lots of plugins (btw, there isn't a package for kosmic, if you are using Ubuntu)
Mawg
See also CodeBlocks http://www.codeblocks.org/ NetBeans http://netbeans.org/features/cpp/ et al and don't forget The Free Country http://www.thefreecountry.com/compilers/cpp.shtml
Mawg
+13  A: 

On Windows, it's hard to beat the freely available Visual Studio Express.

A viable alternative would be the Qt Creator, which is lightweight and comes with the completely awesome Qt library.

Shaun
+1 for 'completely awesome' ;)
Idan K
Qt is overrated
Matt Joiner
Qt is overrated twice. +1
erick2red
Qt is only overrated if you've never had to work with another UI toolkit. ;)
Shaun
+1  A: 

devc++ seems interesting. It's free and makes use of MinGW as a POSIX layer. It's great if you're interested in doing cross-platform development on Windows and Linux/UNIX.

Tom
Bug ridden and no longer being developed. If you use it, you should immediately switch to Code::Blocks.
anon
Thanks for the tip! (It's been a long while since I've had to develop C++ on Windows.)
Tom
A: 

For ssh-support, I'd say putty and emacs-on-server is an option. :)

Marcus Lindblom
+1  A: 

If your Linux box has x libraries you can run eclipse cdt on it and use a cygwin x server to display it on Windows. I have been using this setup since the usb ports stopped working on my Solaris box. The results are very good. Eclipse runs on my Solaris box but behaves like a Windows app on my windows box, the code builds and runs on Solaris, copy and paste works most of the time too.

Run x server on windows. Use putty to ssh to your Linux box with x forwarding. Start eclipse and it displays on windows. Use nohup to keep eclipse alive if you close putty.

iain
+1  A: 

CodeBlocks.

It comes with MinGW.

jonescb
A: 

For a programming project stored on a linux server, I prefer Git. I do not know if more people are involved, but using git can make programming in a group a lot easier.

And as IDE I prefer Visual Studio. The RC for 2010 is now available at MSDN. Visual Studio 2010. Maybe you should give it a try.

Bright010957
+1  A: 

For editing you can use basically any editor that has FTP/SFTP support (I've used jEdit: free, a great tool with loads of plugins; played with SlickEdit: really cool but pretty expensive) or map the target drive in Windows using Samba or anything else of that nature. Then use Putty's plink for compiling/building.

Eugen Constantin Dinca