I was wondering how to slowly show words on the screen, like in video games when there is text on the screen and the words pop up one by one like this:
make sure you include windows.h
for(int i = 0;i < NUM_WORDS;i++)
{
std::cout << WRD[i] << " ";
delay(500);
}
inlinevoid delay( unsignedlong ms )
{
Sleep( ms );
}