Click here to Skip to main content
15,906,624 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:

i had big doubt in how to use the stdin function

1.i want to write data to stdin
2.i want read data from that stdin and disply..

can you help me with simple coding...

1 solution

Look at solution #2 for the answer:

how to use stdout for data share between two processes[^]

Even better, why don't you guys collaborate because you're working on the same freakin' thing.
Share this answer
Joan M 1-Jul-11 9:30am    
Are they working on the same thing? are they the same thing? or it is a really strange thing in global? :O
@BangIndia 1-Jul-11 9:33am    
sir its an another way that you are saying..
but i want to implement throw stdin only..

Peter Mulholland 1-Jul-11 10:14am    
stdin stands for standard input
stdout stands for standard output

writing data is output, you need to use stdout for this.
you should only be reading from stdin.

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