GIDForums  

Go Back   GIDForums > Computer Programming Forums > C Programming Language
User Name
Password
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

 
 
Thread Tools Search this Thread Rate Thread
  #1  
Old 27-Nov-2007, 01:17
madhu542 madhu542 is offline
New Member
 
Join Date: Nov 2007
Posts: 1
madhu542 is on a distinguished road
Question

Need Intermediate output of one program into another...


Hi,

My task is to design one program in c-language, and my collegue's is another program to design and do some other functionality. I need to execute my collegue's program with out directly copying the code.

So, I am using system() command to execute his program which is working fine but, I need to use some of the intermediate values of my collegue's program but system command is returning only success or failure.

please tell me is there any commands similar to the system and which I can use the intermediate values of one program into another.

I stuck in the middle of my project could any please help me with your expertise...

Thanks & Regards,
  #2  
Old 27-Nov-2007, 03:02
WaltP's Avatar
WaltP WaltP is offline
Outstanding Member
 
Join Date: Feb 2004
Location: Midwest US
Posts: 3,234
WaltP is a name known to allWaltP is a name known to allWaltP is a name known to allWaltP is a name known to allWaltP is a name known to allWaltP is a name known to all

Re: Need Intermediate output of one program into another...


Easy way is to write the intermediate values to a file and your program can read that file.
__________________

Cow: You're a lawyer too?
Mooseblood (mosquito): Ma'am, I was already a bloodsucking parasite. All I needed was a briefcase!
 
 

Recent GIDBlogWelcome to Baghdad by crystalattice

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Two-Tier data dissemination code installation problem nidhibansal1984 Computer Software Forum - Linux 6 16-Sep-2007 10:13
Bit stuffing agnostos C Programming Language 17 12-Sep-2006 20:10
creating a file in [c] i hate c C Programming Language 15 21-Nov-2005 12:52
[c++]adding cpuid and graph output to my benchmark program chorijan C++ Forum 1 07-Sep-2005 11:44
using vector or array oshiotse C++ Forum 4 16-Apr-2004 10:59

Network Sites: GIDNetwork · GIDWebHosts · GIDSearch · Learning Journal by J de Silva, The

All times are GMT -6. The time now is 00:06.


vBulletin, Copyright © 2000 - 2008, Jelsoft Enterprises Ltd.