Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Message Producer

Status
Not open for further replies.

weesi808

Programmer
Joined
Mar 29, 2005
Messages
1
Location
GB
Hey guys, working on a project just now, and just need some basic help getting started. I want to create a message producer that will be read in and displayed in a message presenter. How do I code the producer? Do I just use a simple printf function?

Any help would be greatly appreciated.

Thanks
 
Well in Linux/Unix, use the command line 'pipe' to connect two processes via stdout/stdin.
Code:
producer | consumer

The producer writes to stdout (that's printf for example)
The consumer reads from stdin (I'm sure you can find something).



--
 
Status
Not open for further replies.

Similar threads

  • Locked
  • Question Question
Replies
1
Views
111
  • Locked
  • Question Question
Replies
1
Views
135
Replies
5
Views
221
Replies
4
Views
227

Part and Inventory Search

Sponsor

Back
Top