I'm looking for a long time for a code that displays a different text depending on what you tipe. I didn't work at the app I wanted to make for a long time but I think this is what I tried (Remember I'm a begginer):
char text
cout << "Insert Text: " << text << endl;
if (text== "Stop")
{
cout << "Ok. Bye!" << endl;
}