User profile: R0bert
User info |
User name: | R0bert |
History |
Joined: | |
Number of posts: | 3 |
Latest posts: |
How to print all the diagonal elements of a 2d vector @mbozzi
From the bottom left diagonal i.e
7
4 8
1 5 9
2 6
3
How to print all the diagonal elements of a 2d vector @Ganado Yes, I know how to print the elements of a 2d vector.
[code]
void print(vector<vector<int>...
How to print all the diagonal elements of a 2d vector For example I have a 2d vector
matrix = [
[1,2,3,4],
[5,1,2,3],
[9,5,1,2]
]
and I w...
|
This user does not accept Private Messages