Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: Problem with file i/o

Author: Manfred Rosenboom

Date: 03:35:43 05/09/99

Go up one level in this thread


On May 08, 1999 at 20:56:52, James Robertson wrote:

>>To delete a file, just use the 'remove' command:
>>
>>remove("file.ext");
>>
>>I'm not sure how to tell a file's size...
>
>Thanks anyway! At least now I don't have to manually delete all the garbage temp
>files from my program's new bookmaking formula. :)

You can get the file size with the function _stat() - see the
online manual for more details.

Manfred



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.