i have a problem in my c++ lab assignment ,i been searching google and i tried with this syntax and it won't show unqualified-Id compile error
typedef int (list::*find)(int val);
{
return 0;
}
The declaration at header file
class list {
public:
int *find(int val);
}
what is the syntax of define a member function that take in int and return pointer to in at outside of the class?