C Board  

Go Back   C Board > Platform Specific Boards > Linux Programming

Reply
 
LinkBack Thread Tools Display Modes
Old 02-22-2003, 02:34 PM   #1
DDC
Guest
 
Posts: n/a
Unhappy output as input

Is there a way to read output from a currently running program as input to another program in C?
If so, please offer some information on this.
  Reply With Quote
Old 02-22-2003, 03:12 PM   #2
DDC
Guest
 
Posts: n/a
Unhappy

I am using UNIX IRIX 6.5.
  Reply With Quote
Old 02-22-2003, 03:18 PM   #3
DDC
Guest
 
Posts: n/a
Smile

I will try this, Thank you.
I will let you know.
  Reply With Quote
Old 02-23-2003, 07:59 AM   #4
Im back!
 
shaik786's Avatar
 
Join Date: Jun 2002
Location: Bangalore, India
Posts: 345
Is the two programs are independant, you can use the pipe |
ex:
Code:
prog1 | prog2
In which case, the output of the program 'prog1' will be sent (piped) to the program 'prog2'
shaik786 is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Weird read input or bad printf output? ChaoticMachiner C Programming 3 05-04-2008 03:40 PM
Input and Output files matrixhelp C Programming 1 03-10-2008 02:07 AM
Need help splitting input file into multiple output files gkoenig C Programming 5 02-25-2008 06:35 AM
About aes gumit C Programming 13 10-24-2006 03:42 PM
Input / Output help (arrays) fp123 C++ Programming 1 01-15-2006 12:30 PM


All times are GMT -6. The time now is 01:55 PM.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.3.2

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22