第一节课后作业
if((handle = _findfirst(strcat(thePath,"/*"), &fa) ) == -1L)66 2 C:\Users\luyanan\Desktop\c++\2\zuoye.c stray '\243' in program
66 2 C:\Users\luyanan\Desktop\c++\2\zuoye.c stray '\250' in program
66 2 C:\Users\luyanan\Desktop\c++\2\zuoye.c stray '\243' in program
66 2 C:\Users\luyanan\Desktop\c++\2\zuoye.c stray '\250' in program
66 8 C:\Users\luyanan\Desktop\c++\2\zuoye.c expected '(' before 'handle'
66 55 C:\Users\luyanan\Desktop\c++\2\zuoye.c expected statement before ')' token
66 57 C:\Users\luyanan\Desktop\c++\2\zuoye.c expected expression before '==' token
66 63 C:\Users\luyanan\Desktop\c++\2\zuoye.c expected statement before ')' token
这不会做了,求救!! 66 2 stray '\243' in program 这是告诉你:第 66 行 第 2 个字符为非英文字符,
66 8 expected '(' before 'handle'这是给你明确 handle 前的左括号 (
后面的 55 个字符、57 个字符、63串个字符
我下面这一语句是纯英文字符,你复制替换你原来的,再运行试试
if((handle = _findfirst(strcat(thePath,"/*"), &fa)) == -1L) 万分感谢,终于做出来了{:10_250:}
页:
[1]