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!

Recommended Answers

Yeah i am wondering the same thing, what is pipe and fork?

Jump to Post

All 3 Replies

Yeah i am wondering the same thing, what is pipe and fork?

if any would recommend some good tutorials would be great

Did you try searching the web about this?

today my teacher told us to use pipe and fork to write a program without teaching us anyway

This might sound rude but if this happened to me I'd petitioned to have a new teacher

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.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.