How do I open binary files?
Answer / 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 |
What are the debugging methods you use when came across a problem?
Given a simple program designed to take inputs of integers from 1-1000 and to output the factorial value of that number, how would you test this program? You do not have access to the code. Please be as specific as possible.
What is dangling pointers?and what is memory leak?
How can you quickly find the number of elements stored in a static array?
What is c++ hiding?
What is a NULL Macro? What is the difference between a NULL Pointer and a NULL Macro?
How can an improvement in the quality of software be done by try/catch/throw?
what is a class? Explain with an example.
How const int *ourpointer differs from int const *ourpointer?
What is the disadvantage of using a macro?
What is split a string in c++?
what are function pointers?