[LC++]Problem reading dirs
Roger Durañona Vargas
mad at pesca.esisc.colombus.cu
Wed Sep 5 17:55:09 UTC 2001
I wrote a small example using opendir/readdir and it worked fine when I
compiled it using cc. But when I try to do the same in my class, and compile
with gcc I get this:
main.h:191: invalid use of undefined type `struct __dirstream'
/usr/include/dirent.h:128: forward declaration of `struct __dirstream'
main.h:195: invalid use of undefined type `struct __dirstream'
/usr/include/dirent.h:128: forward declaration of `struct __dirstream'
Is there some detail for C++ I missing?
--
POSIBLE SPOILER!!!
* El mayordomo es el asesino *
Roger D. Vargas
ICQ: 117641572
Linux User: 180787
More information about the tuxCPProgramming
mailing list