menu main


SUBMITTED BY: Guest

DATE: Nov. 23, 2013, 1:33 p.m.

FORMAT: Text only

SIZE: 1.4 kB

HITS: 860

  1. http://cur.lv/4x9e0 (Earn Bitcoins)
  2. #include <iostream>
  3. #include <cstdlib>
  4. #include "header.h"
  5. using namespace std;
  6. int main()
  7. {
  8. while(1)
  9. {
  10. int menu;
  11. cout << "--------------------------------------------------------------------------------" << endl;
  12. cout << " Hello Welcome!" << endl;
  13. cout << " Press Any Enter To Enter The Menu" <<endl;
  14. cout << "--------------------------------------------------------------------------------" << endl;
  15. cin.get();
  16. star:
  17. system("cls");
  18. cout << "1.Print the number" << endl;
  19. cout << "2.Time Transform(M >> H,M)" << endl;
  20. cout << "0.Exit" << endl;
  21. cout << "Please select the number:";
  22. cin >> menu ;
  23. system("cls");
  24. if(menu==1)
  25. {
  26. out();
  27. goto star;
  28. }
  29. if(menu==2)
  30. {
  31. tt();
  32. goto star;
  33. }
  34. if(menu==0)
  35. {
  36. break;
  37. }
  38. else
  39. {
  40. cout << "You fucking retarded" ;
  41. system("pause");
  42. goto star;
  43. }
  44. }
  45. return 0;
  46. }

comments powered by Disqus