How to write multiple .tsv files

  • #1
Hi, guys,

I have to read from a big txt file into multiple small .tsv files.
But I was blocked at the file name. Since according to the
definition of ofstream, the filename is constant char *, then
is no way to modify the filename, which results in unable to
write multiple files.

Does any body has any idea on this ?

Thanks a lot in advance !

Best !

Junhui
 

Answers and Replies

  • #2
my code in C++, sorry for the missing.
If there is any solution based on ROOT,
it's good also.
 

Related Threads on How to write multiple .tsv files

Replies
4
Views
3K
Replies
9
Views
16K
Replies
5
Views
378
  • Last Post
Replies
2
Views
6K
  • Last Post
Replies
4
Views
3K
Replies
3
Views
21K
Top