Presentation is loading. Please wait.

Presentation is loading. Please wait.

Language C (1) By Randa. Generalities: Types of programmes: -operating system ”système d’exploitation” like Windows XP, Windows 98, Unix, Linux… -programmes.

Similar presentations


Presentation on theme: "Language C (1) By Randa. Generalities: Types of programmes: -operating system ”système d’exploitation” like Windows XP, Windows 98, Unix, Linux… -programmes."— Presentation transcript:

1 Language C (1) By Randa

2 Generalities: Types of programmes: -operating system ”système d’exploitation” like Windows XP, Windows 98, Unix, Linux… -programmes of application. Different levels of languages: -machine’s language written just by 0 and 1. -assembly language (use symbols). -high level languages (like C, JAVA, C++,…)

3 Generalities: Bases of programming: -algorithm: a logical sequence of steps for solving a problem, often written out as a flow chart, that can be translated into a computer. -program: translation of an algorithm into a programming language that tells a computer to perform a task.

4 Generalities: -programming language: a unique vocabulary and set of rules for writing computer programs.

5 Historic: 1970 : Development of language C by Dennis Ritchie in Laboratories Bell of AT&T. 1978 : Publication of « The C programming language» by Kernighan & Ritchie, definitive specification of language C. 1982 : Production of standard ANSI (« American National Standards Institute ») C, standard version of language C. 1983 : Development of C++ by AT&T. 1988 : appearance of the second edition of « The C programming language».

6 Characteristics of language C: It is a versatile language which allow the development of operating systems, programs of application and management. Advantages: *universal: not specific for one type of applications. *compact: based on a limited number of functions and operators used to write simple, efficient expressions.

7 *modern: it is a structured, recursive …language. *rapid and close to the machine: it uses expressions and operators which are so close to the machine language. Functions, which it uses, allow the access to the intern functions of the computer simply and direct.

8 *independent: it can be used on any computer if it has the C compiler. *portability: it respect the standard ANSI-C; any program written in C can be used in another operating system but we have to recompile it. *extensible: it uses libraries of functions done by different developers.

9 Disadvantages: *comprehension: the code source can be not clear for others because of the use of compact expressions so we need to write commentary. *Portability and libraries of functions: the use of some specific functions (like the use of a special graphic card) that may threat the portability.

10 *style: unlike some other programming language (Pascal …), C doesn’t have a particular style of programming, so every programmer have to create his own style.

11 Bibliography: Cours Environnement de développement “Introduction”____Mme L.Ketari___ENSI Tunisie


Download ppt "Language C (1) By Randa. Generalities: Types of programmes: -operating system ”système d’exploitation” like Windows XP, Windows 98, Unix, Linux… -programmes."

Similar presentations


Ads by Google