Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: Slightly OT: Visual C++ 2005 Express Questions

Author: martin fierz

Date: 02:07:46 09/21/04

Go up one level in this thread


On September 21, 2004 at 04:26:22, GeoffW wrote:

>Hi
>
>I thought I would download the new : Visual C++ 2005 Express Edition beta to
>have a tinker with. It is proving trickier than expected to get my chess program
>to compile and run. Any help and tips would be appreciated please
>
>Q1
>This is not a stopper but would like an explanation
>
>warning C4996: 'sprintf' was declared deprecated
>        D:\Program Files\Microsoft Visual Studio 8\VC\include\stdio.h(285) : see
>declaration of 'sprintf'

i got the same, and got rid of these with a pragma :-)
i also couldn't find anything in the declaration of sprintf about the
deprecation.
my best guess is that from now on you should use something like swprintf which
uses unicode instead of ASCII.

cheers
  martin



This page took 0 seconds to execute

Last modified: Thu, 15 Apr 21 08:11:13 -0700

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