18.11.2014 Views

Langages de l'informatique

Langages de l'informatique

Langages de l'informatique

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Machine p. 91 - Licence virtuelle<strong>de</strong>s droits d’usage en page 2.<br />

La mémoire dynamique ou“tas”<br />

<strong>Langages</strong> <strong>de</strong> l’informatique<br />

Patrick Bellot<br />

Introduction<br />

Les langages<br />

Les paradigmes<br />

Modèle impératif abstrait<br />

Boehm et Jacopini<br />

Programmation impérative<br />

Programmation fonctionnelle<br />

Programmation en logique<br />

Gestion <strong>de</strong> la mémoire<br />

Quatre types <strong>de</strong> mémoire<br />

Gérer sa mémoire<br />

Comptage <strong>de</strong> référence<br />

Syntaxe et sémantique<br />

Sémantiques<br />

Analyse lexicale<br />

Analyse syntaxique<br />

Compilation<br />

Interprétation<br />

Le tas est la zone <strong>de</strong> la mémoire dans laquelle le<br />

programmeur peut déci<strong>de</strong>r d’allouer <strong>de</strong> la mémoire.<br />

C’est au programmeur <strong>de</strong> gérer cette mémoire.<br />

Erreur connue et commune mais Corrigée :<br />

int *iota()<br />

{<br />

int *T = (int *)malloc(10*sizeof(int)) ;<br />

int i ;<br />

for (i=0; i

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!