#Can I loop with a string?

5 messages · Page 1 of 1 (latest)

steel tangleBOT
#

When your question is answered use !solved to mark the question as resolved.

Remember to ask specific questions, provide necessary details, and reduce your question to its simplest form. For more information use !howto ask.

thin dome
#

you get letter from cin before you enter the loop, but once you're in there you never use cin again so letter doesn't have an opportunity to change

#

so your loop runs forever, which is what I assume you were having

#

(in general you should make sure to mention observed vs. expected behaviour in your question, so people don't have to take guesses :p )

lone idol
#

ok thank u