code:
char taxifcin>>taxif;
while (taxif != 'y' || 'n')
{
cout<<"Please enter a valid command"<<endl;
cin>>taxif;
}
Leftover Mog fucked around with this message on 09-06-2006 at 07:35 PM.
"I don't know that atheists should be considered as citizens, nor should they be considered patriots. This is one nation under God."
-- George Herbert Walker Bush
while (taxif != 'y' || 'n')
-should be-
while (taxif != 'y' || taxif != 'n')