I want to have a loop, that repeats until the user presses enter.
I tried with while(getchar != '\n'){}
but this waitet on a input every single time. Right now i dont know how to do this.
do {
clear;//system("cls");
printf("\nPress [enter] to continue");
printf(".");
Sleep(500);
printf(".");//should give a output with press enter to continue... and wait after every point.
Sleep(500);
printf(".");
Sleep(500);
}while(getchar() != '\n');