中级会员
 
- 积分
- 294
- 金钱
- 294
- 注册时间
- 2014-1-1
- 在线时间
- 230 小时
|
1金钱
使用这个函数,如下错误
compiling dma.c...
..\HARDWARE\src\dma.c(115): error: #109: expression preceding parentheses of apparent call must have (pointer-to-) function type
memcpy(UsbBuffere[xiaobiao]+jizhu*2048,DmaBuffere[0]+jishu,2048)
..\HARDWARE\src\dma.c: 0 warnings, 1 error
compiling led.c...
compiling sys.c...
compiling timer.c...
错误说是 显式调用前的括号必须具有(指针到-)函数类型
这句说的是什么意思????????????????
我用VS测试就没有问题
#include "stdafx.h"
char shu[2][256],shu2[2][2048],shu3;
int SendDataNum,j,i;
void temp(void);
int _tmain(int argc, _TCHAR* argv[])
{
memcpy(shu2[0]+11,shu[1],100)
;
}
|
|