https://github.com/alainlebret/cpplab
Travaux pratiques de C++ / C++ Laboratory Works
https://github.com/alainlebret/cpplab
c c-plus-plus labwork programming-exercises tp
Last synced: about 2 months ago
JSON representation
Travaux pratiques de C++ / C++ Laboratory Works
- Host: GitHub
- URL: https://github.com/alainlebret/cpplab
- Owner: alainlebret
- License: other
- Created: 2016-12-16T09:00:58.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2019-04-03T12:01:04.000Z (about 7 years ago)
- Last Synced: 2025-03-02T07:48:21.007Z (over 1 year ago)
- Topics: c, c-plus-plus, labwork, programming-exercises, tp
- Language: C++
- Size: 154 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: COPYING
Awesome Lists containing this project
README
## Quelques travaux pratiques en C++
L'ensemble des documents provient d'anciens TP de C++ donnés de 1995 à 2003 (sommairement mis à jour en 2018).
### Licences
* L'ensemble des contenus du dépôt (documents, sujets, corrigés et exemples de code) est proposé sous licence [MIT](https://opensource.org/licenses/MIT).
### Liste des TP présents sur ce dépôt
- :one: [Résolution d'une équation du second degré](sujets/tpcpp01.md) (_[correction](correction/corrige_tp01)_)
- :two: [Déverminage d'un programme](sujets/tpcpp02.md) (_[correction](correction/corrige_tp02)_)
- :three: [Conversion décimale/binaire](sujets/tpcpp03.md) (_[correction](correction/corrige_tp03)_)
- :four: [Tri d'un tableau de caractères](sujets/tpcpp04.md) (_[correction](correction/corrige_tp04)_)
- :five: [Recherche dans un tableau de caractères](sujets/tpcpp05.md) (_[correction](correction/corrige_tp05)_)
- :six: [Recherche de palindromes](sujets/tpcpp06.md) (_[correction](correction/corrige_tp06)_)
- :seven: [Lecture et écriture dans un flux d'entrées/sorties](sujets/tpcpp07.md) (_[correction](correction/corrige_tp07)_)
- :eight: [Tri et recherche dans un fichier](sujets/tpcpp08.md) (_[correction](correction/corrige_tp08)_)
- :nine: [Compression RLE](sujets/tpcpp09.md) (_[correction](correction/corrige_tp09)_)
- :keycap_ten: [Chiffrement XOR](sujets/tpcpp10.md) (_[correction](correction/corrige_tp10)_)
### Compilation
Depuis la racine du dépôt :
```bash
make
```
Compiler une cible spécifique :
```bash
make tp09
```
Exécuter un TP avec ses ressources :
```bash
make run-tp09
```
Les `makefile.lin` des dossiers `correction/corrige_tpXX` sont conservés et orchestrés par le `Makefile` racine.
-----
## Some laboratory works in C++
All the documents come from my course presented from 1995 to 1997.
### Licensing
* All repository content (documents, lab handouts, corrections and code samples) is licensed under the [MIT License](https://opensource.org/licenses/MIT).
### List of laboratory works (in _french_)
- :one: [Solving a quadratic equation](sujets/tpcpp01.md) (_[correction](correction/corrige_tp01)_)
- :two: [Debugging](sujets/tpcpp02.md) (_[correction](correction/corrige_tp02)_)
- :three: [Conversion from decimal to binary](sujets/tpcpp03.md) (_[correction](correction/corrige_tp03)_)
- :four: [Sorting](sujets/tpcpp04.md) (_[correction](correction/corrige_tp04)_)
- :five: [Searching](sujets/tpcpp05.md) (_[correction](correction/corrige_tp05)_)
- :six: [Palindromes](sujets/tpcpp06.md) (_[correction](correction/corrige_tp06)_)
- :seven: [I/O streams](sujets/tpcpp07.md) (_[correction](correction/corrige_tp07)_)
- :eight: [Sorting and searching in a file](sujets/tpcpp08.md) (_[correction](correction/corrige_tp08)_)
- :nine: [RLE Compression](sujets/tpcpp09.md) (_[correction](correction/corrige_tp09)_)
- :keycap_ten: [XOR Ciphering](sujets/tpcpp10.md) (_[correction](correction/corrige_tp10)_)
### Build
From the repository root:
```bash
make
```
Build a specific target:
```bash
make tp09
```
Run a TP with required data files:
```bash
make run-tp09
```
Legacy `makefile.lin` files in `correction/corrige_tpXX` are kept and orchestrated by the root `Makefile`.