Difference between revisions of "C programming language"
From Computer History Wiki
m (+link) |
m (→See also: +link PDP-11 C stack operation) |
||
Line 36: | Line 36: | ||
* [[Typesetter C]] | * [[Typesetter C]] | ||
+ | * [[PDP-11 C stack operation]] | ||
{{semi-stub}} | {{semi-stub}} | ||
[[Category: C Language]] | [[Category: C Language]] |
Revision as of 14:34, 28 June 2021
The C language.....
Dialects
There are two popular dialects, the original was K&R C, which spread with the original C compiler, and pcc, the portable C compiler. Later there was a ANSI standard to the C language, and it's usually refered to as just ANSI C.
hello world
K&R
#include <stdio.h> main(argc,argv) int argc; char **argv; { printf("Hello World\n"); exit (0); }
ANSI C
#include <stdio.h> int main(int argc, char *argv[]) { printf("Hello World\n"); return 0; }
C was derived[1] from an earlier language called B
A number of object-oriented languages have been influenced by C, including Objective-C, C++, D, Vala.