jbpelletier
Programmer
hi...
Using:
time_t t1,t2;
(void) time(&t1);
//some code
(void) time(&t2);
cout<<((int) t2-t1);
i always get the number of seconde between t1 and t2 even if i dont cast it as an int... how can i get the time in millisec ... or at least less than by seconde increment...
(in a dos appz)...
jb
Using:
time_t t1,t2;
(void) time(&t1);
//some code
(void) time(&t2);
cout<<((int) t2-t1);
i always get the number of seconde between t1 and t2 even if i dont cast it as an int... how can i get the time in millisec ... or at least less than by seconde increment...
(in a dos appz)...
jb