38 lines
1.0 KiB
C++
38 lines
1.0 KiB
C++
/*====================================
|
|
AUTEUR : Jérémy Hébert & William Godin
|
|
PROJET : Taxon
|
|
NOM DU FICHIER : mesFonctions.h
|
|
DATE : 17 novembre 2025
|
|
BUT : Contient la déclaration (prototype) des fonctions utiliser pour Taxon
|
|
====================================*/
|
|
|
|
#pragma once
|
|
|
|
//Librairies
|
|
#include <iostream>
|
|
#include <conio.h>
|
|
#include <fstream>
|
|
#include <string>
|
|
#include <Windows.h>
|
|
|
|
using namespace std;
|
|
|
|
//Affichage du logo
|
|
void afficherMenu(string nomFichier);
|
|
void ouvrirFichier(fstream& monFlux, string nomFichier);
|
|
void afficherImage(fstream& monFlux);
|
|
void fermerFichier(fstream& monFlux);
|
|
void delai();
|
|
void curseur(bool interrupteur);
|
|
void background(int couleur);
|
|
int demanderBackground();
|
|
void backgroundDefault();
|
|
|
|
// Mot
|
|
string choisirMot(string nomFichier, int maximum);
|
|
string goToLine(fstream& monFlux, int numeroLigne);
|
|
|
|
void effectuerTour(int nbLettre);
|
|
bool dansListe(string motPlayer);
|
|
bool comparerMot(fstream& monFlux, string motPlayer, int numeroLigne);
|
|
int lettreDansMot(string motRandom, string motPlayer, int nbLettre); |