Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <stdio.h>
- #include <stdlib.h>
- #include <windows.h>
- #include <conio.h>
- int main()
- {
- int i;
- char str[] = {"Happy Birthday Maria ^_^ "};
- int size = strlen(str);
- int load = 0;
- for(i = 0; i <= 10; i++)
- {
- system("cls");
- printf("Loading... %d%%", load);
- Sleep(250);
- load = load+10;
- if(load == 110)
- break;
- }
- printf("\n");
- for(i = 0; i < size; i++)
- {
- printf("%c", str[i]);
- Sleep(150);
- }
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement