Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

General Discussion

I wanted to learn C. Any suggestions for compilers?

Learning C

2 Answers

Ricky Catron
Ricky Catron
13,023 Points

If you are on windows:

The Visual Studios comes with a built in C compiler. It is pricey but also the easiest way to get up and running. Other solutions have been discuss in this Stack overflow question. They vary in complexity and none are "easy".

If you have Linux or can run it in a virtual box:

Simply type gcc in the console to test if you have it. If not simply google "installing gcc on 'whatever your OS is named' "

Goodluck! --Ricky

Edit: I completely forgot compiling online! Tutorial point has a great compiler for many different languages here. That should do for learning but I have no idea if you can download or save your work on it...

Thanks