Gaurav
Gaurav

Reputation: 701

Suggestion for C IDE?

I used to use gcc compiler on my unix machine. I am now forced to work on a windows machine. Is there any cool IDE or a simple editor for C with a unix terminal like feel (Black Screen and colored syntax on it :))

What other editors/IDE are as robust as gcc for windows? Also what is your personal favorite. I would like a try a few of the those before I stick with one.

Thanks.

Upvotes: 3

Views: 3122

Answers (12)

suresh pareek
suresh pareek

Reputation: 98

Net beans Code block Dev c++ code lite are good IDE

Upvotes: 0

mrsheen
mrsheen

Reputation: 892

Zeus is a very nice programmer's editor. I just love it's Brief keyboard emulation.

Upvotes: 4

Eran
Eran

Reputation: 2400

I recommend codelite - cross platform, free IDE designed for GNU toolchain.

Upvotes: 1

user1481860
user1481860

Reputation:

If you are used to a Unix-y feel and are looking for a text editor, I'd honestly avoid installing Visual Studio. It's a nice IDE, but it is very heavyweight and perhaps much more than you are asking for. That said, you might of course find that you like it, but be aware that you are potentially looking at a several-hundred-megabytes download, 2 gigs for the full package IIRC.

Netbeans is good too, but fairly heavy, and a little difficult to get set up correctly with C and C++, at least last time I tried. It's a good alternative to VS, though.

I'd go for a more lightweight solution, like Notepad++, vim for Windows, or my personal favourite, Geany - http://www.geany.org/

Getting the black background & colored syntax is possible on basically any advanced text editor/IDE nowadays.

As for the compiler, MinGW is probably your best bet. Or you could nick the compiler & toolset that comes with Visual Studio Express :)

Upvotes: 2

darioo
darioo

Reputation: 47193

Visual Studio will be your best bet. Others have mentioned the free Express version which will probably be sufficient for your needs. Visual Studio is not only an IDE, it has Microsoft's compiler bundled with it. Since the choice of IDEs is vast, I'll leave it to you to choose the one you'll be comfortable with.

The venerable GNU gcc compiler is also available on Windows using Cygwin or MinGW.

If you want something pretty cutting edge, compiler wise, you should check out clang. For various reasons, this is the C compiler to keep your eyes on. It's relatively new and was built with IDE support in mind.

Upvotes: 2

ROAR
ROAR

Reputation: 1324

When visual studio already being mentioned, I have to mention Slickedit, not a IDE but a fantastic editor.

http://www.slickedit.com

Upvotes: 1

Vatsan
Vatsan

Reputation: 1173

Visual Studio 2010 has an express edition that's doanloadable for free. link text

gcc via Cygwin is another awesome choice esp. if you want to use Emacs as your IDElink text.

Personally, I tend to use both. I heavily lean towards Visual Studio 2010, but occasionally compile using gcc to make sure that both compilers are working the same way. This used to be beneficial in the past (pre VS2010), but I haven't had much success in catching VS2010 make mistakes - yet.

In terms of the overall experience of integrated development, debugging etc., it's hard to beat VS2010.

Upvotes: 0

Sandeep Singh Rawat
Sandeep Singh Rawat

Reputation: 1647

VIM or Emacs. Though I personally will never use anything other than VS :)

Upvotes: 12

John Dibling
John Dibling

Reputation: 101494

Visual Studio. You can change the fonts & colors however you want. I have been using the same coloring scheme since Borland Turbo C++ back in the 80's -- yellow text on a dark blue background.

Upvotes: 13

nategoose
nategoose

Reputation: 12392

mingw is Minimum Gnu for Windows. There are several add on packages to it, but it has gcc and g++. Occasionally there is an issue with some tool not acting exactly right with executables having .exe on their end or / and \\ in output statements, but it's pretty decent. I can't remember, but I think that there may be some reason that you can't run gdb in Windows, but I could be wrong.

You can also get versions of most of the *nix text editors for Windows. gVim is available if you like vi or vim. Versions of vi and vim for the command line are also available, but don't always act right with resized windows. gVim and vim can do syntax highlighting if you tell them to in the configuration file.

The last couple of versions of Windows have had (or been able to freely download and install) PowerShell, which I suggest you get. It is different from a *nix shell in many many ways, but often (not always) you can get away with using it just like a *nix shell. If you use pipes in it you should know that it likes to turn everything into utf-16, though. The main good thing I've found when using it as a better DOS window is that you can resize the window more freely. You can still use old DOS windows, though.

Another alternative is cygwin, which besides just the command line tools, presents more of a *nix environment for your programs. It includes libraries that make things look more like you are running on Linux from your programs' point of view (simulating many Linux system calls, for instance). I used this a long time ago, but it had some pretty severe problems back then. I have heard great things about it since then, but I have not had enough of a reason to try it out again.

Upvotes: 3

Daniel Fath
Daniel Fath

Reputation: 18109

IIRC DOS command prompt can change its color. Have you tried Cygwin and MinGW?

Upvotes: 3

Nim
Nim

Reputation: 33645

Cygwin is your friend. It gives you all the nice unixy stuff that you miss! :)

In terms of cool IDEs that will integrate nicely with gcc on Cygwin, you should try Netbeans, Eclipse (with CDT) - both require a decent JVM. If you do get Cygwin installed, there's xemacs and gvim I believe that you can get for it...

IMHO stick with Netbeans...

Upvotes: 6

Related Questions