Infinite cycle due to QTextStream – Debian
So, I get infinite cycle while trying to read lines from file (line by line). I was trying to use do{}while(); cycle like that: QTextStream stream(stdin); QString line; do { line = stream.readLine(); } while (!line.isNull()); but I get empty…