Question: c++ Any idea what is wrong with the error at inFile>>date;? The error says : no operator >> matches these operands. operand types are :
c++

Any idea what is wrong with the error at inFile>>date;?
The error says : no operator ">>" matches these operands. operand types are : std::ifstream >>DateType
numCommands 0; while (command != "Quit") { if (command == "PutItem") { char firstName[7]; char lastName[7]; DateType date; inFile >> firstName; inFile >> lastName; inFile >> date; (*user).Initialize(firstName, lastName, date); list.PutUser(user); (*user).ToString(); outFile
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
