1.11M Members

QFile

 
0
 

What does this statement mean
"These functions (read(), readline(), readAll()) read a line of ASCII characters from the device, up to a maximum of maxSize - 1 bytes, stores the characters in data, and returns the number of bytes read."

I have used readAll() and readLine() it returns all the data stored in the file, but the other one doesn't work. The Qt IDE gives errors when i use read(). Why is this so?

What is exactly the difference between them?

 
0
 

Depends, what's the error?

You
This article has been dead for over six months: Start a new discussion instead
Post:
Start New Discussion
View similar articles that have also been tagged: