error C2819: type 'employee' does not have an overloaded member 'operator ->'
employee is a structure defined in employee.h.
i get this error when trying to populate that stucture by reading it from a data file in file "readit.cpp". readit() receives a pointer to that structure.
the error is located at
in.c->name;
employee is a structure defined in employee.h.
i get this error when trying to populate that stucture by reading it from a data file in file "readit.cpp". readit() receives a pointer to that structure.
the error is located at
in.c->name;