if statement and char arrays
Feb 27, 2012 at 5:58pm
Last edited on Feb 27, 2012 at 5:59pm
Feb 27, 2012 at 6:00pm
Ah, I thought I was defining the length of the string.
if (PlayerRN == "Jackson") |
is giving the error, No operator "==" matches these operands.
Feb 27, 2012 at 6:02pm
Ah, I thought I was defining the length of the string. |
You're not, that syntax declares an array.
http://www.cplusplus.com/doc/tutorial/arrays/
is giving the error, No operator "==" matches these operands. |
The next step after identifying a problem is fixing it.
Topic archived. No new replies allowed.