I need help on counting milliseconds. I tried using a pointer to the system clock (I think), but it only counts ticks (1/18.2 seconds). I need real milliseconds.
And not a delay function like sleep().
It should work something like this:
int main()
{
StartCount();
DoSomething();
int MilliSec=StopCount(); //Return number of milliseconds passed
return 0;
}
Someone who can help?