C++

Introduction to C/C++ Programming

Description: This course covers C programming, focusing on execution threading (loops, function calls, recursive functions), memory manipulation (structured types, pointers, stack and heap, binary representations). The first steps towards object-oriented design (encapsulation without the syntax of an object language like C++). This course also covers the aspecst of separate compilation (headers, external variables, linkage, dynamic libraries, etc.).

Learning outcomes: On completion of this course, students will be able to write, compile and debug C/C++ programs involving the basic elements of the language.

Evaluation methods: Assessment based on participation in experiments and results.

Evaluated skills:

  • Development

Course supervisor: Hervé Frezza-Buet

Geode ID: SPM-INF-003

External resources:


CM:

  1. Fil d’exécution, pile 1/2 (1.5 h)
  2. Fil d’exécution, pile 2/2 (1.5 h)
  3. Organiser la mémoire 1/2 (1.5 h)
  4. Organiser la mémoire 2/2 (1.5 h)
  5. Compilation séparée (1.5 h)
  6. Définition de types et encapsulation (1.5 h)
  7. STL et smart pointers (1.5 h)

TD:

  1. Collections 1/2 (1.5 h)
  2. Collections 2/2 (1.5 h)
  3. Vérification acquis (1.5 h)

TP:

  1. Fil d’exécution, pile (4.0 h)
  2. Ranges (4.0 h)
  3. Simulateur de réseaux de Petri (4.0 h)
  4. Rendu graphique de height fields (4.0 h)
  5. Rendu graphique de height fields (4.0 h)
  6. Finitions des TPs (4.0 h)