cory.sharplin Posted August 16, 2010 Posted August 16, 2010 Hi Support, When I try to load numbers no matter if it's File::readInt() or File::readFloat() I get some huge numbers (e.g. 1645353). When I load chars or line (File::readChar(), File::readLine()) all is ok. Ok, I've found samples and I make it same way (but in samples they are not loading integers, just text). Attached code and log. Please can you assist me and provide an example, thanks. Regards, Cory
Guest extaliones Posted August 16, 2010 Posted August 16, 2010 File::readInt() and File::readFloat() functions return data in binary format.
Guest extaliones Posted August 16, 2010 Posted August 16, 2010 For reading lines from file which contains not binary data, please, use File::readLine() or File::readChar() functions.
Recommended Posts