Welcome to the most active Linux Forum on the web.
Go Back > Forums > Non-*NIX Forums > Programming
User Name
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.


  Search this Thread
Old 09-28-2003, 05:23 PM   #1
Registered: Oct 2002
Location: Ohio, USA
Distribution: OS X 10.4.8, Ubuntu 6.10
Posts: 146

Rep: Reputation: 15
Interleaving using pipes


Anyone have any experience in interleaving processes with pipes in c++? I'm trying to write a program that will split using fork() and then the child will output and then the parent will output. I am told that I have to use pipes to do this so that the processor won't just pick random outputs. Any ideas?? Sample code would help a ton. Thanks.

Old 09-28-2003, 05:59 PM   #2
Senior Member
Registered: Apr 2003
Location: Lancaster, England
Distribution: Debian Etch, OS X 10.4
Posts: 1,263

Rep: Reputation: 50
advanced linux programming, chapter 3-processes and chapter 5-ipc, its in my bookmarks or you can google it


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
pipes in python? SciYro Programming 9 08-02-2006 10:35 AM
about pipes kpachopoulos Programming 1 10-15-2005 01:37 PM
Question regarding pipes alltime Programming 3 04-15-2005 08:54 PM
devices and pipes siemens Linux - General 1 03-23-2005 04:30 AM
pipes on Suse AdamTheFirst Linux - Software 1 11-04-2004 03:07 PM

All times are GMT -5. The time now is 03:41 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration