Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <stdlib.h>
- #include <ctype.h>
- #include <stdio.h>
- #include <unistd.h>
- #include <string.h>
- #include <sys/resource.h>
- #include <pthread.h>
- main ()
- {
- int i, j;
- printf ("\n");
- for (i=0; i<10; i++)
- {
- printf ("-");
- j = system("sleep 0.5");
- }
- printf ("\n");
- }
Add Comment
Please, Sign In to add comment