Need to refresh the display smoothly

I'm trying to find some function within the <windows.h> library that refreshes the display smoothly. I have a little robot going around a room and i want it to refresh the display without it flickering. Anyone help?
Assuming you place the "screen" per se into an array of char's, or something similar. Have you tried only updating the necessary tiles? Rather than flushing the entire screen out?
Well, the way i have my 2-d array set up, it just displays the array every time the vacuum moves 1 block.
Right, so each time the vacuum moves, only two updates need to be made; the block it moves to, and the block where it was at originally.
yeah, but it isn't smooth when it runs in a while loop. The console screen flashes really fast. I want to minimize the flashing and have a smooth playback (or framerate).
Topic archived. No new replies allowed.