Mail Archives: djgpp/1996/02/08/08:32:44
Hi all,
I tried using rawclock() for nefarious purposes and got 0 for my
pains. Looking at the source for rawclock left me dead, it seems to
do, (what I would guess is an unsafe practice), a far peek into some
part of dos memory.
Any suggestions as to what I am doing wrong?
Should I rewrite rawclock to try a more standard approach via the
interrupt calls?
#include <iostream.h>
#include <time.h>
main()
{
int i = rawclock();
cout << i << '\n';
}
John Carter
Institute for Water Quality Studies. Department of Water Affairs.
Internet : ece AT dwaf-hri DOT pwv DOT gov DOT za Phone : 27-12-808-0374x194
Fax : 27-12-808-0338 [Host for Afwater list server]
Founder of the Council for Unnatural Scientists.
- Raw text -