...
int opt = 0;
do
{
cout << "option 1-5:";
cin >> opt;
switch(opt)
{
case 1:
instructions..
break;
case 2:
instructions..
break;
bla bla
default:
cout << "There wasn't valid option. Please type again your option or 0 means the exit."
}
}while (opt != 0); // 0 means the quit