[Dev-C++] fwrite() & fprintf() -- binary or text ???
Open Source C & C++ IDE for Windows
Brought to you by:
claplace
From: Farzan H. <far...@ho...> - 2006-07-08 10:02:42
|
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, --=20 Using Opera's revolutionary e-mail client: http://www.opera.com/mail/ |