Could someone please show me a way to debug this. My compiler keeps saying that characterName, characterRace and characterClass are undefined functions. I want these to be variables to store the character's information.
// Adventure Game
#import <iostream>
#import <string>
using namespace std;
int main ()
{
cout << "\tWelcome to The Generic Adventure Game!\n\n";
cout << "Please create your character\n\n";
// Character Customization
cout << "Name: ";
cin >> characterName;
cout << "\n\n";
cout << "Available races...\n";
cout << "Dwarf, Human, Orc\n\n";
cout << "Race: ";
cin >> characterRace;
cout << "\n\n";
cout << "Available classes...\n";
cout << "Paladin, Wizard, Warrior\n\n";
cout << "Class: ";
cin >> characterClass;
cout << "\n\n";
if (characterName == False)
cout << "Name is invalid. One word names only.";
continue;
if (characterRace != "Dwarf" || "Human" || "Orc")
cout << "Race is invalid. Remember the races are Dwarf, Human and Orc.";
continue;
if (characterClass != "Paladin" || "Wizard" || "Warrior")
cout << "Class is invalid. Remember the classes are Paladin, Wizard and Warrior";
continue;
if (characterName == True && characterRace == "Dwarf" || "Human" || "Orc"
&& characterClass == "Paladin" || "Wizard" || "Warrior")
break;
}