944,052 Members | Top Members by Rank

Ad:
  • C++ Discussion Thread
  • Unsolved
  • Views: 3632
  • C++ RSS
Nov 4th, 2004
0

Executing a C++ program in another

Expand Post »
hai friendz,

I am a Bioinformatics Masters degree student. I am doing my final semester project in the topic Molecular Docking on C++ in Linux platform. During the programming I felt a problem in calling/executing a progam in to my program. I have to call a program which accept a PDB file( which is from my program) as input and gives an output file containing an energy value. I used many syntaxes including,
system("./progam name");
But result is not getting & the window gets hanged for long time.
Can you please send your idea regarding any possible solution of this problem. Hope ur reply soon.

regards,

Raji Stephen
:cry:
Last edited by alc6379; Nov 4th, 2004 at 11:34 pm.
Similar Threads
Reputation Points: 10
Solved Threads: 0
Newbie Poster
rajistephen is offline Offline
2 posts
since Nov 2004
Nov 4th, 2004
0

Re: HELP: Executing a C++ program in another

Reputation Points: 17
Solved Threads: 9
Posting Whiz in Training
frrossk is offline Offline
220 posts
since Sep 2004
Nov 5th, 2004
0

Re: HELP: Executing a C++ program in another

Hi frrossk,

Thank you for this valuable information. The program which I have to execute inside my C++ program is in binary form. My ultimate problem is I have to execute this nearly hundred times for different input files from my program. This can't be done parellel because of some selection creteria. If I use system("process1"); where should I place the input file in order to identify it by that program?. Heard from somewhere that only system("process1"); line will execute at the end of the host program. Is that true?

Can it be possible to convert a program in the binary form to its original C++ format?
Hope ur kind help.

Thanking you.

Raji Stephen
Reputation Points: 10
Solved Threads: 0
Newbie Poster
rajistephen is offline Offline
2 posts
since Nov 2004

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in C++ Forum Timeline: Array declaration problem
Next Thread in C++ Forum Timeline: a beginner needs help





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC