Skip to content

Instantly share code, notes, and snippets.

@hron84
Created December 23, 2023 13:34
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save hron84/9f38b6893f5119bd590ff8c10441bd89 to your computer and use it in GitHub Desktop.
Save hron84/9f38b6893f5119bd590ff8c10441bd89 to your computer and use it in GitHub Desktop.
#include <iostream>
#if defined _WIN32 || defined __CYGWIN__
#include <windows.h>
#define sleep Sleep
#else
#include <unistd.h>
#endif
using namespace std;
int main(int argc, char **argv) {
while(1) {
cout << "Ez zselés?" << std::endl;
sleep(1);
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment