Hi,
I'm trying to use QFile to open a text file (floating numbers in a single column) and read the numbers. The example below won't even compile, something is wrong with it but I don't know what.
Qt Code:
float numb; while (!INfile.atEnd()) { INfile >> numb; cout << numb << "\n"; } INfile.close();To copy to clipboard, switch view to plain text mode
Thanks
Bookmarks