How can I go through a two-dimensional array diagonal ?

Get help using Construct 2

Post » Wed Feb 03, 2016 1:42 am

example:
for(int i = 0; i < array.Length; ++i)
....print(array[i,i]);
B
16
S
2
Posts: 78
Reputation: 850

Post » Wed Feb 03, 2016 2:08 am

ImageImageImage
B
72
S
22
G
290
Posts: 3,885
Reputation: 159,511


Return to How do I....?

Who is online

Users browsing this forum: No registered users and 6 guests