From: spacetime AT gmx DOT net (Joern Philipp Meier) Newsgroups: comp.os.msdos.djgpp Subject: rawclock() problem Date: Mon, 21 Sep 1998 18:52:03 GMT Organization: Joern Online Lines: 24 Message-ID: <6u677k$j8e$1@public.ndh.net> NNTP-Posting-Host: 195.227.37.112 Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit NNTP-Posting-Date: 21 Sep 1998 18:51:32 GMT To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk Hi, rawclock() should return an unsigned long containing the number of clock ticks since midnight. However, the following code prints nothing but single integers apparently ranging from 0 to 9. #include #include main() { short i; unsigned long x; for(i=0; i<10; i++) { x = rawclock(); printf("%lu ", x); } } What's wrong with this? Joern