Here is a loop that goes through each character in "(Level:". It adds something to the end which is messing up the rest of my code.
#include <iostream>
int main() {
std::cout << "Output:" << std::endl;
for (char letter : "(Level:") {
std::cout << "'" << letter << "'" << std::endl;
}
return 0;
}
Output:
'('
'L'
'e'
'v'
'e'
'l'
':'
''
I'm new to C++ and I don't understand what's happening.