TD 6
11
td6.md
11
td6.md
@@ -50,7 +50,6 @@ Proposez une structure cohérente
|
|||||||
|
|
||||||
* L’utilisateur choisit un compte existant.
|
* L’utilisateur choisit un compte existant.
|
||||||
* Le programme demande :
|
* Le programme demande :
|
||||||
|
|
||||||
* le type d’opération : **Dépôt (D)** ou **Retrait (R)** ;
|
* le type d’opération : **Dépôt (D)** ou **Retrait (R)** ;
|
||||||
* le montant (nombre réel positif).
|
* le montant (nombre réel positif).
|
||||||
* Le solde du compte est mis à jour.
|
* Le solde du compte est mis à jour.
|
||||||
@@ -89,13 +88,6 @@ Solde actuel : 150.00 €
|
|||||||
## NCurses
|
## NCurses
|
||||||
|
|
||||||
|
|
||||||
Compilation d’un programme utilisant ncurses
|
|
||||||
|
|
||||||
```shell
|
|
||||||
$ gcc main.c -lncurses -o banque
|
|
||||||
```
|
|
||||||
|
|
||||||
|
|
||||||
```C
|
```C
|
||||||
#include <ncurses.h>
|
#include <ncurses.h>
|
||||||
|
|
||||||
@@ -133,9 +125,6 @@ mvprintw(3, 5, "Nom : ");
|
|||||||
getstr(nom);
|
getstr(nom);
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
fichier tasks.json
|
fichier tasks.json
|
||||||
|
|
||||||
```json
|
```json
|
||||||
|
|||||||
Reference in New Issue
Block a user