Click here to Skip to main content
15,892,199 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I have to implement data share in c by using stdout in between two processes.

I don't know how to start the coding.

Do you have any idea about this?

Please help me....
Posted

You don't do it with stdout. There are a number of mechanisms you *can* use:

0) A shared DLL

1) Memory Mapped files

2) Inter-process messaging

3) TCP/IP connection

Take your pick, and google is your friend.
 
Share this answer
 
If you want one program that write and another that read then you simply need to write to stdout from the first program and read from stdin in the second.

This could works only for simple unidirection communication where you want to send the result of one process to a second one.
 
Share this answer
 
v2

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900