Thnx mats & Elysia for your help... There's a progress...
Now i've compiled after the changes which includes the use of the '<<' & '>>' overloaded operators.. I'm gonner post them by step to avoid confusions...
read member function
Code:
void Car::read(istream& indata, Car& car, bool isKeyboard)
{
indata >> car;
if(isKeyboard) {
readDates(indata);
}
}
it's declaration in class Car
Code:
void read(istream& i, const Car&, bool t);
error..
Code:
error C2511: 'void Car::read(std::istream &,Car &,bool)' : overloaded member function not found in 'Car'
?????