Mail Archives: djgpp/1995/02/28/09:04:07
Hi there,
i use djgpp 1.12.m3.
if i use in C++
#include <time.h>
...
clock_t clock(void);
clock_t start = clock();
i get a linker error
undefined reference to 'clock(void)'
However
#include <time.h>
...
time_t time(time_t *);
time_t start = time(0);
works fine.
But I need CPU-time in more detail. with best regards
Stefan Wilhelm
Fachgebiet Fertigungs- und Materialwirtschaft
Fachbereich 1
Technische Hochschule Darmstadt
Hochschulstr. 3
64289 Darmstadt
Germany
Internet : wilhelm AT bwl DOT bwl DOT th-darmstadt DOT de
phone : +49-6151163563
FAX : +49-6151165162
- Raw text -