Code:
vector< vector<int> > vect2D(height, vector<int>(width, 0));
vect2D[y][x] = 10;