i want to read read from afile untill specific delimiter ( for example like this *//* ) and seek to this delimiter.
how can i do that ?!!
i want to read read from afile untill specific delimiter ( for example like this *//* ) and seek to this delimiter.
how can i do that ?!!
You can use QFile, QTextStream::readLine and QString to find an occurrence of a pattern. Use lexical analyser for more complicated tasks.
i've experiencing some adversities using Qtextstream as i'm looking to read a file line by line, witch i can do as expected, but i can't just go to a specific line or reverse the reading order.
You still can use seek even with QTextStream
http://doc.qt.nokia.com/latest/qtextstream.html#seek
QTextStream::seek (Seeks to the position pos in the device)
Use Qt-Quick to make your application UI more attractive.
http://store.ovi.com/content/271896 | http://store.ovi.com/content/276199 | http://store.ovi.com/content/276202 | http://store.ovi.com/content/280827