c#中,出现如下错误 The * or -> operator must be applied to a pointer 。 对应的程序为:
for(j=xInterval+5;j<biWidth+xInterval;j++)//此处j加上10,以去掉黑线{*(pDataBufUsedToSave+lineBy...
for (j = xInterval+5; j < biWidth + xInterval; j++)//此处j加上10,以去掉黑线
{
*(pDataBufUsedToSave + lineByteToSave * i + j * 3 + 0) =
*(pDataBuf + lineByte * (i - (saveHeight - biHeight - yInterval)) +
3 * (j - xInterval) + 0);
*(pDataBufUsedToSave + lineByteToSave * i + j * 3 + 1) =
*(pDataBuf + lineByte * (i - (saveHeight - biHeight - yInterval)) +
3 * (j - xInterval) + 1);
*(pDataBufUsedToSave + lineByteToSave * i + j * 3 + 2) =
*(pDataBuf + lineByte * (i - (saveHeight - biHeight - yInterval)) +
3 * (j - xInterval) + 2);
} 展开
{
*(pDataBufUsedToSave + lineByteToSave * i + j * 3 + 0) =
*(pDataBuf + lineByte * (i - (saveHeight - biHeight - yInterval)) +
3 * (j - xInterval) + 0);
*(pDataBufUsedToSave + lineByteToSave * i + j * 3 + 1) =
*(pDataBuf + lineByte * (i - (saveHeight - biHeight - yInterval)) +
3 * (j - xInterval) + 1);
*(pDataBufUsedToSave + lineByteToSave * i + j * 3 + 2) =
*(pDataBuf + lineByte * (i - (saveHeight - biHeight - yInterval)) +
3 * (j - xInterval) + 2);
} 展开
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询