Guest User

Untitled

a guest
Feb 29th, 2016
183
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.37 KB | None | 0 0
  1. void Yoba::gogoyoba()
  2. {
  3.     while (m_yobbing)
  4.     {
  5.         std::this_thread::sleep_for(std::chrono::seconds(2));
  6.         LOG("Yobbing around next 2 seconds")
  7.     }
  8. }
  9.  
  10. void Yoba::nonoyoba()
  11. {
  12.     while (m_yobbing)
  13.     {
  14.         int answer;
  15.         std::cout << "Write choice";
  16.         std::cin >> answer;
  17.         if (answer == 9)
  18.             stopYoba();
  19.     }
  20. }
Add Comment
Please, Sign In to add comment