February 11th, 2002, 03:11 AM
Creating directories in Unix using C language
I need help writing a c program that would create N directories and start N processes that would prompt the user for a file name, which it would then create in its respective directory. We can use semaphores in the program. Any help is appreciated.Thanks.
February 13th, 2002, 04:34 PM
create a directory:
creating processes: createProcess (win****)
creating threads is what you want!!!
on win**** there is a function to display the save-file dialog. i cant remember right now, sorry.
but it has a parameter to auto-create directories.
why do you want to use semaphores? i donīt think you need IPC... use threads instead (or a simple for-loop???)
February 13th, 2002, 08:24 PM
Thanks for the help. Threads would be an easier option but I need to use semaphores, to see how they work.