Hi there I am in the learning process, and I am getting a lot of errors while trying to write this code for:

I have already the input file, and the outFile, but I can't get the updated info that I need.

ex: There is a file with this information:

Miller Andrew 65789.87 5%
Green Sheila 75892.56 6%
Sethi Amit 74900.50 6.1%

For each employee the output should be in the following form:

firstName lastName updatedSalary.
Format output of decimal numbers to two decimal places



Three employees in a company are up for a special pay increase. You


Code:
#include <iostream>
#include <fstream>
#include <iomanip>
#include <string>

using namespace std;

int main()

{

	ifstream inFile;
	ofstream outFile;

	double data1, data2, data3;

    double updated_Salary;

	string firstName;
	string lastName;

	inFile.open("F:\\company_employees.txt");
	outFile.open("F:\\updated_salary.out");

	outFile << fixed << showpoint;
	outFile << setprecision(2);



	cout << " Processing data " << endl;

	inFile >> firstName >> lastName >> current_salary >> pay_increase;

	outFile << " Employee's name: " << firstName << " last name "
		<< lastName << " current salary " << current_salary
		<< " pay increase " << pay_increase  << endl;

	inFile >> miller >> green >> sethi;

	outFile << " Pay increase " << setw(6) << miller << setw(6) 
		<< green << setw(6) << sethi << endl;






inFile.close();
outFile.close();

return 0;

}


Any help will be very appreciated
Thanks!
Blueeyes53