void CreadmifDoc::SwapWord(int length,void* wordP){
int i;
TCHAR temp;
for( i=0; i < length/2; i++ )
{
// temp = ((TCHAR *) wordP)[i];
// ((TCHAR *)wordP)[i] = ((TCHAR *) wordP)[length-i-1];
// ((TCHAR *) wordP)[length-i-1] = temp;
temp =wordP[i];
wordP[i] = wordP[length - i - 1];
wordP[length - i - 1] = temp;
}
}
对于以上函数,运行提示错误,把注释去掉即可