I'm just starting out with C++ coding and have a basic understanding of the language...though I still have a very limited range of "vocabulary and grammar" in C++.

Right now I'm expanding on my little "Hello, World" tutorial program, and I can't figure out how to get the program to me saying "yes" to it. I've done this:

if (cin>> "Yes")

...and also tried this:

if (cin.get("Yes"))

...but got lengthy error reports for both. I'm trying to make two possible outcomes happen depending on whether the user inputs "yes" or "no." Right now I just need to figure out how to write it correctly and get the program to recognize it. I'm sure just about everyone on this forum knows the answer to my question.

I'm here for help, not hurt. I've had bad experiences on a certain other C++ forum and don't want them repeated. If all you're going to do it shoot me down because I'm new, don't post on this thread at all.