• 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 Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

how do I get a compiler for C?

 
Greenhorn
Posts: 17
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
When I began self study on Java, someone encouraged me here to start with C. I went on with my Java and I'm enjoying the learning. However, I just started my Msc and C is among those language we must know. I did C during my undergraduate days but can't remember a thing on it. I've downloaded "C How to Program" by Paul Deitel. Please, how do I get a compiler for C? Can I compile C on cmd like Java? If yes, how? If no, what should I do? Gracia!
 
author
Posts: 23951
142
jQuery Eclipse IDE Firefox Browser VI Editor C++ Chrome Java Linux Windows
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

It may help if you told us what Operating System and hardware you are using. The write once, run anywhere, philosophy of Java doesn't apply to C, so, it will vary from platform to platform.

Henry
 
Biodun Adeniji
Greenhorn
Posts: 17
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Henry Wong wrote:
It may help if you told us what Operating System and hardware you are using. The write once, run anywhere, philosophy of Java doesn't apply to C, so, it will vary from platform to platform.

Henry



Thanks, Henry. I'm using windows 10 enterprise 64 bits.
 
Marshal
Posts: 79180
377
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Have you searched anywhere for a C compiler? Have you been told what to install in your lectures?
 
Campbell Ritchie
Marshal
Posts: 79180
377
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
This appeared when I searched. Can you use Eclipse?
 
Henry Wong
author
Posts: 23951
142
jQuery Eclipse IDE Firefox Browser VI Editor C++ Chrome Java Linux Windows
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
For Windows, and actually, for many platforms, the free compilers are from GNU. Eclipse (mentioned by Campbell) is the GUI layer (ie. IDE) on top of the command line compiler.

If, you only want the command line compiler, there are two options. The best option is Cygwin, which brings the whole GNU tool set within reach, for the Windows command line. Some people don't like that, so GNU also has an option to bring the minimum needed to run the C/C++ compiler.  


On the other (third) hand, it can be argued that many companies that code C/C++ on Windows, uses the Microsoft tool set. So, downloading the visual C/C++ compiler from Microsoft may also be a good idea (for learning purposes)... but ... I don't think this compiler is free.

Henry
 
Whip out those weird instruments of science and probe away! I think it's a tiny ad:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic