Guest User

Untitled

a guest
Jul 20th, 2018
82
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.33 KB | None | 0 0
  1. #include <cstdlib>
  2. #include <iostream>
  3. #include <windows.h>
  4.  
  5. using namespace std;
  6.  
  7.  
  8.  
  9. int main(int argc, char *argv[])
  10. {
  11. Operator_front:
  12. SetConsoleTitle( "KO-Operator v1.0 >> By DeathsEffigy aKa Th3FeAr" );
  13. int selected;
  14. cout << "Welcome to KO-Operator v1.0 ###" << endl;
  15. cout << "###############################\n\n" << endl;
  16. cout << "Please choose one of the following Options:\n";
  17. cout << "# Option\t\t Command\n1 News Editor\t\t\t1\n2 Character Management\t\t2\n3 Monster Management\t\t3\n4 Drop Editor\t\t\t4\n\n" << endl;
  18. cin >> selected;
  19. switch(selected){
  20. case 1:
  21. system("cls");
  22. break;
  23. case 2:
  24. system("cls");
  25. break;
  26. case 3:
  27. system("cls");
  28. break;
  29. case 4:
  30. system("cls");
  31. break;
  32. default:
  33. cout << "\a" << endl;
  34. system("cls");
  35. goto Operator_front;
  36. break;
  37. }
  38. system("PAUSE>>0x0.tmp");
  39. system("@del 0x0.tmp");
  40. return EXIT_SUCCESS;
  41. }
Add Comment
Please, Sign In to add comment