Answer Posted / guest
do a bitwise or of the file open mode with ios::binary, as in:
ifstream mystream( "filename.ext", ios::in | ios::binary );
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
Why is main function important?
What is the v-ptr?
What is the disadvantage of using a macro?
What is the c++ code?
How come you find out if a linked-list is a cycle or not?
What are the 4 types of library?
How did c++ start?
If a round rectangle has straight edges and rounded corners, your roundrect class inherits both from rectangle and from circle, and they in turn both inherit from shape, how many shapes are created when you create a roundrect?
What is the use of volatile variable?
When we use Abstract Class and when we use Interface?where we will implement in real time?
How does java differ from c and c++?
What is the difference between #define debug 0 and #undef debug?
Write a function that swaps the values of two integers, using int* as the argument type?
write a corrected statement in c++ so that the statement will work properly. x = y = z + 3a;
What are the benefits of operator overloading?