String Error
| CheesyBeefy (8) | |||
Well, in my code, a jumble of letters will appear and if the user doesn't type them in correctly, they lose. However whenever I try to check if the user inputed the correct jumble of letters, it says that jumble is an undeclared identifier. Here is my code:
Here is the error I am receiving.
error C2065: 'dsahfkjd' : undeclared identifierPlease tell me what I am doing wrong! | |||
| Grey Wolf (637) | |||
string answer = "dsahfkjd"; | |||
| CheesyBeefy (8) | |||
| Ahh, thanks. :) Also, how would I add a timer, such as, if they don't answer within a certain amount of time they will lose? | |||
Registered users can reply in this forum.
