I am trying to create a very simple console app game. When I run the game the console screen goes all wacko because the game operates to fast. I tried using this function:[color=Blue][code]
. . .
[color=Green]#define DELAY 0.1[/color][color=Orange]//I think 0.1 is about right[/color]
. . .
while(difftime(time(NULL),then) < DELAY);
but [color=Blue]pause()[/color] waited for 0.5 seconds in stead of 0.1 witch is to slow. Is there any way to wait less than 0.5 seconds
I am working in windows XP and using minGW-3.1.0-1 as a compiler.