
Untitled
By: a guest on
May 11th, 2012 | syntax:
None | size: 0.58 KB | hits: 12 | expires: Never
'Variable' was not declared in this scope [closed]
bool QP(char A[],int n) //delete duplicate
{
for(int i=0;i<n-1;i++)
{
if(A[i+1]==A[i])
return false;
}
return true;
}
void Writeword(char* word)
{
if(QP(currentword,strlen(currentword)))
{
fprintf(fp, "%sn", currentword);
charswritten += strlen(word) + 2;
Processbar();
}
}
void Writeword(char* word)
{
char currentword;
if(QP(currentword,strlen(currentword)))
{
fprintf(fp, "%sn", currentword);
charswritten += strlen(word) + 2;
Processbar();
}
}