Created
December 19, 2020 00:57
-
-
Save numanturle/9bd577d3407834d66a394cdc3c1c8427 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <windows.h> | |
#include <iostream> | |
using namespace std; | |
//https://docs.microsoft.com/en-us/windows/win32/api/synchapi/nf-synchapi-sleepex | |
//https://docs.microsoft.com/en-us/windows/win32/api/synchapi/nf-synchapi-sleep | |
//75BF3C9A | E8 11000000 | call <kernelbase.SleepEx> | | |
int main() { | |
for (int i = 0; i < 5; i++) { | |
cout << i << "\n"; | |
cout << "Uyku Basliyor"; | |
Sleep(1000); | |
cout << "Uyku Bitti"; | |
} | |
int x; | |
cin >> x; | |
return x; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment