When I call getCount function in the below code, QT 4.7.3 complier giving the error. Build Error
pasing 'cont Person' as 'this' argument of 'int Person::getCount(const QString&) discards qualifiers
bool Person::IsEligible(const QString& name)
{
int count = 0;
count = getCount(name);
}
int Person::getCount(const QString& name)
{
int k =0
return k;
}