Bonjour , je voudrais bien remplir la matrice par les element du tableau valpix
quand j'ajoute ces lignes à mon code ; il m'affiche "the application has stoped"
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10 int j=0,i=0; for(int k=0;k<width * height;k++) { matrice[i][j]=valpix[k]; i++; if (i==width) {i=0; j++; } }
Partager