Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: Off topic: problems with fread in MVC

Author: Carlos del Cacho

Date: 10:23:08 10/06/00

Go up one level in this thread


On October 06, 2000 at 07:11:56, Mike Adams wrote:

>I didnt quite follow whats going on with count. count has to == 5 apparently.

In this case, I am reading chunks of 5 book entries (right now I'm using
100,000). Count is set to ADD_INC at the beginning so we can get to enter the
loop. When end of archive is reached count will be less than < ADD_INC, so we
stop.

>This is always true when the books is loading?

Yes

> Not sure whats wrong apparently
>this code works in the old developement enviroment.

Well, nothing really with this code. I hadn't opened the book file in binary
mode. Now everything's ok.

Greets,
Carlos



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.