Receiving data from stdin

  • Thread starter Thread starter Javier
  • Start date Start date
J

Javier

Hi

I've a program developed in C++ that will show some data and I need to
write another program to communicate with the first one and get the data
to precess it.

I think to write the second one in C# and make this program to receive
data from the first one, from standard input, using a pipe in a unix style.

But...I'm new to C#..

Could somebody tell me if it's possible ? Do you know if exists a better
way ? Where could I find some sample code ?

Thanks in advance

Javier
 
Javier said:
Hi

I've a program developed in C++ that will show some data and I need to
write another program to communicate with the first one and get the data
to precess it.

I think to write the second one in C# and make this program to receive
data from the first one, from standard input, using a pipe in a unix
style.

But...I'm new to C#..

Could somebody tell me if it's possible ? Do you know if exists a better
way ? Where could I find some sample code ?

The System.Console class has a property In, which is a text reader that
allows you to retrieve the stdin stream.
 
Back
Top