Beruflich Dokumente
Kultur Dokumente
The reason why the language is called C is that it is the successor to the language
called B which was developed by Ken Thompson in 1970 while working on DEC PDP-
7. B was the successor the language called BCPL (Basic Combined Programming
Language) which was developed by Martin Richards.
The C Language was designed in 1972 by Dennis Ritchie and first implemented at
Bell Laboratory using DEC PDP-11 computer.
In 1978 Brian Kernighan and Dennis Ritchie wrote the famous book called THE C
PROGRAMMING LANGUAGE.
Programmer is the one who write the computer program and the first lady
programmer is Lady Augusta "Ada" Byron.
Translator is use to transform the source code into a machine language that the
computer can understand.
Linker is use to adjust the translated source file so that the program will run. Linking
is usually distinct from the compiling process on a machine running MS-DOS.
____
ALGORITHM
An Algorithm is a list of instructions for carrying out some problems step by step.
Features of C-Language
3. Portable - tasks that requires interaction with peripheral device; Portable such as
disk drives or the video display, can be handled by standard library routines, which
are not part of the c-language itself.
1. In Pascal, you can use lower case and uppercase but in C, you are only allowed to
use lower case only for input and output.1. In
3. In Pascal, we use BEGIN and END in C {left curly braces signifies the beginning of
the program while right curly braces signifies the end of the program.
5. In Pascal, we use write or writeln to print the output list. In C, printf as write and
printf("backslash n") for writeln.
6. In Pascal, we use read or readln to read from the keyboard. In C scanf, gets,
getch, getche, getchar in different kind usage.
2. Declarations - Establish names and define characteristics such as size, scope, and
data types.
3. Definitions - are declarations that allocate storage.
3.1 Function definition - declares the function name, its parameters, and the data
type of the value it returns.
3.2 Statement order - affects how you can use variables and statement order
functions.
3.3 Loops
3.4 Subroutines
Read more:
http://wiki.answers.com/Q/What_is_the_history_of_Turbo_C_program#ixzz1J6z6oCgn