toto/BE c/projet/bdd.h
2026-01-15 12:23:17 +01:00

20 lines
No EOL
596 B
C++

#ifndef bdd_H
#define bdd_H
#include "ecran.h"
#include "bouton.h"
#include <list>
#include <string>
using namespace std;
//Permet de faire défiler le texte sur l'écran
// Paramètres : lcd = écran à utiliser, texte = texte à faire défiler
void defileTexte(ecran &lcd, String texte);
// Affiche les thèmes disponibles et lance le quiz correspondant
void listequestions_init(ecran &lcd, bouton &boutonRelief, bouton &boutonPlat);
//Fonction principale pour jouer à un quiz
void play(ecran &lcd, list<string> Questions, int reponses[], bouton &boutonRelief, bouton &boutonPlat);
#endif