leaf at October 5th, 2013 08:13 — #1
I cant figure out how the nested loop is supposed to be created. all i have managed is getting the tanks in a diagonal line. does anyone have a clue on how to do it?
reedbeta at October 5th, 2013 23:57 — #2
A pair of nested for-loops look something like this:
for (int i = 0; i < something; ++i)
for (int j = 0; j < something_else; ++j)
// do some stuff