Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <iostream>
- #include <stdlib.h> // system
- #include <chrono>
- #include <thread>
- #include "g_header.h"
- int menu(int answer)
- {
- switch (answer)
- {
- case 1:
- //rServer(lang, dCore, dChannel); // Start the Server
- break;
- case 2:
- // sStop(lang, dCore, dChannel); // Stop Server
- break;
- case 8:
- //ServerOnlineCheck();
- std::cout << "bye\n";
- exit(1);
- break;
- default:
- std::cout << "Bad choice! Please try again:" << std::endl;
- }
- return answer;
- }
- int main() {
- SelectLang sLang;
- std::cout << sLang.IsLang();
- SleepTime sSleep;
- sSleep.iSleep(5);
- std::cout << "Sleeped for 5 sec\n";
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement