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++

c++ Any idea what is wrong with the error at inFile>>date;? The

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

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!