groups

name language licence
Struts in tables Latex Other
Tabs to spaces Other Other
Untitled Snippet
Write data to a file Perl Other
Make a file containing a list of files in a directory Perl Other
Command line arguments C++ Other
Read data from a file C++ Other
History Shell Other

< 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 >



language: C++
licence: Other

Read data from a file

options: view full snippetsend to code collector
   ifstream f_in(run_list);
   do {
      f_in >> file_name[n_files];
      file_name[n_files] = Form("%s/%s", path.Data(), file_name[n_files].Data());
      n_files++;
   } while( !f_in.eof() );
   f_in.close();

   --n_files;

	
(Continues...)