howdy >pdstatha<,
i didnt spend a whole bunch of time with this but this is what gcc2.96 had to say when i tryed to compile your code.



cd /home/Mike/
make -k dir
g++ dir.cpp -o dir
dir.cpp: In function `void printDetails (char *)':
dir.cpp:93: cannot convert `unsigned char *' to `char *' for argument
`1' to `strncpy (char *, const char *, unsigned int)'
dir.cpp:95: cannot convert `unsigned char *' to `char *' for argument
`1' to `snprintf (char *, unsigned int, const char *, ...)'
dir.cpp:99: cannot convert `unsigned char *' to `char *' for argument
`1' to `strncpy (char *, const char *, unsigned int)'
dir.cpp:101: cannot convert `unsigned char *' to `char *' for argument
`1' to `snprintf (char *, unsigned int, const char *, ...)'
dir.cpp:107: cannot convert `unsigned char *' to `char *' for argument
`1' to `strftime (char *, unsigned int, const char *, const tm *)'
dir.cpp:109: cannot convert `unsigned char *' to `char *' for argument
`1' to `strftime (char *, unsigned int, const char *, const tm *)'
dir.cpp: In function `int main (int, char **)':
dir.cpp:127: parse error before `)'
dir.cpp:140: confused by earlier errors, bailing out
make: *** [dir] Error 1

Compilation exited abnormally with code 2 at Wed Mar 6 22:31:03


sorry.

M.R.