what the problem with this code?
it says is error C2511: 'void publication::printData(void) const' : overloaded member function not found in 'publication'for each print in both class .
Hi,
maybe your prototype of printData() function in "q2.h" is not same as this one,
check them, and if you still have this problem, please post "q2.h" codes too.