Re: [Dev-C++] fwrite() & fprintf() -- binary or text ???
Open Source C & C++ IDE for Windows
Brought to you by:
claplace
From: Hungry M. <the...@gm...> - 2006-07-11 22:05:56
|
Yes, you're right...I got the same results on Windows...Are you using it too? 2006/7/8, Farzan Hajian <far...@ho...>: > > hi, > > I've noticed that fwrite() writes data in binary format and fprintf() > writes data in text format regardless to the mode I use in fopen() to > open the file. > In this situation, what the mode argument of fopen() readlly does???? > I've examined this, with DEV-C++ and Digital Mars compilers and both > have produced a same result. > > Thanx, > > -- > Using Opera's revolutionary e-mail client: http://www.opera.com/mail/ > > > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job > easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > _______________________________________________ > Dev-cpp-users mailing list > Dev...@li... > TO UNSUBSCRIBE: http://www23.brinkster.com/noicys/devcpp/ub.htm > https://lists.sourceforge.net/lists/listinfo/dev-cpp-users > |