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
What is difference between array and vector in c++?
What does it mean to declare a member function as static?
What is the difference between new() and malloc()?
What do you mean by late binding?
What is ios flag in c++?
Can you overload the operator+ for short integers?
What does scope resolution operator do?
Who made c++?
What is difference between n and endl in c++?
Why cout is used in c++?
Snake Game: This is normal snake game which you can find in most of the mobiles. You can develop it in Java, C/C++, C# or what ever language you know.
Can a program run without main function?
What is the difference between cin.read() and cin.getline()?
Why we use #include conio h in c++?
If dog is a friend of boy and boy is a friend of house, is dog a friend of house?