How am I able to input any name into my bool, but only one name can be true.
Here's my code below so far.
int main()
{
bool a;
cout << "Enter the users real name:";
cin >> a;
if (a == true)
{
cout << "That is the right name.";
}
else if (a == false)
{
cout << "Incorrect name.";
}
}