Passing command line variable into already running c++ program

Please support our C++ advertiser: Intel Parallel Studio Home
Reply

Join Date: Dec 2006
Posts: 19
Reputation: jobra is an unknown quantity at this point 
Solved Threads: 0
jobra jobra is offline Offline
Newbie Poster

Passing command line variable into already running c++ program

 
0
  #1
Feb 26th, 2007
Hi all,

I want to run my c++ program in the background and at certain point, I want to pass a variable into the program, so that I get the result stored into the output file. I would like to know if its possible to do this. Thanks a lot in advance.

Cheers
Reply With Quote Quick reply to this message  
Join Date: Jun 2005
Posts: 1,496
Reputation: WolfPack has a spectacular aura about WolfPack has a spectacular aura about WolfPack has a spectacular aura about 
Solved Threads: 104
Moderator
WolfPack's Avatar
WolfPack WolfPack is offline Offline
Mentally Challenged Mod.

Re: Passing command line variable into already running c++ program

 
0
  #2
Feb 26th, 2007
Try searching for interprocess communication in C/C++ and see if that is what you want. The actual method of implementation will depend on your operating system.
バルサミコ酢やっぱいらへんで
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:


Thread Tools Search this Thread



Tag cloud for C++
About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC