dear Friends
I have a QTextStream in which I am using for reading a file. I am writing Like this
while(!in.atEnd())
{
in >> var1 >> var2;
}
Now althugh its ending but it collecting the values 0 0 as the last value in the file, in the file there is no 0 ,0 values...I think its not recognizing the proper ending of the file.
Any suggestions would be highly appreciated. Thanks sujan
Bookmarks