Hello,
I'm having problems writing a function to pull data from a .txt file. I know my function call has to be wrong, but I'm not quite sure how to issue that command. Is there anything else I am doing wrong with the Prototype or Definition?
.txt first line:
1 2
J Jones 33567 25000.00 30 1
Function Prototype:
1 2
int fileRead(ifstream& inFile, string& fName, string& lName, int custID, float yIncome, float min, int agentID);