• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Paul Clapham
  • Jeanne Boyarsky
  • Junilu Lacar
  • Henry Wong
Sheriffs:
  • Ron McLeod
  • Devaka Cooray
  • Tim Cooke
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Frits Walraven
  • Tim Holloway
  • Carey Brown
Bartenders:
  • Piet Souris
  • salvin francis
  • fred rosenberger

C compiler

 
Ranch Hand
Posts: 99
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi, I was wondering, what is a good compiler to download for C?
Also is there a beginner forum for C on this site or does it does go into this category?
 
lowercase baba
Posts: 12856
52
Chrome Java Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
This is the right forum.  
 
Ranch Hand
Posts: 179
3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Hanna

Which OS? If Windows, then there's a free version of Microsoft Visual Studio C/C++:
https://visualstudio.microsoft.com/vs/features/cplusplus/

Cheers
John
 
Hanna Roberts
Ranch Hand
Posts: 99
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks for the suggestion but I have a Mac that I will be working on mostly. Do you know any that would work ?
 
Marshal
Posts: 69495
277
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Other OSs will use gcc or its C++ counterpart. If you find Modern C by Jens Gustedt (Manning), I think it has a section about different compilers in.
 
John Matthews
Ranch Hand
Posts: 179
3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I just googled "c compilers for mac" and this was the top result; might be worth a look:
https://www.macworld.co.uk/how-to/mac/learn-c-in-mac-os-x-3639920/
 
Hanna Roberts
Ranch Hand
Posts: 99
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks, Ill looks into those things
 
John Matthews
Ranch Hand
Posts: 179
3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Actually you can get Visual Studio for Mac as well:
https://visualstudio.microsoft.com/vs/mac/

Can't tell you whether it's any good, but I imagine there's a fair amount of support for it out there in one form or another.
 
John Matthews
Ranch Hand
Posts: 179
3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

John Matthews wrote:Actually you can get Visual Studio for Mac as well:


...but not for C apparently; sorry.
 
Campbell Ritchie
Marshal
Posts: 69495
277
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have found my copy of Gustedt, and page xiii gives you some good news:

Platforms vary widely in what they offer, so it is difficult to advise on specifics. On Unix-like environments such as Linux and Appleā€™s macOS, you will find editors such as emacs and vim, and compilers such as c99, gcc, and clang.
You must be able to do the following:
1 Navigate your file system.  . . .
2 Edit programming text. . . .
3 Execute a program. . . .
4 Compile programming text. . . .
If you have never programmed before, this book will be tough . . .

 
It's a beautiful day in this neighborhood - Fred Rogers. Tiny ad:
Devious Experiments for a Truly Passive Greenhouse!
https://www.kickstarter.com/projects/paulwheaton/greenhouse-1
    Bookmark Topic Watch Topic
  • New Topic