does anybody know, or know to code a function that makes the program halt for some time? like dos.h -> delay(int), just that i wished it was cross-platform.
i am working on a program that implies encrypting and decrypting data, and to prevent "users" from testing many keys with a file to find the right one, i wanted to set a one-second delay before the actual process.