no value
Seçkin Üye
How can I iterate a 2d array starting the last row? I've been trying a lot lately but I didn't find the solution, even google and stack overflow didn't gave me enough clues.
Here is my Sample code
Should I change the row from
Here is my Sample code
C++:
String[][] array = {
{"a", "b", "c"},
{"d", "e"} // here at array[1][0] I want here to start the loop iteration
};
for (int row = 0; row < array.length; row++) {
for (int col = 0; col < array[x].length; col++) {
// do_Something
}
}
Should I change the row from
int row = 0 to int row = -1?for row = -1; row < array.length; row++?
Son düzenleme: