Je voudrais creer une matrice d'entiers disons...

Je procede donc comme suit:

Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
#include <vector>
#include <iterator>
using namespace std;
typedef vector<int> ligne;
typedef vector<ligne> matrice;
 
matrice m;
-Comment donner à ma matrice un ordre disons m[ordre][ordre]???
-Comment puis-je acceder au [i][j] eme elment???