Update 'TP/fonctionVisuelGraphe.c'

This commit is contained in:
Luc Dartois 2023-02-02 17:26:05 +01:00
parent f174afd188
commit 8a4bc2a9a7

View File

@ -13,7 +13,7 @@ void visuelGraphe(graphe g){
int i,j; int i,j;
int x,y; int x,y;
char* nV=malloc(2); char* nV=malloc(2);
*nV='1'; *nV='0';
*(nV+1)='\0'; *(nV+1)='\0';
int* cX=calloc(g.ordre,sizeof(int)); int* cX=calloc(g.ordre,sizeof(int));
int* cY=calloc(g.ordre,sizeof(int)); int* cY=calloc(g.ordre,sizeof(int));