Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Program output redirection

Status
Not open for further replies.

Francis3819

Newbie level 1
Joined
Jan 31, 2006
Messages
0
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,280
Activity points
1,296
Hi,
I need to redirect the output of a program that elaborates data and shows them on output pushing every output (int) element on standard output.
How can I take this output in another program (C language) to save it on a file?
I think it is simple but I have some troubles with doing this on Windows.

Thanks for the answers.
 

i don't know how to do it without using a file. But if you want, there's an alternative, you can use TCP/IP comunication betwen two or more programs. You only have to open a TCP ip PORT in listeting mode or an UDP port and start trasmitting data you want to other programs.
This is an easy form to communicate programs under windows.

Regards
 

    Francis3819

    Points: 2
    Helpful Answer Positive Rating
Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top