add
cin.seekg(0,ios::end);
between
cin >> choice and cin.getline()