主题:LoadImage()函数
在把D盘里的图片加载HBITMAP类型的hbmp中去的时候发生了错误:
hbmp = (HBITMAP)LoadImage(NULL,"D:\pic\xy1.bmp",IMAGE_BITMAP,600,450,
LR_LOADFROMFILE);
错误是这个:
D:\VC++编程\game03\ccc.cpp(68) : warning C4129: 'p' : unrecognized character escape sequence
D:\VC++编程\game03\ccc.cpp(68) : error C2153: hex constants must have at least one hex digit
哪个高手帮我看看
hbmp = (HBITMAP)LoadImage(NULL,"D:\pic\xy1.bmp",IMAGE_BITMAP,600,450,
LR_LOADFROMFILE);
错误是这个:
D:\VC++编程\game03\ccc.cpp(68) : warning C4129: 'p' : unrecognized character escape sequence
D:\VC++编程\game03\ccc.cpp(68) : error C2153: hex constants must have at least one hex digit
哪个高手帮我看看