Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

C compiler from where?

I want to learn C language (is this something good ?) and i didn't know from where i can download the language to my PC ? and are this FREE or must pay for ?

like image 895
Sherif Avatar asked Jul 30 '09 16:07

Sherif


People also ask

Who developed C compiler?

The first C compiler, written by Dennis Ritchie, used a recursive descent parser, incorporated specific knowledge about the PDP-11, and relied on an optional machine-specific optimizer to improve the assembly language code it generated.

When was C compiler invented?

A successor to the programming language B, C was originally developed at Bell Labs by Ritchie between 1972 and 1973 to construct utilities running on Unix. It was applied to re-implementing the kernel of the Unix operating system. During the 1980s, C gradually gained popularity.

Where is C language written?

C, computer programming language developed in the early 1970s by American computer scientist Dennis M. Ritchie at Bell Laboratories (formerly AT&T Bell Laboratories).

What is C compiler?

Online C Compiler (GNU GCC v7. 1.1) helps you to Edit, Run and Share your C Code directly from your browser. This development environment provides you version GNU GCC v7.


2 Answers

Is C a good language? Definitely. Is it the best first language? Depends.

If you are using Windows, you can download Visual C++ 2008 Express Edition SP1 from Microsoft for free.

On Ubuntu, just run

sudo apt-get install build-essential

On Mac OS X, install Xcode from Snow Leopard/Leopard DVD (or download the latest version from Apple developer Web site)

like image 161
mmx Avatar answered Sep 21 '22 21:09

mmx


There are quite a few free C compilers for the PC.

As seen above, MS Visual Studio comes in a free version.

However, most introductory C programming materials will work best in a unix-like environment. Two options for such an environment are:

  • Cygwin, which provides a unix-like environment that can be installed over a windows system.

  • MinGW32/MSYS, which natively ports GCC and some unix-like development tooling onto Windows, allowing you to use GCC to build native Win32 apps.

For learning you might be better off running a native unix/linux environment. If you already have Windows and don't want to uninstall or dual-boot you can run this under a VM. Several free hypervisors are available that will let you do this.

like image 42
ConcernedOfTunbridgeWells Avatar answered Sep 19 '22 21:09

ConcernedOfTunbridgeWells