alright my code works perfectly and it runs but my only problem is that whether or not i input the proper responce it always does the else statement
whats my problem?Code:void Character::Command() { cout<<"\n"; cout<<"Your Turn\n"; cin>>command; cin.ignore(); if(command=="Attack"||command=="attack"){Character::Attack();} else if(command=="Skill"||command=="skill"){Character::Skill();} else if(command=="Magic"||command=="magic"){Character::Magic();} else if(command=="Summon"||command=="summon"){Character::Summon();} else if(command=="Item"||command=="item"){Character::Item();} else{cout<<"(I don't think I should do that.)\n";Character::Command();} }