int[][] to string[] ?
in
Programming Questions
•
2 years ago
Hi everyone!
I want to save in a txt file some data stored in a "map", a bidimentional array, e.g. :
1 0 1
0 0 1
1 1 0
I want to convert this to an array of strings, but i cant access each grid in the string array, what should i do?
I thought that i could take each row of ints and copy it like a string in the string array... but i dont know how.
PS: Sorry for my english, i cant speak it very well :P
I want to save in a txt file some data stored in a "map", a bidimentional array, e.g. :
1 0 1
0 0 1
1 1 0
I want to convert this to an array of strings, but i cant access each grid in the string array, what should i do?
I thought that i could take each row of ints and copy it like a string in the string array... but i dont know how.
PS: Sorry for my english, i cant speak it very well :P
1