求教各位,如题
代码如下:
/*把位图文件读入内存*/
CFile File;//从CFile类中生成一个实例File
if (!File.Open("e:\8bitcol.bmp", CFile::modeRead)) return;//打开文件只读,打开成功返回非0值,否则返回0
就是这句中File.Open的.报错,报错信息为:
no instance of overloaded function "CFile::Open" matches the argument list
argument types are:(const char[15], CFile::OpenFlags)
object type is: CFile
代码之前在VC6.0上可以成功运行的