#include <string>
#include <iomanip>
#include <iostream>
#include <fstream>
#include <sstream>
#include <sys/stat.h>
#include <stdio.h>
#include <stdlib.h>
Go to the source code of this file.
|
class | CFile |
| takes data and fstat files and splits them into *.data.???? and *.fstat.???? files More...
|
|
int main |
( |
int argc |
, |
|
|
char * |
argv[] |
|
) |
| |
Definition at line 172 of file SplitFiles.cpp.
References CFile::copy().
175 std::cerr <<
"split_files problem_name [stepsize [initial_counter]]" << std::endl;
178 std::string name(argv[1]);
179 std::cout <<
"Name: " << name << std::endl;
181 unsigned int stepsize = 1;
182 if (argc>2) stepsize = atoi(argv[2]);
185 unsigned int counter = 0;
186 if (argc>3) counter = atoi(argv[3]);
189 files.copy(stepsize,counter);
190 std::cout <<
"finished writing split files: " << name << std::endl;
takes data and fstat files and splits them into *.data.???? and *.fstat.???? files ...