Vista C Compiler

3

1

What is a good C compiler for Windows Vista?

The Green Frog

Posted 2009-08-18T13:12:50.157

Reputation: 954

1

refer: http://stackoverflow.com/questions/120533/c-c-compiler-for-vista

– hyperslug – 2009-08-18T13:15:51.510

Answers

6

Mingw works. ( http://www.mingw.org/ ) Mingw is a port of GNUCC to Windows.

You can also use Code::Blocks IDE which comes with MinGW.

TinyC Compiler is another compiler, but i prefer MinGW myself. :)

Umut Benzer

Posted 2009-08-18T13:12:50.157

Reputation: 294

17

Visual C++ 2008. The Express Edition is even free.

Preemptive answers: yes, it can compile C code as well as C++ code, and it can compile native code as well as managed .NET code.


Update: see matthew's answer for instructions on how to configure VC++ to compile pure C code.

Lucas

Posted 2009-08-18T13:12:50.157

Reputation: 280

I have tried it before and it was a painto figure out how it worked – The Green Frog – 2009-08-18T13:33:24.780

If you add a link to how to get VC++ to compile specifically to pure C code, I'll delete my answer (wish I had more karma to do it myself). – スーパーファミコン – 2009-08-18T23:18:58.187

6

Visual C++ with it set to compile to pure, unadulterated C.

スーパーファミコン

Posted 2009-08-18T13:12:50.157

Reputation: 4 719

1

joe

Posted 2009-08-18T13:12:50.157

Reputation: 11 615

Your two first links is the same url. – Patrick Desjardins – 2009-08-18T14:45:38.677

any reason for down vote? – joe – 2009-08-20T00:48:31.457

0

dev C++ is a good and lightweight compiler for any version of windows. http://www.bloodshed.net/devcpp.html

Sakamoto Kazuma

Posted 2009-08-18T13:12:50.157

Reputation: 833

Definitely +1 for Dev-C++. Its a bit outdated (no native 64bit version yet). I cut my teeth on bloodshed's software (and remember my mom freaking when she found "bloodshed.net" in the history when I was in high school) and later moved on to Visual Studio before settling on the Linux CLI (vim/emacs + gcc). – Andrew Scagnelli – 2009-08-18T14:41:08.340

-1 for Dev-C++. It's adondandware. Go with something that's actually maintained / updated. – KTC – 2009-08-20T01:36:41.317

0

If you're willing to dive into the command line (and as a programmer, you should expect to eventually), the Gnu Compiler Collection is a great choice. Its been around since pretty much forever (1980s in real-life terms) and it or its offshoots can compile most anything (Ada, anyone?) and target most anything (TIGCC if you want to write for your TI graphing calculator).

If the command line is still too scary, there are a few front ends to make things easier.

GCC, however, isn't a full on development environment. You'll have to use a separate text editor, of which there are many good ones on Vista (I'm partial to Vim for Windows, Emacs, and Notepad++, all of which support syntax highlighting and auto-indentation).

Andrew Scagnelli

Posted 2009-08-18T13:12:50.157

Reputation: 1 777

0

The free command line Borland C++ 5.5 is good.

riza

Posted 2009-08-18T13:12:50.157

Reputation: 153