1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32
|
void Traitement_Donnees(int a, double b, double c) // Analysing Datas
{
d= a;
e = b;
f = c;
//////////////////
ifstream DateienFeldEinlesen ("Liste2.txt",ios::in); // Define "DateienFeldEinlesen" as a calling of reading the file "Liste2.txt" = List of the names of the files
//////////////////////////////////////////////////////////////
while(DateienFeldEinlesen.getline(buffer, sizeof(buffer))) // while we are reading line by line the file "Liste2.txt", we do....
{
ifstream DateiEinlesen (buffer,ios::in); // Define "DateienEinlesen" as a calling of reading the file which name is stored in the line of the file "Liste2.txt"
////////////////////////
if (DateiEinlesen.fail()) ; // Condition to say what to do if we can't open a file
else // if we CAN open it, we do....
{
/////////////////////////////////////////////////
//printf("\n\t%s",buffer); // Print on the screen the name of the file
////////////////////////////////////////////////
etc etc etc...
}}} |