Advertisement

Using fscanf()

Started by April 09, 2000 11:09 PM
1 comment, last by Esap1 24 years, 8 months ago
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)
is it %f, I tried but same thing?
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

This topic is closed to new replies.

Advertisement