views:

4118

answers:

22

What would be a good alternative to Visual Studio ?

Free or non-free, but a free program definitely makes a better choice.

So what do you guys use ? If anything like that exist...

+3  A: 

Dev C++, it's lighter weight, and still have breakpoint debugging.

Xenph Yan
A: 

I hear good things about E, and I love TextMate which it is very similar to.

Kevin Conner
+4  A: 

How about Windows SDK, any old text editor, and Debugging Tools for Windows?

bk1e
Almost as good as Linux!
Patrick Niedzielski
+3  A: 

Does Visual C++ Express count as lighter than Visual Studio?

davr
I can't notice any difference, myself.
Bernard
+1  A: 

Notepad++, g++, gdb?

Dark Shikari
+3  A: 

C++ Builder

yowkee
+1  A: 

As Bernard has stated, you can just use the command line tools on their own from your Visual Studio installation. You may need to install a Windows SDK to be able to build native Win32 programs.

All installations of Visual studio that I know of install a shortcut link to open a command prompt window that has all of the environment variables set correctly to build. As far as I recall all you need is the appropriate PATH, INCLUDE, and LIB environment variables set.

Daemin
+1  A: 

Eclipse. www.eclipse.org

May not be what you call Light Weight...

A: 

Both Netbeans and Eclipse provide C++ support. Netbeans out-of-the-box and Eclipse in the form of a plugin.

Gili
A: 

Firstly, as an aside, why the aversion to visual studio? There's always Visual Studio Express, which I believe is free.

That said, you could use something like pspad which offers a pretty good project view, and lets you hook into the compiler of choice. As an example, with the microsoft sdk installed you've got access to msbuild and the other build tools offered by the sdk. Not sure how you'll go debugging but it'll get you building stuff.

I guess another option is cygwin with all the gcc bits installed.

Having said that, it's not clear what sort of project you are trying to build so it's a little difficult to offer correct advice. Horses for courses as they say.

Lou
never said I had an aversion to visual studio, I'm just looking for something more portable.
Robit
Ahh, ok, fair enough.
Lou
portable? And saying 'on Windows' in title? Hmmm...
sundar
+1  A: 

Use NMake, cl.exe, link.exe (all installed by Visual Studio) and Emacs (or vim, Notepad++, etc.)

Better yet, add CMake so that you can create cross-platform build descriptions.

Terry Lorber
+19  A: 

By "Editor, Compiler, Debugger", I'm taking you want an IDE:

Multi-Platform

Microsoft Windows

KTC
Good and comprehensive list ! thanks !
Robit
"Emacs is a great operating system, shame it doesn't have a decent editor". I keeed! :')
Bernard
For Windows there's also Bloodshed Dev-C++, based on MinGW (gcc) http://www.bloodshed.net/devcpp.html
bart
Dev-C++ is no longer maintained, use wxDev-C++ if you want to use that particular IDE, which is an update of Dev-C++, with added support for wxWidgets designer.
KTC
Why is netbeans under Windows-only? I'm pretty sure it works fine on other platforms as well, as it just uses gcc.
Herms
I have no idea... Fixed now! :D
KTC
+1  A: 

Dev-C++ is a good stand alone compiler debugger (a big plus is it has syntax completion).

Aside from that its always good to grab a good text editor (contex, notepad2 or maruo) and use command like tools from either Microsoft, Borland or whatever.

  • Some text editors (context) support command line tools integration, so the text editor become a mini ide.
  • It might be a good idea to write some batch scripts to automate compilation and linking.
Roman M
A: 

If you’re prepared to get your hands dirty tweaking command lines and writing make files then Zeus can be configured to be a lightweight C/C++ IDE.

Zeus also has the option to import MSVC solution and workspace files and once imported the project/workspace will build inside of Zeus.

jussij
+2  A: 

I tested most of the IDEs above and I must say that for me Code::Blocks was the best.

Iulian Şerbănoiu
+1  A: 

codeblocks is ALOT better then devc++ which was is (a) an abonded project and (b) chokes on compiling non simple stuff. they both use the same compiler, cygwin, but c::b is much much better to use.

Technical note: Cygwin isn't a compiler.
mathepic
A: 

SlickEdit has very good C++ support. It is an editor-cum-Swiss-Knife, it has refactoring support for C++ and strong navigation functionality, among other things.

MP24
A: 

Code::Blocks, an easy choice. I use it with Qt4,

geo
A: 

I also have used Visual SlickEdit, it allows for tagging and you can configure the crap out of it, color coding datatypes and tagging different file types was excellent and very helpful too been awhile since i used it though

WACM161
A: 

When I'm not using Visual Studio, I tend to use Dev-Cpp. Someone's even made a portable version you can carry on your thumbdrive. (Try doing that with Visual Studio :-) Plus I think it's good to not be locked down to one IDE.

Slapout
A: 

CodeLite is a free, powerful, cross platform and open source IDE for C/C++ programming. It can import MSVS workspace/projects and convert them to use a GNU-based makefile. IMO it's much better than Code::Blocks.

Rob Kam
+1  A: 

http://www.caerwyn.com/acme/

/me using acme in plan9port/linux

HTH

plan9assembler