Hi,
I'm doing some project, but I'm not very good in C, please help me, theres 2 things left for me:
1. make list of files from folder, and place that list to text file.
2. copy file from folder to other folder.
thanx
Hi,
I'm doing some project, but I'm not very good in C, please help me, theres 2 things left for me:
1. make list of files from folder, and place that list to text file.
2. copy file from folder to other folder.
thanx
Have you tried anything? We can fix that instead!
I've tried to make a list but there was an error on "#include <dirent.h>"
What was the error did you get. Be more specfic on error messages which help us a lot on reply you. Was that the linking error, what compiler are u using and on what platform u are working on.
ssharish2005
the error was "Cannot open include file: 'dirent.h'"
i'm working with MS visual studio 6.0
http://faq.cprogramming.com/cgi-bin/...&id=1044780608
Choose one which your platform supports.
7. It is easier to write an incorrect program than understand a correct one.
40. There are two ways to write error-free programs; only the third one works.*
Well looking at the error message, it seems that the direct.h header file is not located in the include director. Find out the actual location of the that header file and specify the path as approriate. The FAQ would give give more infomation about programming on windows platform.Code:the error was "Cannot open include file: 'dirent.h'"
ssharish2005
ok, thanx. sorry for my stupid questions
If your machine is not POSIX compliant, or at least mostly compliant, you are not likely to have dirent.h. You would find it under Linux or FreeBSD.