Can someone tell me what this error means and how can I fix it. I know it has to be something simple that I am overlooking. I have included the part of my program that contains the error:
void NameFind(string carName, string workOrder, string mechanic, int count, char let)
cout << "\nCars with last name beginning with" << let << ":\n";
for(a=0; a<count; ++a)
cout << "\nCar name:" << carName[a] << '' << "Work order:" << workOrder[a] << '' << "Mechanic:" <<mechanic[a];//error appears in this line????
cout << "There are no cars whose last name begins with " << let <<". \n";