| | |
Executing a C++ program in another
Please support our C++ advertiser: Intel Parallel Studio Home
![]() |
•
•
Join Date: Nov 2004
Posts: 2
Reputation:
Solved Threads: 0
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:
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.
•
•
Join Date: Nov 2004
Posts: 2
Reputation:
Solved Threads: 0
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
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
![]() |
Similar Threads
- Error in Standard Template Library program (C++)
- how to reduce CPU uage while executing C++ program? (C++)
- function changing order while executing program!!! (C++)
- function changing order while executing program (C)
Other Threads in the C++ Forum
- Previous Thread: Array declaration problem
- Next Thread: a beginner needs help
| Thread Tools | Search this Thread |
add api array arrays based beginner binary bmp c++ c/c++ calculator char class classes code compile compiler console conversion count data delete deploy desktop directshow dll download dynamic encryption error file forms fstream function functions game givemetehcodez google graph gui homeworkhelp iamthwee ifstream input int integer java lib library linkedlist linker linux list loop looping loops map math matrix memory microsoft newbie news number output pointer problem program programming project python random read recursion recursive return simple string strings struct studio temperature template templates test text text-file tree unix url variable vector video visual visualstudio win32 windows winsock wordfrequency wxwidgets





