String not recognised in VS IDE


I’m having problems with lecture 25 where we’ve changed across to using functions.
I’ve included string at the top "#include "
But when I try to use string lower down i.e. string GetGuess() the string is underlined red.

what have I done wrong?

Can you share your code? Or a screenshot?

Hi nilamo,

I think it was my system playing up. I got rid of my code and pasted it back in again and it worked fine. Thanks for responding though :slight_smile:

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.

Privacy & Terms