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
Explain static and dynamic memory allocation with an example each.
What is the most useful programming language?
Why c++ is created?
Why is c++ still used?
What is a singleton c++?
Why we use #include iostream in c++?
What is helper in c++?
Explain the advantages of using friend classes.
Declare a class vehicle and make it an abstract data type.
Am studying basic c++ programming, have been given the following assignment. Design a linear program to calculate the maximum stress a material can withstand given a force and a diameter of a circle. To find the required area pi should be defined. Have most of the program sorted out but am at a loss as to how to show the calculations required. Can anyone help?
What is conditions when using boolean operators?
what is upcasting in C++?
What is a storage class? Mention the storage classes in c++.
what is c++
What is difference between c++ and c ++ 14?