MMO, take you shitty spam bot off the forum. Ass hole.
Now, in response to the forums intent.
I suggest using an if statement. Here is an Example:
cpp
#include <iostream>
using namespace std;
int main(){
int m_menu;
cout << "Menu: ";
cout << "\n\n1. Choice One\n";
cout << "2. Choice Two\n";
cout << "> ";
cin >> m_menu;
if ( m_menu == 1){
cout << "You chose One!\n";
cin.get();
return 1;
}
if ( m_menu == 2){
cout << "You chose Two!\n";
cin.get();
return 1;
}
else {
cout << "You chose neither!\n";
return 1;
}
}
You can also use the switch statement:
CODE
switch{ //Declaration of a switch
case (value to check for): { Statement to execute}
case (value to check for): {Statements}
default {statements to execute if no other case was met!}
} // End
Hope that helps!
Good Luck! :-)