the problem is that when even you enter "command" it always outputs the response for help. please help. lol.
the code
Code:
cin>>commands;
//will output the help info
if (commands == "help" || 'h'){
cout<<"help files"<<endl;
cout<<"\n\n\n ok?"<<endl;
cin>>a;
gameplay();
}
if (commands == "dive" || 'd'){
cout<<"how far?"<<endl;
cin>>varDepth;
comments = "you have dove down "; varDepth;
currentDepth = currentDepth + varDepth;
gameplay();
}

