Hi Guiseppe,
try
ifstream f;
TString str;
f.open("xyz.dat", ios::in);
if (f.good()) {
while(!f.eof()) {
str.ReadLine(f, kFALSE);
......
}
f.close();
}
This peace of code will read file xyz.dat to TString str, line by line.
Rudi
This archive was generated by hypermail 2b29 : Sat Jan 04 2003 - 23:51:18 MET