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
the first character in the variable name must be an a) special symbol b) number c) alphabet
Why do we use constructor?
Explain dangling pointer.
What is the use of volatile variable?
What is the difference between a definition and a declaration?
How do you write a function that can reverse a linked-list?
How compile and run c++ program in turbo c++?
What is the difference between while and do while loop? Explain with examples.
What is the difference between the functions rand(), random(), srand() and randomize()?
Write a corrected statement in c++ so that the statement will work properly. if (4 < x < 11) y=2*x;
Why the usage of pointers in C++ is not recommended ?
Which is the best c++ compiler?
What is stoi in c++?
Differentiate between structure and class in c++.
What is overloading unary operator?