Thanks! Will try that one!
ouh.. a trouble, the program executes just the last opened file, and
as i understand, rewrites all the previous results...
hmmm (any idea?)
Another little trouble: i don't know, but maybe is easier (what was
trying to do now) just to open the directory where all my files
"n.dat" (n=1,2...), and make c++ to run them one by one?
User Profile
Collapse
-
All right, thanks... that is what I am trying to do, but it doesn't work...
Maybe something wrong in the code:
string name[6]
for (i=o; i<h;i++);
name = "i+.dat"; --- trying to open "1.dat", runnig it, then open "2.dat" and so..
but i'm not sure if the second line is all right,
any idea of how making it work?Leave a comment:
-
ifstream
Privet/hello/salut/halo/hola!
I have the following code:
_______________ _______________ _______________ _______________ ____
...Code:#include "OJFKinematics.h" #include "OJFJets.h" #include "OJFSearch.h" #include <iostream> #include <iomanip> #include <fstream> #include <cstdlib> using namespace std; using namespace OptimalJetFinder;
No activity results to display
Show More
Leave a comment: