How do I check if a file is empty in C??
- From: "wetherbean" <bjenkin1@xxxxxxxxx>
- Date: 23 Apr 2005 11:31:35 -0700
Hi group..I am writing a playlist management protocol where I have a
file that holds all the playlists and a file that holds all the
songs....before a playlist is created I need to check to see if the
playlist file is empty so that I can assign an integer value to a
playlist id field if it is the first playlist being written to the
file....can anyone help?? Thanks in advance
wetherbean
.
- Follow-Ups:
- Re: How do I check if a file is empty in C??
- From: Chris Torek
- Re: How do I check if a file is empty in C??
- From: wetherbean
- Re: How do I check if a file is empty in C??
- Prev by Date: Re: How is strlen implemented?
- Next by Date: Re: mutually referential (Pg 140 K&R2)
- Previous by thread: How to convert char []/int into void *? newbie question
- Next by thread: Re: How do I check if a file is empty in C??
- Index(es):
Relevant Pages
|