User Profile

Collapse

Profile Sidebar

Collapse
serleon
serleon
Last Activity: Mar 9 '07, 11:13 PM
Joined: Mar 6 '07
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • serleon
    replied to ifstream
    in C
    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?
    See more | Go to post

    Leave a comment:


  • serleon
    replied to ifstream
    in C
    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?
    See more | Go to post

    Leave a comment:


  • serleon
    started a topic ifstream
    in C

    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;
    ...
    See more | Go to post
    Last edited by Ganon11; Mar 6 '07, 01:05 PM. Reason: code tags added
No activity results to display
Show More
Working...