I want to print sth than wait a second and chage it, something like flashing the user, but the sleep() just prints out the future line is there an alternative or can i make it work with sleep?
#include <stdio.h>
#ifdef _WIN32
#include <windows.h>
#else
#include <unistd.h>
#endif
int main()
{
printf("abcde!");
sleep(1);
printf("\rHello\nLet's play! :^)");
return 0;
}