| TIP: Click on subject to list as thread! | ANSI |
| echo: | |
|---|---|
| to: | |
| from: | |
| date: | |
| subject: | Squares |
Hi Bill. 17-Apr-04 02:37:01, Bill Birrell wrote to Jasen Betts BB> Hi Jasen, >> using times() would be more apropriate than clock() in >> environemnts that support it. BB> I gave up recommending the use of functions that are not in the BB> standard libraries, or covered in the ISO standard for the the C BB> language because people gave me such a hard time about them. :) times is POSIX which is almost as good as ANSI BB> says no such thing about clock(). It returns the implementation's BB> best approximation is what it says. best approximation of what though? BB> If that's not good enough, c'est la vie BB> times() may be useful, but it is not ANSI standard. BB> Of course there is the same problem with the spawn() or fork() or BB> exec() The best solution my be to build the processes to be timed into the same program as the call to clock. (or vice versa) -=> Bye <=- ---* Origin: Open the pod bay doors, HAL. (3:640/1042) SEEN-BY: 633/267 270 @PATH: 640/1042 531 954 774/605 123/500 106/2000 633/267 |
|
| SOURCE: echomail via fidonet.ozzmosis.com | |
Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.