0
How to run an executable, and store the results in a file, with python or C++?
4 Antworten
+ 1
Dear Ipang, I mean the output of the executable file. In fact, I wanna write in a file because I'm gonna use a loop, in order to get a set of data!
+ 1
Ipang
Ok. Thx for ur reply.
0
Feynmed,
Elaborate some more details in your thread Description;
What results exactly are we talking about here?
Did you mean the executable should write its output into a file rather then the screen? and what is the reason for writing to a file?
0
FeynMed
For now I can only recommend you to the relevant chapters, in respect to each language. For basic file read/write operations these would be sufficient.
https://www.sololearn.com/learn/CPlusPlus/1920/
https://www.sololearn.com/learn/JUMP_LINK__&&__Python__&&__JUMP_LINK/2445/