[Critical part of question in subject: "ab" mode in fopen]
pereges wrote:
>
Can I use this mode to create a new file , add some data and then
append more data ?
Yes.
How is it different from ab+ ?
"ab" is "append; open or create binary file for writing at end-of-file"
and "ab+" is "append; open or create binary file for update, writing at
end-of-file".
In other words, the difference is that "ab" is write-only, while "ab+"
is read/write.
--
+-------------------------+--------------------+-----------------------+
| Kenneth J. Brody |
www.hvcomputer.com | #include |
| kenbrody/at\spamcop.net |
www.fptech.com | <std_disclaimer.h|
+-------------------------+--------------------+-----------------------+
Don't e-mail me at: <mailto:Th*************@gmail.com>