i try to read integer values out of a simple text file. there is only one value in each line of the file. so i tried the following:
TBuf<64> readbuffer = _L("");
User::LeaveIfError(file.Open(filesession, txtpath, EFileShareReadersOnly|EFileRead));
error = textfilehandle.Read(readbuffer);
intValue = tempvalue;
the documentation says that TFileText::Read() always reads one line out of the file. but it seems that it reads as much as possible.
how can i read single lines out of a text file? and how can i convert that into an integer?
thx in advance for any hints!