Computer Chess Club Archives


Search

Terms

Messages

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

Author: Vincent Vega

Date: 20:27:16 10/05/00

Go up one level in this thread


I don't see any obvious errors in that code.  Some things to check out:
Is the file opened in binary mode?
Is memory for the whole book allocated?
Could there be any extra pad bytes added to entrada_hash structure?
You shouldn't need to read the file in chunks.
If you still can't find the problem, make a small but complete test program that
just reads in the book and post it with the book file for download so we can try
to reproduce your problem.



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.