954,535 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

Passing command line variable into already running c++ program

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

jobra
Newbie Poster
19 posts since Dec 2006
Reputation Points: 10
Solved Threads: 0
 

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.

WolfPack
Postaholic
Moderator
2,051 posts since Jun 2005
Reputation Points: 572
Solved Threads: 115
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You