I`m trying to create a typewriter effect, which reads a message and displays the output of it
like you would be writing on a typewriter... I think you know what I mean...
char message="Message to be displayed...";
for (int i=0;i<strlen(message);i++)
std::cout << message[i] << std::flush;
It works for the function that it puts the lines out char by char...
The thing is... I need a blinking prompt always in front of the character.
Like if you log onto your box, you see the input prompt and the cursor (it may not be blinking at all on your machine, but I think you know what I mean, hehe)
I searched for a function to buffer the output and flush it to make it visible and invisible... bla I am just totally stuck on this one.
Hope someone can help me on this...