hi, everyone! i'm currently working on a code that delays a text in c.
the code is something like this:
Code:
char text1[SIZE][SIZE] = {"The", "quick", "brown", "fox", "jumps", "over", "the", "lazy", "dog."};
int main() {
int i, j;
printf("Hi!\n");
sleep(1000);
printf("Hello!\n");
for(i=0; i<=9; i++)
for(j=0; j<=5; j++) {
printf("%c", text1[i][j]);
sleep(100);
}
}
the code above shows this output:
Code:
The quick brown fox jumps over the lazy dog.
what can i do to make the input like this:
Code:
The quick brown fox jumps over the lazy dog.
thanks!