Update 'TP/fonctionsAide.c'
This commit is contained in:
parent
8ac85dd507
commit
5c2b400f87
@ -58,7 +58,7 @@ void visuelGraphe(graphe g){
|
||||
//Aides matrices
|
||||
//Creation matrice carrée vide :
|
||||
int** creerMatriceId(int taille){
|
||||
int** res=malloc(taille,sizeof(*int));
|
||||
int** res=malloc(taille,sizeof(int*));
|
||||
for(int i=0;i<taille;i++){
|
||||
res[i]=malloc(taille,sizeof(int));
|
||||
for(int j=0;j<taille;j++){
|
||||
|
Loading…
Reference in New Issue
Block a user