vector of vectors

I am terrible with creating "matrices" and was hoping someone would help. How would I make this vector of vector?
30 30 30 30 30
30 20 20 20 30
30 20 10 20 30
30 20 20 20 30
30 30 30 30 30

Thank you for any help!
1
2
3
4
5
6
7
8
std::vector< std::vector<int> > matrix =
{
    { 30, 30, 30, 30, 30 },
    { 30, 20, 20, 20, 30 },
    { 30, 20, 10, 20, 30 },
    { 30, 20, 20, 20, 30 },
    { 30, 30, 30, 30, 30 }
};
Topic archived. No new replies allowed.