Skip to content

Instantly share code, notes, and snippets.

@Steve-V
Steve-V / deadnuts.cpp
Created June 21, 2011 20:29
deadnuts
int process_employee(string SourceName,int Position, int& Employee,int& Time,double& PayRate)
{
int EOF_Flag=0;
string line;
ifstream SourceFile;
SourceFile.open(SourceName.c_str());
if (SourceFile.fail())
{
cout << "\nThe file couldn't be opened please make sure it is there\n";