Home Forums Programming help with codes, can’t spot mistakes Reply To: help with codes, can’t spot mistakes

#45696
Anonymous
Inactive

Don’t take compiler error messages too seriously, it’s only the compiler’s interpretation of what was wrong, not what is actually wrong.

In your case, it saw a string directly followed by a variable name. It was right that something needed to be put between them, but thought what was needed was a ";" rather then a "<<".