./MemberType.h:23:5: error: missing return type for function 'Membertype'; did you mean the constructor name 'MemberType'?
Membertype(string,int,int,double);
^~~~~~~~~~
MemberType
1 error generated.
In file included from memberType.cpp:11:
./MemberType.h:23:5: error: missing return type for function 'Membertype'; did you mean the constructor name 'MemberType'?
Membertype(string,int,int,double);
^~~~~~~~~~
MemberType
memberType.cpp:23:13: error: out-of-line definition of 'MemberType' does not match any declaration in 'MemberType'
MemberType::MemberType(string name, int memberId, int booksBought, int amountSpent) {
^~~~~~~~~~
memberType.cpp:63:18: error: out-of-line definition of 'setAmountSpent' does not match any declaration in 'MemberType'
void MemberType::setAmountSpent(int amountSpent){
^~~~~~~~~~~~~~