Advertisement Jump to content


This topic is now archived and is closed to further replies.


File input...

This topic is 6344 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Hi, I''m using the ifstream class to read data out of a file (The 3DS files I still can''t get working properly). I can read data in and convert it to ints and longs, etc., but I can''t seem to read floats out of the file. Can someone please tell me how to read floats. Note, previously I was using the fread command, but I''ve decided to change to an ifstream class. Thanks $£¥ We scratch our eternal itch A twentieth century bitch We are grateful for Our Iron Lung

Share this post

Link to post
Share on other sites

  • Advertisement

Important Information

By using, you agree to our community Guidelines, Terms of Use, and Privacy Policy. is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!