TP1 TP2 DONE

已完成TP1和TP2
This commit is contained in:
2023-03-09 12:18:23 +01:00
parent d34936b229
commit 5dadd23503
15 changed files with 337 additions and 0 deletions

15
TP1/analyse_lexicale.c Normal file
View File

@@ -0,0 +1,15 @@
#include "analyse_lexicale.h"
#include "automate.h"
#include <stdio.h>
int main() {
FILE *pFile;
pFile = fopen("fichier.html", "rt"); // ouvre le fichier html
if(pFile != NULL){
getNextChar(pFile);
fclose (pFile);
}
else printf("Erreur d'ouverture du fichier\n");
return 0;
}