Re: Re: [Dev-C++] When fopen() fails
Open Source C & C++ IDE for Windows
Brought to you by:
claplace
|
From: Per W. <pw...@ia...> - 2004-10-11 13:18:02
|
Please observe that "read the whole thread" is a difficult thing, since some mails in a thread may get _very_ delayed (several days) to some subscribers... It is quite usual to respond to a thread and later receive answeros from other people written hours earlier. /Per W On 11 Oct 2004, Curious Student wrote: > =A0 > I was actually asking how we could find out why it returned NULL. Someone= already answered that, if you had read the whole thread. > > Thanks for your contribution! > Sathyaish > > > > > On Wed, 06 Oct 2004 Emmanuel Delahaye(AETA) wrote : > >Curious Student wrote: > >>In C, if fopen fails, is there a way to know why? > > > >fopen() returns NULL on failure. > > > >Note that this kind of information is available in any decent C-book. > > > >http://www.accu.org > > > >"The C Language" by Kernighan & Ritchie is a must. > > > >Emmanuel > |