so iam suppose to make this work in multiple files , it was working in one whole file but then when i started dividing into 3 separate files , it stops working . please help me fix. its messing up in employee.cpp I pasted all the codes in multiple files please help
In your source file (“employee.cpp”) the compiler must be informed those functions (like “setName()”, for example) are member functions, otherwise it’s free to ‘assume’ they are standalone functions.
Their name should be ‘introduced’ (prepended) by the class name + the scope resolution operator.