Assume the following structure declaration, variable, and file stream object definition exist in a program:
const int NAME_SIZE = 51;
struct Data
{
char customer[NAME_SIZE];
int num;
double balance;
};
Data cust;
fstream file("stuff", ios::out | ios::binary);
Write a statement that uses the write member function to store the contents of cust in the file.
We need at least 10 more requests to produce the solution.
0 / 10 have requested this problem solution
The more requests, the faster the answer.