A cool application of the delay function in c++ - We've built this blog
Red Gadget News a few years ago, in my busy time now I still try to keep updating the information on this blog for you seekers of information about the latest gadget technology, now we're discussing first about us A cool application of the delay function in c++ has gathered a lot of information to make this article so that the news that you give complete, please see:
Articles :
A cool application of the delay function in c++
full Link :
A cool application of the delay function in c++
Article C++,
Article programming,
You can also see our article on:
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://redzuanifaliyana.blogspot.com /2013/05/how-to-copy-any-text-to-turbo-c_16.html">
how to copy text to turbo c++."
Thank you
cheers!!!!
0 komentar:
Posting Komentar