• Advertisement

Archived

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

Using fscanf()

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