I use sleep in places in my code but it all goes to begining how can i fix?
code is here
#include <iostream.h>
#include <conio.h>
#include <windows.h>
int main(void) {
int number = 1;
int num_of_miliseconds;
Sleep(num_of_miliseconds);
cout << "Hello kid's.\n";
Sleep(1000);
cout <<"How are you?\n";
Sleep(1000);
cout <<"Thats good.\n"; //this was all just example
}