Stop learning alone!

Learn faster and stay on-track by joining this free class with other self-learners.

Register for Programming in C now.

Programming in C

Class length: 8 weeks. Start anytime.

Creator: kday

Status: Established

Join this class!

Any advice on which simple compiler to use in Windows?

I saw this page, but does anyone recommend one over another? Windows environment here. Thanks!

TheKevan
1 year ago

Reply


I'm using a Mac, but if I was using Windows I'd install cygwin and use it to install gcc. Cygwin provides a simple point-and-click interface for installing Unix software on Windows (by emulating the lower levels of Linux and running the Unix software on top of that).

Three benefits:

  • You only need to worry about compiling your programs, not learning an IDE as well;
  • You'll be using the same environment as those on this site using Linux and Mac (gcc and a bash shell), so everyone should be able to help out if you run into difficulties;
  • Having a Unix-like environment available might be helpful for Lesson 8: The UNIX System Interface - I'm not sure how a pure Windows C compiler would work with that section of the book.
arideden
1 year ago

Reply

Thanks, Cygwin might be a little more than I want to bite into at the moment, but one day.

Cheers!

TheKevan
1 year ago

Reply

I've never used Cygwin, but I'll have to try it on my Windows laptop. I like Codeblocks - http://www.codeblocks.org/

Even though it is listed as a C++ IDE, you can use it for C programming, as well. I now have it installed on Windows and Linux on my Desktop.

bsquared
1 year ago

Reply

I will try Codeblocks, thanks!

TheKevan
1 year ago

Reply

Hey, try using bloodshed, http://www.bloodshed.net/devcpp.html. it will automatically install gcc if you dont have it installed and provides a nice ide for c/c++ development.

rudasi
1 year ago

Reply

I will give it a shot, thanks!

TheKevan
1 year ago

Reply

I use Codeblocks mingw setup, which includes the GCC compiler and GDB debugger (http://www.codeblocks.org/downloads/binaries).

madlynormal
1 year ago

Reply

Second recommendation for this one, I will definitely give it a shot, thanks!

TheKevan
1 year ago

Reply

I ended up installing MinGW from mingw.org. Thanks!

TheKevan
1 year ago

Reply

* Markdown Cheatsheet:

Link:
[clickable text](http://www.example.com)

New Paragraph:
Hit enter twice

Main heading:
# Main Heading Text

Sub-heading:
## Sub-heading Text

List:
* item 1
* item 2
* item 3

Italics:
*italicized text*

Bold:
**bold text**

YouTube:
URL (http://www.youtube.com/watch?v=Ui4AYPcRkYE) turns into embed code

Full Markdown reference