Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: Maximum Number of Legal Moves

Author: Dieter Buerssner

Date: 13:19:32 05/09/05

Go up one level in this thread


On May 09, 2005 at 16:02:22, Eugene Nalimov wrote:

>On May 09, 2005 at 15:46:50, Dieter Buerssner wrote:
>
>>I was surprised, that some code I tried a while back, and that used C99 unsigned
>>long long worked with (some newer version of) the Microsoft compiler. I did not
>>find this new feature mentioned in the documentation. I was used to the typical
>>#if ... typedef ... unsigned __int64 things before.
>>
>>Seems, that newest MS compiler still does not support the C99 format specifiers
>>for long long. (I am aware, that this is really a library issue. But from the
>>compiler user point of view - in the sense of the C standard - this should not
>>matter).
>
>C:\temp>type q.c
>#include <stdio.h>
>
>long long x = 1, y = 2;
>
>int main (void)
>{
>    printf ("%lld %lld\n", x, y);
>    return 0;
>}
>
>C:temp>cl q.c
>Microsoft (R) 32-bit C/C++ Optimizing Compiler Version 14.00.50317 for 80x86
>Copyright (C) Microsoft Corporation.  All rights reserved.
>
>q.c
>Microsoft (R) Incremental Linker Version 8.00.50317
>Copyright (C) Microsoft Corporation.  All rights reserved.
>
>/out:q.exe
>q.obj
>
>C:temp>q.exe
>1 2

Great! I tested it here, with Visual C++ Express beta 2, and it works!

Will the executable also work on other comuters? Say Win98.

I am just curious. I mean to remember, that I tried a very similar code not too
long ago. Was this added just recently?

I thought, I had read release notes as carefully as possible, and did not see
this mentioned. Is it mentioned in the documentation or in the release notes?
Where can I find it there?

I certainly would not complain, when it is not mentioned in the documentation. I
am aware, that I am using a free beta version of the compiler (and I even read
the EULA from start to end).

Regards and thanks,
Dieter



This page took 0.05 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.