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?
1 Year Ago
Related Article:Formatting C++ files
is a C++ code snippet by Lucaci Andrew that has 2 replies, was last updated 10 months ago and has been tagged with the keywords: formatting, c++, files.