Your browser does not seem to support JavaScript. As a result, your viewing experience will be diminished, and you have been placed in read-only mode.
Please download a browser that supports JavaScript, or enable it if it's disabled (i.e. NoScript).
Witam! Czy możliwe jest odczytanie konkretniej np piątej z kolei, linijki z pliku tekstowego? Nie udało mi się tego dokonać za pomocą ReadLine i ReadAll().
@ QFile file("path");
if (file.open(QFile::Text | QFile::ReadOnly)) { for (int i = 0; !file.atEnd(); ++i) { QString line(file.readLine()); if (i == 4) return line; } } @
Powinno hulać ;)