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
If a base class is an adt, and it has three pure virtual functions, how many of these functions must be overridden in its derived classes?
What are c++ tokens?
Explain differences between alloc() and free()?
What is constructor and destructor in c++?
How do you find out if a linked-list has an end? (I.e. The list is not a cycle)
Mention the ways in which parameterized can be invoked. Give an example of each.
Difference between pass by value and pass by reference?
Is c++ map a hash table?
Explain public, protected, private in c++?
Can there be at least some solution to determine the number of arguments passed to a variable argument list function?
What is the full form of dos?
Explain binary search.
What is endianness?
What do the header files usually contains?
What is constructor in C++?