Jump to content
  • Advertisement

Archived

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

Esap1

Using fscanf()

This topic is 6676 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

Yes I am using fscanf in C++(OH the SHAME), dont talk me out of it, please, its the little I can hold on, from the old days, now, I wanted to know how to take in from a file or whatever a Float? fscanf(file,"%d",$number); is fine for a integer, but really messes up with a float, thanks for the help, I dont got 2 many books on it, thats why Im asking such a stupid question PS: If your wondering why I need this, Im almost finished writing a loading function that loads that RTG(Real Time Game) format from that MAXSCRIPT on Gamasutra(which means?).com, that someone here told me about, thanks a lot you guys!(if your interested in the code, Ill send it to you)

Share this post


Link to post
Share on other sites
Advertisement
Sorry for Bothering you, I fixed it, anyway, in about a day I should have the loading code done, so if any of you are interested just POST

Share this post


Link to post
Share on other sites

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!