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
14
S
2
Posts: 66
Reputation: 776

Post » Wed Feb 03, 2016 2:08 am

ImageImageImage
B
71
S
19
G
180
Posts: 3,481
Reputation: 103,183


Return to How do I....?

Who is online

Users browsing this forum: skrotar, yme, Youtopize and 11 guests