Can someone help me with this? I am trying to grab a string from the user by doing this:
string word;
...
while(cin >> word){
...
}
Here is the error I'm getting:
error C2679: binary '<<' : no operator defined which takes a right-hand operand of type 'class...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.