Hi I have a small question abotu c++ if statments what i want to do is let a user choose one of 2 commands but the commands are not numbers their words like unix commands so here is what i am doing.

Code:
char com2;
if (com2 == help)
 {
 cout << "commands" << endl;
 cout << "ls" << endl;
 }
 if (com2 == ls)
 {
 cout << "etc" << endl;
 cout << "root" << endl;
 cout << "home" << endl;
 }
else
{
cout << "sorry command not found" << endl;
}
ok that is an example of something i want to do now when i try to compile it i get an error saying saying 'help' undeclared ( first use of function) I am using DevC++ to compile this. if any one has any suggestion on what i could do to fix this i would be very thankful.