Program using Fork and Pipe

This is a discussion on Program using Fork and Pipe within the C Programming forums, part of the General Programming Boards category; Hi, Can anyone help me with my assignment? "Write a program in C which creates a child (with the use ...

  1. #1
    Registered User
    Join Date
    Oct 2010
    Posts
    1

    Post Program using Fork and Pipe

    Hi,

    Can anyone help me with my assignment?

    "Write a program in C which creates a child (with the use of fork) and between the child and the parent there is bidirectional communication through the use of pipes.

    The child process will read letters from the user (keyboard) and it will send them to the father.

    If the father process finds a capital letter - it will turn it to non-capital letter and if it finds a non-capital letter it will turn it to capital. After this "conversion" is done - the father will send the letters back to the child which will print the message on the screen.

    Both processes terminate on key "Q" or "q" pressed."


    Regards,
    Abin

  2. #2
    Registered User
    Join Date
    Dec 2006
    Location
    Canada
    Posts
    3,183
    No. Write it yourself.

  3. #3
    and the hat of wrongness Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    32,668
    C Board - Announcements in Forum : C Programming

    > Can anyone help me with my assignment?
    How To Ask Questions The Smart Way

    We can help if you make an effort, but we're not a homework on demand service.
    If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
    If at first you don't succeed, try writing your phone number on the exam paper.
    I support http://www.ukip.org/ as the first necessary step to a free Europe.

  4. #4
    Registered User
    Join Date
    Jan 2008
    Posts
    42
    Give it a try on your own first before asking for help.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. fork + pipe + dup2
    By caio1985 in forum C Programming
    Replies: 6
    Last Post: 09-07-2010, 02:18 PM
  2. Replies: 4
    Last Post: 10-14-2009, 04:44 PM
  3. fork and pipe
    By tbarsness in forum C Programming
    Replies: 3
    Last Post: 10-22-2007, 12:40 PM
  4. redirection program help needed??
    By Unregistered in forum Linux Programming
    Replies: 0
    Last Post: 04-17-2002, 05:50 AM

Tags for this Thread


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21