read file

This commit is contained in:
2024-12-12 13:02:55 +01:00
parent 96c1a66d59
commit fc6913d704
7 changed files with 68 additions and 11 deletions

6
main.c
View File

@@ -1,11 +1,13 @@
#include <stdio.h>
#include "function.h"
#include "display.h"
#include "read.h"
int main()
{
unsigned short int **tab2d = creatArea2D(5);
screenDisplay(tab2d, 5);
unsigned short int **tab2d = creatArea2D(32);
fileToTab2D("test.txt", tab2d, 32);
screenDisplay(tab2d, 32);
printf("main\n");
return 0;
}