Re: im facing problem with fread()??



<l4learn@xxxxxxxxx> wrote in message
news:1124900074.431082.319110@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx

In the above code the file is not closed ....use something like
fcloseall() at the least to at the end of the programs where u use
files ..

the problem with ur program is here

#include<stdio.h>

A conforming C implementation closes all files at program shutdown.
It also does *not* contain a call to fcloseall, which is not part
of the C Standard.

P.J. Plauger
Dinkumware, Ltd.
http://www.dinkumware.com


.



Relevant Pages

  • Re: behaviour of vector::operator[]
    ... It does that in Whidbey. ... P.J. Plauger ... Dinkumware, Ltd. ... Prev by Date: ...
    (microsoft.public.vc.stl)
  • Re: strto[u]l and ERANGE
    ... > P.J. Plauger wrote: ... narrow point I was addressing. ... Dinkumware, Ltd. ... Prev by Date: ...
    (comp.lang.c)
  • Re: Checked STL Implementation
    ... (Link to documentation is fine.) ... P.J. Plauger ... Dinkumware, Ltd. ... Prev by Date: ...
    (microsoft.public.vc.stl)
  • Re: Secure C library
    ... > In article, P.J. Plauger ... occasional street mugging by wandering bands of Capulets. ... Dinkumware, Ltd. ... Prev by Date: ...
    (comp.std.c)