A cool application of the delay function in c++
The delay function can be used very creatively
this is one of them. In this post ill show u how to print a sentence with a delay after every letter!!
there is a slightly complicated code for doing that. Again just copy paste :-P
the code:
int i,j,k;
char str[] = {"insert your sentence here"};
int ben = strlen(str);
for(i=0;i<ben;i++)
{
putchar(str[i]);
delay(90);
}
Thats it. Copy this and paste it in turbo c++. If you don't know how to then refer to my previous post on "how to copy text to turbo c++."
Thank you
cheers!!!!