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 />
Most managers see inappropriate dressing every day. Some are left angered while some are confused as to what is the right way to approach such situations. What follows next needs to be professional oriented. Being the manager, I would start by finding out what the appropriate dressing policies are. Some companies might have dress code policies while others might not. Assuming that this company has, I would read these policies carefully. The next thing that is required from me is to have a small conversation with the employee discretely. As professional as I can be, I will mention how I feel his or her dress code is inappropriate and try to summon the employee by asking him or her whether they are fully aware of the appropriate dress code. I will try to agree with the employee on what is appropriate and what is not. If we agree, requesting the employee to home and change clothes is unnecessary, but if the need to do that arises, I would consider that to be an option.
A raid 1 and mirrored system writes data on two or more disks simultaneously, thereby creating a complete copy of all the information on multiple drives.
<h3>What is Disk mirroring?</h3>
In data storage, disk mirroring is a term that connote the doubling of logical disk volumes into a different physical hard disks so that it will always be available.
Conclusively, Note that this is mostly used in RAID 1. A mirrored volume is known to be full logical depiction of separate volume copies and as such the answer above is correct.
Learn more about system from
brainly.com/question/25594630
Yes that is correct. True
StrawberryTeaa (could be any fruit: blueberry, peach, etc)
potatoxchip
pastelsquid
SquishyPeach
GummiBear
ElegantFlaws (could add an e and remove the s: EleganteFlaw)
hunnie_b (or honee, honnie, hunni, etc)
agonyisheree
It's cool if you don't like these. I had trouble when I changed my user too. But you'll find your perfect username eventually. :)