This is about : A cool application of the delay function in c++
And this article : A cool application of the delay function in c++
Article C++, Article programming,
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 " http://liveeconcerts.blogspot.com /2013/05/how-to-copy-any-text-to-turbo-c_16.html">how to copy text to turbo c++."
Thank you
cheers!!!!
Articles A cool application of the delay function in c++ finished we discussed
A few of our information about the A cool application of the delay function in c++, I hope you can exploit carefully
No've You've finished reading an article on A cool application of the delay function in c++ and many articles about modern home in our blog this, please read it. and url link of this article is https://liveeconcerts.blogspot.com/2013/05/a-cool-application-of-delay-function-in.html Hopefully discussion articles on provide more knowledge about the world of tech gadgets.
Tag : C++, programming,
0 Response to "A cool application of the delay function in c++"
Post a Comment