English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

Anyone know how to get milliseconds using c++.

Not seconds/1000 and not using windows time.

2007-06-01 10:08:06 · 1 answers · asked by Tasm 6 in Computers & Internet Programming & Design

1 answers

void _ftime(struct _timeb* timeptr );

struct _timeb timebuffer;
_ftime( &timebuffer );
unsigned long millitm1 = timebuffer.millitm;

2007-06-01 10:21:34 · answer #1 · answered by Rah-Mon Heur 4 · 2 0

fedest.com, questions and answers