Hi
Want to read the txt file with the help of QFile and when find the desired string(value) then return that.
There is a txt file with following format::
12asd = 12asd
34fgh = 34fgh
98nbv = 98nbv
Printable View
Hi
Want to read the txt file with the help of QFile and when find the desired string(value) then return that.
There is a txt file with following format::
12asd = 12asd
34fgh = 34fgh
98nbv = 98nbv
Ok, and what is the question?
How to read the txt file with the help of Qfile.......
Hmm... most probably using QFile's "read" method.
Or, even more conventient, using QTextStream on the file.
Cheers,
_