Course C Initial – An Introduction


Hello Folks! Today we’ll see a few about C Programming Language history. Before, some things…

C is a compiled programming language.
C is structured in code blocks with ‘{}’
C is Case Sensitive.

Then, Let’s go to a few about the history.

A Brief History of C

C is a general-purpose language which has been closely associated with the UNIX operating system for which it was developed-since the system and most of the programs that run it are written in C.
Many of the important ideas of C stem from the language BCPL, developed by Martin Richards. The influence of BCPL on C proceeded indirectly through the language B, which was written by Ken Thompson in 1970 at Bell Labs, for the first UNIX system on a DEC PDP-7. BCPL and B are "type less" languages whereas C provides a variety of data types.
In 1972 Dennis Ritchie at Bell Labs writes C and in 1978 the publication of The C Programming Language by Kernighan & Ritchie caused a revolution in the computing world.
In 1983, the American National Standards Institute (ANSI) established a committee to provide a modern, comprehensive definition of C. The resulting definition, the ANSI standard, or "ANSI C", was completed late 1988.

Now, We’ll see how is the structure of a program in C.
A program in C has this structure:


First, we can see “#include”, this is because in C, we have libraries. In C, the programmer needs include libraries. So after this, we have <stdio> NOTE: We can use with <> or “”, that’s just a choose.


So, now we see ‘int main() {}’, C is a Language that uses functions all the time, all in C happen inside functions. For now, we have the ‘main’ function, all the programs need it. After, ‘()’ the parentheses is where be the parameters, in this case, it be empty.
For last, the commands of the program be inside the main function how you can see in the picture. In the next lesson, we’ll speak about the libraries in C language.
Well, that’s all folks!

Comentários

More Famous Posts

Course C Initial 7th – Training with Math

Course C Initial – 3rd Variables Part. 1

Course Python For Life 3 – Input Command