principal

Dependencies:   mbed fastlib vga640x400

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers fichier.h Source File

fichier.h

00001 #include "mbed.h"  
00002     /*-------------------------------------------*/ 
00003     /* COMPTE LE NOMBRE DE LIGNE DANS LE FICHIER */
00004     /*-------------------------------------------*/ 
00005 int nombre_ligne_fichier(FILE* fp);
00006 
00007     /*-----------------------------------*/ 
00008     /* RETOURNE LE CONTENU DE LA LIGNE X */
00009     /*-----------------------------------*/ 
00010 void retourne_ligne(int num, char ligne[500], FILE* fp);
00011 
00012     /*-----------------------------------*/ 
00013     /* RETOURNE L'ÉLÉMENT X DE LA LIGNE  */
00014     /*-----------------------------------*/ 
00015 char* retourne_element_ligne(int num, char ligne[500]);
00016 
00017 
00018     /*----------------------------------------*/ 
00019     /* RETOURNE Le NUM DE LA BONNE REPONSE D  */
00020     /*----------------------------------------*/  
00021 int num_bonne_reponse( char ligne[500]);
00022 
00023 void lancer_question(void);