0
[SOLVED] How do you add the characters of a string to a character array?
Im stuck on the array end of module thing and it keeps saying: "array required, but string detected", i dont know how to add the characters to the array.
3 Answers
0
So would you use a for loop like:
for(int i = arr.length(); i > 0; i--){
text += arr[i];
}
but doing that i get the error: "symbol not recognised"