-nt-
Printable View
-nt-
Why does the text do that typewritter kind of stuff......if you do it on purpose how?
Yeah i do it on purpose. Its actually quite easy. Here:
typing(char* Text, int speed){
for (int i = 0;Text[i] != '\0';i++)
{
cout << Text[i]<< flush;
Sleep(speed);
}
}
use this as its own function. (of course) and whenever you want to make it go across the screen like a typewriter, just use typing("What to type", delay between letters);
ie:
typing("Look I am typing slowy", 100);
or
int x;
cin>>x;
typing("You made me type this fast!", x);
hope that helped :)
Thanks yeah.......that's very clever.
This is meant for school but you can use my homemad lib file if you like. It has alot of compressed words(like cout reduced to say, saves some time... and lots of others, its pretty kewl)
source files (new)
oops 4got file lol. source files (new)
program only