Click here to Skip to main content
11,813,557 members (46,599 online)
Rate this: bad
Please Sign up or sign in to vote.
See more: C Linux
i have a project which i dnt have any information on it but i have to write this ... so many thanks if u help here to describe me what to do exactly ... thanks

4 program which name is P1,P2,P3,P4 write ( each program create a process in OS) and for communicate between them use 3 pipe in Named Pipe type which names are Pipe1 , Pipe2 , Pipe3 ... process1 must read a line from a file by name "" in /home directory then through pipe1 give it to second process ... and second process must convert '*' to '.' and '.' to '*' then send result to third process by pipe3 ... and third process should convert small letters to big letters and inverse then through Pipe3 must sent the result to 4th process .... and at last 4th process save the result into an output file which name is "Output.out" ....
Posted 1-Dec-12 6:51am
lida zar at 1-Dec-12 13:12pm
please someone help me to write this program :(
Nelek at 1-Dec-12 13:52pm
You should carefully read this:
what have you tried?[^]

We have already helped you in other questions, but this is not how it works. At least show us, that you are trying.
You just post the requirements of the excercise and then start adding comments every 10 minutes. If you nerve the people who should help you, then you are not going to get any help.
People is here without being payed, in their free time after a hard day at work. So please don't flip out if you don't get any answer in the following 10 minutes. Users are all around the world, and the one wanting to help you maybe is sleeping at this moment.
lida zar at 1-Dec-12 14:04pm
ok thanks for ur advice ... now i need to know how to read a line from .in file ...? and me trying for this website ... i don't know it can help me or not

1 solution

Rate this: bad
Please Sign up or sign in to vote.

Solution 1

lida zar at 1-Dec-12 13:04pm
thanks but its about only named pipe... first i need to create a process ... right? how its possible?
lida zar at 1-Dec-12 13:23pm
how to program this then ?
ProgramFOX at 1-Dec-12 13:25pm
I don't do all work.
I post a link to the pipes, because in the title I read the word "pipes", so I think that's the most important.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
0 Abhinav S 275
1 Palash Mondal_ 190
2 KrunalRohit 150
4 Manas_Kumar 115
0 OriginalGriff 3,877
1 KrunalRohit 2,526
2 Maciej Los 2,245
3 CPallini 2,240
4 ppolymorphe 1,750

Advertise | Privacy | Mobile
Web02 | 2.8.151002.1 | Last Updated 1 Dec 2012
Copyright © CodeProject, 1999-2015
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100