What I want is to be able to take the user input with cin and store it in a string. Then, by using a function, check to see if the string matches something.

To clarify

Code:
string input;
cin >> input;
Then I want to check to see if "input" matches another string, to give a conditional response. How would I set up that part? I tried creating other strings and placing if stements that compared them, but I think it said that it couldn't convert them into boolean statements.



Sorry if I'm being too confusing. Thanks for any help you can give me.