One of the most widely recognised ProgrammingLanguages in the world.
It was designed by DennisRitchie (along with other famous people such as KenThompson and BrianKernighan) as the SystemsProgrammingLanguage? to write their portable Unix OperatingSystem in. It was originally derived from BCPL but evolved radically. C is a great SystemsProgrammingLanguage?, but blamed for many problems with applications which many complain it is unsuited for.
From fortune(6):
and
C has inspired an entire class of languages, including C++ which some say fixes many problems with C, while others debate is just a horrible mess. Java has decended from C++ as a portable, clean ObjectOrientatedProgrammingLanguage?, and which in turn is the inspiration for CSharp, MicrosoftCorporation's new language.
See the C History.
I recommend you learn C, and use it for writing OperatingSystems?, and understanding how things actually are implemented, but then code in some other programming language if you are going to write applications, especially networking programs.
The following example is a program to approximate the value of pi (Compile it with "gcc -traditional-cpp -o pi pi.c"). If you want a better approximation, increase the program's source code area :).
/*
- Program to compute an approximation of pi
- by Brian Westley, 1988
- /
- define _ -F<00||--F-OO--;
int F=00,OO=00; main(){F_OO();printf("%1.3f\n",4.*-F/OO/OO);}F_OO() {
---
--------_
-----------
-------------
--------------_ --------------_
--------------- --------------- --------------- ---------------
--------------_ --------------_
-------------
-----------
-------
---
}
(As seen in JargonFile:Obfuscated-C-Contest.html)
Various snippets of information about C in the wiki:
CategoryProgrammingLanguages, CategoryImperativeProgrammingLanguages, CategoryMachineOrientedProgrammingLanguages, CategorySystemsProgrammingLanguages
112 pages link to C:
lib/main.php:944: Notice: PageInfo: Cannot find action page
lib/main.php:839: Notice: PageInfo: Unknown action