Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronic 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.

Register Log in

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.
 

algilsan

Advanced Member level 4
Joined
Jan 20, 2002
Messages
116
Helped
7
Reputation
14
Reaction score
6
Trophy points
1,298
Location
chile
Activity points
1,078
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.
Toggle Sidebar

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Top