|
From: Michael C. <jd...@ho...> - 2001-09-04 17:03:02
|
I think I get the idea now ! ;) My mistake, typo. Should have been fwrite(). Michael >From: "Ioannis Vranos" <no...@ya...> >To: "Dev-C++" <dev...@li...> >Subject: RE: [Dev-C++] how to use strings >Date: Tue, 4 Sep 2001 19:40:28 +0200 > > > -----Original Message----- > > From: dev...@li... > > [mailto:dev...@li...] On Behalf > > Of Michael Codadeen > > Sent: Tuesday, September 04, 2001 12:00 PM > > To: dev...@li... > > Subject: RE: [Dev-C++] how to use strings > > > > > > Hi Johannes, > > > > I believe that fprintf() does move the file pointer it just > > looks as though > > it isn't, try using ftell() to print the file position. > > > > I believe that because there is a struct being written to the > > file via > > fread() and then a string via fprintf() this is causing the > >fread() *reads*. fwrite() writes. > > >Ioannis > >* Ioannis Vranos >* Programming pages: http://www.noicys.f2s.com >* Alternative URL: http://run.to/noicys > > >_______________________________________________ >Dev-cpp-users mailing list >Dev...@li... >https://lists.sourceforge.net/lists/listinfo/dev-cpp-users _________________________________________________________________ Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp |