By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
455,508 Members | 1,813 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 455,508 IT Pros & Developers. It's quick & easy.

how can we use file in binary mode ?

P: n/a
how can we use file in binary mode ?

May 26 '07 #1
Share this Question
Share on Google+
2 Replies


P: n/a
pa****************@gmail.com wrote:
how can we use file in binary mode ?
Add the letter 'b' to the mode argument in fopen:

stream = fopen(filename, "rb");

--
Eric Sosman
es*****@acm-dot-org.invalid
May 26 '07 #2

P: n/a
pa****************@gmail.com wrote:
how can we use file in binary mode ?
Open it in binary mode then use it.

If you want more specific answers, then I suggest asking more specific
questions and letting us know what you are having difficulty with.
--
Flash Gordon
May 26 '07 #3

This discussion thread is closed

Replies have been disabled for this discussion.