*Note : The delay function above is good for personal use only, because if you were to run this program on a faster computer..... the delay function would return faster. If you ran this program on a slow computer, delay() might take a while to return, thus if you pass the constant '10_SECONDS' that is defined as 500000000 to the delay function, it could be perfect for you, but could be extremely slow or fast depending on another users PC because of its cpu speed etc....
/* Delays 10 seconds, then exits........................*/
#define 10_SECONDS 500000000 // well, its about 10 seconds
void delay(int nbr)
int i = 0;
for(i = 0; i < nbr; i++)
printf("\n Hold on..."); delay(10_SECONDS);
printf("\n Ok, returned from 'delay()'");