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 gkittelson 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
Mar 29, 2005
1
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.

Part and Inventory Search

Sponsor

Back
Top