Mine
public text v1 · immutable while (1)
{
char tmp[50]; cin >> tmp;
if(tmp[0]=='1'){iUserSwp = 1;break;}
else if(tmp[0]=='2'){iUserSwp = 2;break;}
else if(tmp[0]=='3'){iUserSwp = 3;break;}
else cout << "You must choose options 1, 2 or 3\n"<< "Choice: ";
}