|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
You don't need a fax machine to get faxes. Get a fax-to-email fax number from CallWave. Try it free.
|
|
#1
|
|||
|
|||
|
Hi
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. |
|
#2
|
|||
|
|||
|
create a directory:
mkdir(dirname); 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???) |
|
#3
|
|||
|
|||
|
Hi,
Thanks for the help. Threads would be an easier option but I need to use semaphores, to see how they work. Thanks again |
![]() |
| Viewing: Dev Shed Forums > Programming Languages > C Programming > Creating directories in Unix using C language |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
|