Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: random book moves/ random generator

Author: Daniel Clausen

Date: 03:40:13 01/14/00

Go up one level in this thread


Hi

On January 14, 2000 at 03:27:24, Tom Kerrigan wrote:
>I just ran the program below with Visual C++ 5.0 and Windows 98.

[snip"]

>/* begin GetTickCount() test program */
>#include <stdio.h>
>#include <windows.h>
>
>void main()
>{

[snip]

Note that you should declare main as returning int, at least if
you want to be ANSI-C-compliant. It's not important whether your
main returns or not, but it's possible that if you mis-declare
it, the startup code from the runtime may not be able to call it.

Kind regards,
 -sargon



This page took 0.01 seconds to execute

Last modified: Thu, 07 Jul 11 08:48:38 -0700

Current Computer Chess Club Forums at Talkchess. This site by Sean Mintz.