main.c(32) : error C2143: syntax error : missing ';' before 'type'
main.c(33) : error C2275: 'DIR' : illegal use of this type as an expression
C:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\include\dirent.h(74) : see declaration of 'DIR'
main.c(33) : error C2065: 'rep' : undeclared identifier
main.c(34) : warning C4047: '=' : 'int' differs in levels of indirection from 'DIR *'
main.c(35) : error C2065: 'lecture' : undeclared identifier
main.c(35) : warning C4047: 'function' : 'DIR *' differs in levels of indirection from 'int'
main.c(35) : warning C4047: '=' : 'int' differs in levels of indirection from 'dirent *'
main.c(37) : error C2223: left of '->d_name' must point to struct/union
main.c(39) : warning C4047: 'function' : 'DIR *' differs in levels of indirection from 'int'
Partager