hey, today my teacher told us to use pipe and fork to write a program without teaching us anyway... if any would recommend some good tutorials would be great~!! and what does fork a child mean really mean(example would be great), and how write to a pipe? everything is done in linux with g++. thanks!

Edited by wildplace: n/a

6 Years
Discussion Span
Last Post by vimalseo

This is actually used in process handling programs related to operating systems. A fork is actually a system call to create a new process which is an identical process to the parent process but having different process ID where as pipe is a system call that facilitates inter-process communication.

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.