Skip to content
Extraits de code Groupes Projets
Valider 5b837a43 rédigé par Hélène TRAN's avatar Hélène TRAN
Parcourir les fichiers

Réordonnancement code

parent 1b85ed51
Aucune branche associée trouvée
Aucune étiquette associée trouvée
Aucune requête de fusion associée trouvée
......@@ -76,6 +76,30 @@ void change_val_matrice(point p, char * msg)
}
/*void ligne(){
int j;
for (j=0;j<size.y;j++)
printf(" -------");
printf("\n");
}*/
void affichmat() {
int i,j;
/*ligne();*/
for(i=0;i<size.x;i++){
for(j=0;j<size.y;j++){
printf("|%s \t",matrice[i][j]);
}
printf("|\n");
/*ligne();*/
}
/*ligne();*/
}
/* Initialise listevars */
void init_listevars(){
listevars.last = 0;
......@@ -126,27 +150,6 @@ void create_modif_var(char* nom, int val) {
}
}
/*void ligne(){
int j;
for (j=0;j<size.y;j++)
printf(" -------");
printf("\n");
}*/
void affichmat() {
int i,j;
/*ligne();*/
for(i=0;i<size.x;i++){
for(j=0;j<size.y;j++){
printf("|%s \t",matrice[i][j]);
}
printf("|\n");
/*ligne();*/
}
/*ligne();*/
}
int main () {
create_matrice(5,4);
......
......@@ -19,8 +19,8 @@ point new_point(int ,int);
void create_matrice(int,int);
char* lecture(point);
void change_val_matrice(point,char*);
void affichmat();
void init_listevars();
int find_var(char*);
void create_modif_var(char*,int);
void affichmat();
0% Chargement en cours ou .
You are about to add 0 people to the discussion. Proceed with caution.
Terminez d'abord l'édition de ce message.
Veuillez vous inscrire ou vous pour commenter