M
Magix
Hi,
I would like to check if the data file is empty or not before reading it.
How should I achieve that ? fseek/ftell ?
....fopen process here(..)
if filesize is 0 // mean empty data
printf ("No data in the file ");
else
...do the reading...
Thanks.
I would like to check if the data file is empty or not before reading it.
How should I achieve that ? fseek/ftell ?
....fopen process here(..)
if filesize is 0 // mean empty data
printf ("No data in the file ");
else
...do the reading...
Thanks.