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.

21st Aug 2021, 5:30 PM
james kelly
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"
21st Aug 2021, 6:06 PM
james kelly