AnithaRagupathy
8th February 2008, 05:49
hi,
i am trying to replace the below code in vc++
LPCSTR p1,p;
if (*p1 == *p++)
return p1+1;
what i have done till now is
QChar *str1data,strp;
if (str1data == strp++)
{
return str1data+1;
}
compile error that i am getting :QString::QString(QChar)' : cannot convert parameter 1 from 'QChar *' to 'QChar
What should be done regarding this? I am poor in programming plz bear with me...
i am trying to replace the below code in vc++
LPCSTR p1,p;
if (*p1 == *p++)
return p1+1;
what i have done till now is
QChar *str1data,strp;
if (str1data == strp++)
{
return str1data+1;
}
compile error that i am getting :QString::QString(QChar)' : cannot convert parameter 1 from 'QChar *' to 'QChar
What should be done regarding this? I am poor in programming plz bear with me...