I want write a program that forks a copy of itself. The PARENT should ask the user for an integer. The PARENT should send that integer through a pipe to the CHILD. The CHILD should do something with it and send it back through a pipe to the parent. The PARENT should print out the integer.
I know how to fork but I do not know how to communicate with pipes. Please help by providing me with a good site to read up on c++ pipes and what the code is to send and receive through pipes in c++.
Thank you