c语言图形库问题程序如下
#include"stdio.h"
#include"graphics.h"
int main()
{
IMAGE img;
loadimage(&img,L"D:\\Desktop\\2.jpg",800,800);
putimage(0,0,&img);
while(1);
return 0;
}
错误如下
Compiling...
图形库测试.cpp
D:\c语言\图形库测试.cpp(8) : error C2665: 'loadimage' : none of the 2 overloads can convert parameter 2 from type 'unsigned short [17]'
执行 cl.exe 时出错.
图形库测试.obj - 1 error(s), 0 warning(s)
有人知道为什么吗
还真的是,为什么不需要发送命令