Developer community
0 votes
44 views
asked by | 44 views

1 Answer

0 votes
Best answer
This is implementation dependent. Check with your compiler's documentation.
 
For example, suppose you want to do binary I/O using std::cin and std::cout.
 
Unfortunately there is no standard way to cause std::cin, std::cout, and/or std::cerr to be opened
in binary mode. Closing the streams and attempting to reopen them in binary mode might have
unexpected or undesirable results.
 
On systems where it makes a difference, the implementation might provide a way to make them
binary streams, but you would have to check the implementation specifics to find out.
answered by

Related questions

0 votes
1 answer
+1 vote
2 answers
0 votes
1 answer
asked by daniel Advisor (5.6k points) 1 7 14 | 63 views
0 votes
1 answer
asked by allison Sr Member (1.5k points) 11 26 40 | 73 views
0 votes
1 answer
asked by albertina Geek (15.7k points) 5 9 21 | 85 views
Quick search syntax
tags tag:apple
author user:martin
title title:apple
content content:apple
exclude -tag:apple
force match +apple
views views:100
score score:10
answers answers:2
is accepted isaccepted:true
is closed isclosed:true

Categories


C Books Guide and List
C++ Books Guide and List
Best Java Books

3.8k questions

4k answers

117 comments

10.7k users

3,751 questions
4,046 answers
117 comments
10,709 users