Advertisement
Guest User

Untitled

a guest
Oct 25th, 2014
134
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.39 KB | None | 0 0
  1. while (option != "Q" || option != "q")
  2. {
  3. int var = 0;
  4. displayMenu();
  5. cin >> option;
  6. if (option != "L" && option != "l" && option != "V" && option != "v" && option != "C" && option != "c" && option != "M" && option != "m" && option != "D" && option != "d" && option != "S" && option != "s" && option != "H" && option != "h" && option != "Q" && option != "q")
  7. {
  8. cout << "Invalid Choice. Please enter L/l,V/v,C/c,M/m,D/d,S/s,H/h, or Q/q." << endl;
  9. }
  10. else if (option == "L" || option == "l")
  11. {
  12.  
  13. }
  14. else if (option == "V" || option == "v")
  15. {
  16. cin >> playlist;
  17. }
  18. else if (option == "C" || option == "c")
  19. {
  20. cin >> playlist;
  21. displayMod();
  22. }
  23. else if (option == "M" || option == "m")
  24. {
  25. displayMod();
  26. }
  27. else if (moption == "A" || moption == "a")
  28. {
  29.  
  30. }
  31. }
  32. else if (option == "D" || option == "d")
  33. {
  34. cin >> playlist;
  35. }
  36. else if (option == "S" || option == "s")
  37. {
  38. cin >> filename;
  39. }
  40. else if (option == "H" || option == "h")
  41. {
  42. displayHelp();
  43. }
  44. else if (option == "Q" || option == "q")
  45. {
  46. exit(1);
  47. }
  48.  
  49. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement