how to convert "char xx[]" to "String" ?

Grumpy_Mike:
You make response=i ten times so when the loop is finished the response variable is equal to 9 and 9 is not a printable ASCII character.

ah my bad, thanks for answering.

septillion:

  1. a string of 266 is damn long, why do you need that?
  2. You already have a string (char xx[]), why do you need the troublesome String? It's better left out.

I just follow a tutorial and it use that so I just write it :smiley: