Is it possible to change GetTickCount format?
#3

How would i implement that in my code thought.This is how im using GetTickCount()
count = GetTickCount();
format(string, sizeof(string), "It took %d milliseconds to get a right answer!", GetTickCount() - count);
count = 0;

EDIT:Fixed it,i needed to call it as
format(string, sizeof(string), "It took %f milliseconds to get a right answer!", floatdiv(GetTickCount() - count, 1000));
Reply


Messages In This Thread
Is it possible to change GetTickCount format? - by alexjanjaj - 30.04.2017, 22:36
Re: Is it possible to change GetTickCount format? - by Dignity - 30.04.2017, 23:47
Re: Is it possible to change GetTickCount format? - by alexjanjaj - 01.05.2017, 12:01

Forum Jump:


Users browsing this thread: 1 Guest(s)