Answer:
Explanation:
You most likely lost 1000 points because you cheated to get them if not there is a possibility you were.
Answer:
dataFile << salary;
Explanation:
To write salary to a file (payroll.dat) using ofstream, you make use of the following instruction:
<em>ofstream dataFile;
</em>
<em>myfile.open ("payroll.dat");
</em>
<em>myfile <<salary;
</em>
<em>myfile.close();</em>
<em />
This line creates an instance of ofstream
<em>ofstream dataFile;
</em>
This line opens the file payroll.dat
<em>myfile.open ("payroll.dat");
</em>
This is where the exact instruction in the question is done. This writes the value of salary to payroll.dat
<em>myfile <<salary;
</em>
This closes the opened file
<em>myfile.close();</em>
<em />
<em />
Answer:
Update the device driver
Explanation:
Devices drivers are softwares used to link a component of the computer to the operating system functionality.
It normally comes with the installed operating system, but most plug and play devices , come with a little built-in OS that runs once it is plugged in.
If a device is not recognized, update the driver software and restart the system.